diff options
Diffstat (limited to '1268/CH1/EX1.1/1_1.sce')
-rw-r--r-- | 1268/CH1/EX1.1/1_1.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/1268/CH1/EX1.1/1_1.sce b/1268/CH1/EX1.1/1_1.sce new file mode 100644 index 000000000..38c51366d --- /dev/null +++ b/1268/CH1/EX1.1/1_1.sce @@ -0,0 +1,11 @@ +clc;
+disp("Example 1.1")
+R=0.12
+// manometer reading in m
+densitym= 13600 // of mercury in kg/m^3
+densityw= 1000 // of water in kg/m^3
+g=9.81 // acceleration due to gravity in m/s^2
+p=R*g*(densitym-densityw)
+disp(" Pressure difference is ")
+disp(p)
+disp(" N/m^2 ")
|