Answer to Question #254746 in MatLAB for Shoaib

Question #254746

315 people have to be transported using buses that have 37 seats. By typing

one line (command) in the Command Window, calculate how many seats will

remain empty if enough buses will be ordered to transport all the people.

(Hint: use MATLAB built-in function ceil.)


1
Expert's answer
2021-10-24T05:54:48-0400
>> ceil(315/37)*37 - 315
ans =
    18
>>

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS