summaryrefslogtreecommitdiff
path: root/3819/CH1/EX1.2/Ex1_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3819/CH1/EX1.2/Ex1_2.sce')
-rw-r--r--3819/CH1/EX1.2/Ex1_2.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3819/CH1/EX1.2/Ex1_2.sce b/3819/CH1/EX1.2/Ex1_2.sce
new file mode 100644
index 000000000..cc0354758
--- /dev/null
+++ b/3819/CH1/EX1.2/Ex1_2.sce
@@ -0,0 +1,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)