Task 1 The position s of an object moving in a straight path is defined by the function s = vot + (1/2)at2, where vo is the initial velocity of the object, a is its acceleration, and t is the time. The initial velocity and acceleration of the object is 1.5 m/s and 2 m/s2, respectively. Plot the position as a function of time from 0 s to 10 s, at increments of 0.5 s. Use markers to indicate the value of position at those points of time. Make sure to put proper labels, and title for the plot. Continuing Task 1, create two other plots for velocity vs time, and acceleration vs time. Use different line styles, line color, and marker styles for all three plots. Make sure to put proper labels, and title for the plot.
In Matlab software,
Task 1
The position s of an object moving in a straight path is defined by the function s = vot + (1/2)at2, where vo is the initial velocity of the object, a is its acceleration, and t is the time. The initial velocity and acceleration of the object is 1.5 m/s and 2 m/s2, respectively. Plot the position as a function of time from 0 s to 10 s, at increments of 0.5 s. Use markers to indicate the value of position at those points of time. Make sure to put proper labels, and title for the plot.
Continuing Task 1, create two other plots for velocity vs time, and acceleration vs time. Use different line styles, line color, and marker styles for all three plots. Make sure to put proper labels, and title for the plot.
Step by step
Solved in 2 steps with 2 images