Question

function (dist, vel, accel] = motion (time) accel = 0.5 time; vel = time *2/4; dist = time3/12; end If time = 10, which of th

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The answer is the option (5)

Reason: Since the function is capable of returning 3 variables so any number of variables less than or equal to 3 will be able to easily call the given function. But, if the number of variables in the statement that is calling the function is greater than 3 then the code will throw an error.
So, all the way of calling functions given in options 1, 2, 3, 4 are correct and will work properly hence the these options are incorrect.

Add a comment
Know the answer?
Add Answer to:
function (dist, vel, accel] = motion (time) accel = 0.5 time; vel = time *2/4; dist...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT