summaryrefslogtreecommitdiff
path: root/887/CH1/EX1.3/1_3.sce
blob: b7a29c604fcb6f4529c7e785421b75a99a5e6f27 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc
// initialisation of variables
G= 9200 // N/m^2
g1= 9.81 // m/sec^2
g2= 9.805 //m/sec^2
// Calculations
rho= G/g1
G2= rho*g2
// Results
printf ('Density of Fluid = %.1f N sec^2/m^4',rho)
printf ('\n New Specific Weight = %.f N/m^3',G2)