blob: 25e33747e31e8728a4ab763bde57b4b2dfa9c7c5 (
plain)
1
2
3
4
5
6
7
8
9
|
//Example 2.17
//See Figure 2.47
//Using the points (6.4s,2000m) and (0.50s,525m) marked in the figure
delta_x=2000-525;//Change in displacement (m)
delta_t=6.4-0.50;//Change in time (s)
v=delta_x/delta_t;//Velocity (m/s)
printf('Average velocity = %0.1f m/s',v)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|