summaryrefslogtreecommitdiff
path: root/3647/CH4/EX4.4/ex4_4.sce
blob: 287dd92df6d95ae37c6be2e31905c9c154ebd2a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
w=4//lbf
h=40//lbf/ft
d=2//in
g=32.2//ft/s
//CALCULATIONS
P=(d*%pi)*sqrt(w/(h*g))//sec
V=(d*%pi*d)/(P*12)//ft/s
M=(d*%pi/P)^2*(d/12)//ft/s
//RESULTS
printf('the period of vibration=% f sec',P)
printf('Maximum veloity=% f ft/s',V)
printf('Maximum acceleration=% f ft/s',M)