Problem
The variables velocity data will be a matrix containing 2 rows and 3001 columns. The first row of this matrix contains evenly spaced time data points. The second row of this matrix will contain velocity data.
Load velocitydata.mat
t = 0:0.01:30
1. Find delta t from the time data.
2. Compute the cummulative distance traveled over the time interval by computing the integral as a function of time (running integral) using the trapezoidal rule.