summaryrefslogtreecommitdiff
path: root/2519/CH1/EX1.6/Ex1_6.sce
blob: 3eb77021993d99dbc130cb6e1dd47f8d6a685876 (plain)
1
2
3
4
5
6
7
8
9
10
clc
clear
//Initialization of variables
rho=62.305 //lbf/ft^2
g=32.1739 //ft/s^2
//calculations
gam=rho/g
//results
printf("Density of water in this system = %.3f lbf/ft^2",gam)
printf("\n Specific weight = %.3f lbf/ft^2",rho)