blob: 2c9447e11e94d655fb903213e0b2610190184768 (
plain)
1
2
3
4
5
6
7
8
9
10
|
clc
//initialisation of variables
ws= 64 //lbf/ft^3
wi= 57 //lbf/ft^3
//CALCULATIONS
vabyvb= (ws/wi)-1
vtbyva= (1/vabyvb)+1
vabyvt= (1/vtbyva)*100
//RESULTS
printf ('percentage of total volume extended above the surface= %.1f per cent',vabyvt)
|