blob: 828ad6d5df6b1dcdc2d9fb1c18d56ee605fa7dff (
plain)
1
2
3
4
5
6
7
8
9
|
//Displacement
//After 0.5 sec
theta=5.236*0.5*(180/%pi)
//displacement
x=0.75*sind(150) //m
//Velocity
vx=0.75*5.236*cosd(150)
ax=0.375*5.236^2 //m/sec^2
printf("\nx=%.3f m\nvx=%.3f m/sec\nax=%.2f ",x,vx,ax)
|