blob: c69f8ad2640b43fcef9906bfdc31b2b197fc202e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 1-Properties of Fluid
// Problem 1.1
W=7
V=1/1000
g=9.81
d_water=1000
w=W/V
mprintf("The Specific weight of the liquid is %f \n",w)
d=w/g
mprintf("The density of the liquid is %f \n",d)
SG=d/d_water
mprintf("The Specific Gravity o fthe liquid is %f \n",SG)
|