summaryrefslogtreecommitdiff
path: root/3756/CH6/EX6.5/Ex6_5.sce
blob: 6ff0a6212e422e8d55b1ba4fc8aa5520edf9291f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
clc
//
//
//

//Variable declaration
m=8          //mass
g=9.8        //acceleration due to gravity
x=0.32       //Stretched spring deviation
m2=0.5       //mass of the other body


//Calculations
k=((m*g)/x)
T=((2*3.14)*sqrt(m2/k))

//Result
printf("\n The Time Period of Oscillation for the other body is %0.2f sec",T)