Question

The distance traveled by an object fired from an airplane towards the earth (ignoring air resistance)...

The distance traveled by an object fired from an airplane towards the earth (ignoring air resistance) is given by the equation:

y = v0t + (1/2)at2

where v0 is the object’s initial velocity, a is the acceleration due to earth’s gravity, and t is time. Use MATLAB to calculate and plot how far an object travels for times 0-6 at intervals of 0.1 seconds if v0 = 12m/s and a = 9.81m/second2

Label the x and y axes and give the plot a title.

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

Code :

figure

% Creating Equally Spaced Time Values of interval 0.1 seconds
t = linspace(0,6,60);

% Declearing Initial Velocity
v0 = 12;

% Declearing Accleration Values
a = 9.81;

% Relation between Distance and Time
y = (v0.*t)+(.5.*a.*t.*t);

%Plotting
plot(t,y);
hold on

Code Screen Shot :

Output :

Add a comment
Know the answer?
Add Answer to:
The distance traveled by an object fired from an airplane towards the earth (ignoring air resistance)...
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