- #1
CR3
- 3
- 0
Homework Statement
Problem from: A Concise Introduction to MATLAB (McGraw Hill)
pg. 346 # 6
A certain object moves with the velocity v(t) given in the table below:
Determine the object's position x(t) at t= 10s if x(0)= 3
Time (s) = [0,1,2,3,4,5,6,7,8,9,10]
Velocity (m/s) = [0,2,5,7,9,12,15,18,22,20,17]
Homework Equations
The Attempt at a Solution
I am having trouble with this problem because I have not had Calculus yet. I think it is a pretty basic Calculus problem but I have very little prior knowledge of Calculus so if anyone could explain this to me I would really appreciate it.
The only way I can think to solve it using what I do know is use the diff(v)./diff(t) equation in MATLAB to find the acceleration and then use the equation x(t) = x(0) + v(0)t + .5at^2 but I am not sure how to type this into MATLAB.
Thanks so much for your help.