blob: 3e9b93c04ceea756777dc00bd7a6cc75a3cf31bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clc
//initialisation of variables
A1= 400 //ft^2
f= 0.01
l= 1000 //m
d= 0.25 //ft
H1= 7.22 //ft
H2= 1.66 //ft
A2= 225 //ft^2
a= 0.0491 //ft^2
g= 32.2 //ft^2
//CALCULATIONS
T= 2*A1*sqrt(1+(4*f*l/d))*(sqrt(H1)-sqrt(H2))/(a*60*sqrt(2*g)*(1+(A1/A2)))
//RESULTS
printf ('Time taken to reduce height = %.f min',T)
|