(adsbygoogle = window.adsbygoogle || []).push({}); 1. The problem statement, all variables and given/known data

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]

2. Relevant equations

3. 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.

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Physics problem in MATLAB

**Physics Forums | Science Articles, Homework Help, Discussion**