Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Thank You! velocity (meters/second) as a function of time (seconds). Find the ac

ID: 3547035 • Letter: T

Question


Thank You!

velocity (meters/second) as a function of time (seconds). Find the acceleration as a function of time. To do this, you will need to differentiate the data as a function of time. Do this in the following ways (it is interesting to plot the following approximate derivatives on the same plot to see the various features!): Use an O(Delta t2) accurate scheme on the raw data. Please use a central difference on the interior points, and an O(Delta t2) forward/backward difference scheme on the end points. See section 4.1 in the course textbook. Save as a row vector in A11.dat. Fit a spine through the data with t = 0:0.01:30; and find the O(Delta t2) and O(Delta t4) derivative (in both cases, use a O(Delta t2) forward/backward difference scheme at the end points). Save each as a row vector in A12.dat and A13.dat.

Explanation / Answer

clear all

clc


y is the array containing velocites. I converted it from question itself so you the information


for i=1:30

a(i)=y(i+1,2)-y(i,2);

end

for i=1

plot(a);

xlabel('Time');

ylabel('Acceleration (m/s^2)');

end

for i=1:29

b(i)=a(i+1)-a(i);

end

for i=1:28

c(i)=b(i+1)-b(i);

plot(c)

xlabel('Time')

ylabel(' m/s^4 ');

end

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote