Question

A car, having an initial velocity of 10 m/s, travels along a straight track such that...

A car, having an initial velocity of 10 m/s, travels along a straight track such that it accelerates at 10 m/s2 for 10 seconds, and then decelerated at 2 m/s2 for 50 seconds. Using Matlab/Octave, plot the particle's position-time graph.

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

Please find the required MATLAB script as the following:

%==========================================

clear all;
clc;

u=10;
acc=10;
t=0:10;
pos_acc = u*t+(1/2)*acc*t.^2;
v = u+acc*10;
decel = 2;
t=0:50;
pos_decel = pos_acc(11) + (v*t-(1/2)*decel*t.^2);

figure
plot([0:10],pos_acc,'-+');
hold on
plot([10:60],pos_decel,'-o');
legend('Accelerated motion','Decelerated motion');
xlabel('Time (seconds)');
ylabel('Distance travelled (meters)');
title('Position-Time graph');
grid on

%==========================================

output plot:

Add a comment
Know the answer?
Add Answer to:
A car, having an initial velocity of 10 m/s, travels along a straight track such that...
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
  • 12-10. Car A starts from rest at t-0 and travels along a straight road with a...

    12-10. Car A starts from rest at t-0 and travels along a straight road with a constant acceleration of 3 m/s until it reaches a speed of 27 m/s. Afterwards it maintains this speed. Also, when-0, car B located 2000 m down the road is traveling towards A at a constant speed of 20 m/s. Determine the distance travelled by car A when they pass each other. 20 m/s 2000 m 12-11. A particle travels along a straight line with...

  • Problem 4 A car travels along a straight road at a speed of 20 m/s, it...

    Problem 4 A car travels along a straight road at a speed of 20 m/s, it decelerates uniformly to a stop over a period of 30 seconds; the car then it travels in the opposite of the original direction accelerating uniformly to a speed of 30 m/s in that direction over a period of 15 seconds a) Prepare a scaled time-velocity graph. b) Prepare a scaled time-acceleration graph. c) Prepare a scaled time-distance traveled graph. d) Determine average velocity of...

  • Page of 3 8) A car travels a distance straight down the road according to the...

    Page of 3 8) A car travels a distance straight down the road according to the equation x (r)=ara_b? . where a-2 m/s2 and b-0.1 m/s3 a) Calculate the average velocity of the car for the time interval t-0 s to t-10 s. b) Calculate the instantaneous velocity of the car at t-0 s, t-1 s, and t-5s. c) Other than at t-0, when is the car at rest? 9) The graph shows a car's position as a function of...

  • A train is moving along a straight track with an initial velocity of 8 m/s when...

    A train is moving along a straight track with an initial velocity of 8 m/s when it is subjected to a deceleration of a-1.6/v m/s2, where v is in m/s. 2. How far does the train travel before it stops? How much time does it take to stop? a. b.

  • F12-18. A particle travels along a straight-line path y 0.5x. If the x component of the...

    F12-18. A particle travels along a straight-line path y 0.5x. If the x component of the particle's velocity is vr= (2) m/s, where t is in seconds, determine the magnitude of the particle's velocity and acceleration when = 4 s. y =0.5x Prob. F12-18 F12-19. A particle is traveling along the parabolic path y 0.25x. If x 8 m. , 8 m/s, and a, 4 m/s2 when 2 s. determine the magnitude of the particle's velocity and acceleration at this...

  • A car traveling with an initial velocity of 21 m/s accelerates at a constant rate of...

    A car traveling with an initial velocity of 21 m/s accelerates at a constant rate of 2.3 m/s2 for a time of 2 seconds.

  • Consider the plot below describing motion along a straight line with an initial position of 10...

    Consider the plot below describing motion along a straight line with an initial position of 10 m. a) what is acceleration at 1 second? b) What is Velocity at 2 seconds? c) What is position at 2 seconds? d)What is velocity at 8 seconds? e)What is positron at 8 seconds? please answer all parts :) 014 (part 1 of 8) 10.0 points Consider the plot below describing motion along a straight line with an initial position of 10 m. 9...

  • 3. The particle travels along a straight line with a velocity (22 - 5t) m/s, where...

    3. The particle travels along a straight line with a velocity (22 - 5t) m/s, where t is in seconds. If s 10 m whent0, determine the following: a. The position of the particle when t-4s b. The total distance traveled during the time interval from t-0 to 4 s c. The acceleration when t 2s

  • . A particle travels along a straight line such that in 2 sit moves from an...

    . A particle travels along a straight line such that in 2 sit moves from an initial position sA = +0.5 m to a position $B=-1.5 m. Then in another 4 s it moves from se to sc = +2.5 m. Determine the particle's average velocity and the average speed during the 6-s time interval.

  • . A particle travels along a straight line such that in 2 sit moves from an...

    . A particle travels along a straight line such that in 2 sit moves from an initial position sA = +0.5 m to a position $B=-1.5 m. Then in another 4 s it moves from se to sc = +2.5 m. Determine the particle's average velocity and the average speed during the 6-s time interval.

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
ADVERTISEMENT