summaryrefslogtreecommitdiff
path: root/3886/CH21/EX21.2/21_2.sce
blob: b1c6b101bdbde9f2d64e8367cfde981b8685aed9 (plain)
1
2
3
4
5
6
7
8
9
//S.H.M
r=0.75  //m
T=1.2  //sec
omega=((2*%pi)/(1.2))  //rad/sec
vxmax=0.75*5.236  //m/sec
axmax=0.75*5.236^2  //m/sec^2
printf("\nvx(max)=%.3f m/sec\nax(max)=%.3f m/sec^2",vxmax,axmax)