summaryrefslogtreecommitdiff
path: root/3845/CH2/EX2.8/Ex2_8.sce
blob: e54676407052c5d1efb3bd77a23203940ee3ce53 (plain)
1
2
3
4
5
6
7
8
9
10
//Example 2.8
v=4;//Velocity (m/s)
t=2;//Time (min)
t=t*60;//Time (s)
x_0=0;//Initial position (m)
x=x_0+v*t;//Final position (m)
printf('Final position of the jogger = %0.1f m',x)
//Final displacement and velocity are along the same direction as they are positive
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest