summaryrefslogtreecommitdiff
path: root/3886/CH12/EX12.5/12_5.sce
blob: 9a2ca3f7032aaa412c0fade22e1202fea665f70d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Stone dropped into well
//let
//h=depth of well
//t1=time tataken by stone to strike water
//t2=time taken by sound to travel h
//t1+t2=4
//h=(g*t1^2)/2
//h=335*t2
//solving
//t1^2+68.30*t1-273.19=0
t1=3.79  //sec
h=(9.81*t1^2)/2  //m
printf("h=%.2f m",h)