summaryrefslogtreecommitdiff
path: root/3886/CH21/EX21.1/21_1.sce
blob: 2c244ffc2027b37f806dbd31a54f61c5d91a261e (plain)
1
2
3
4
5
6
7
//S.H.M
//a=-25*s
omega=5
//Period
T=(2*%pi)/(5)  //sec
f=(1/T)  //osc. per second
printf("\nT=%.3f sec\nf=%.3f osc. per second",T,f)