summaryrefslogtreecommitdiff
path: root/3647/CH4/EX4.2/ex4_2.sce
blob: e4083cb59814f93fb42604545ab5922ddb62416e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
a=10//ft/s
x=1/12//ft/s
g=32.2//ft
//CALCULATIONS
P=2*%pi*sqrt(x/a)//sec
L=(P)/(2*%pi/sqrt(g))/2//ft
//RESULTS
printf('the simple pendulum =% f ft',L)