summaryrefslogtreecommitdiff
path: root/3819/CH1/EX1.2/Ex1_2.sce
blob: cc0354758ac887856a689d672e79aafa5c0df303 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 1-Properties of Fluid
// Problem 1.21

//Given Data Set in the Problem
V=1/1000
SG=0.7
d_water=1000
g=9.81

//Calculations
// Density of Petrol
d=SG*d_water
mprintf("The Density of Petrol is %f \n",d)
//Specific Weight of Petrol
w=d*g
mprintf("The Specific weight of Petrol is %f \n",w)
// Weight of 1 litre of Petrol
W=w*V
mprintf("The Weight of 1 litre of Petrol is %f \n",W)