summaryrefslogtreecommitdiff
path: root/3819/CH4/EX4.21/Ex4_21.sce
blob: d6d8db00d9e3a75955c85b949fb64b9ad44df898 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 4-Buoyancy and Floatation
//// Problem 4.21

//Given Data Set in the Problem
dens=1000
g=9.81
K=8
GM=70/100

//calculations
T=2*%pi*(K^2/GM/g)^0.5
mprintf("The Time period of Oscillation is %f seconds\n",T)