diff options
Diffstat (limited to '2120/CH1/EX1.3/ex1_3.sce')
-rwxr-xr-x | 2120/CH1/EX1.3/ex1_3.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2120/CH1/EX1.3/ex1_3.sce b/2120/CH1/EX1.3/ex1_3.sce new file mode 100755 index 000000000..157eb10a6 --- /dev/null +++ b/2120/CH1/EX1.3/ex1_3.sce @@ -0,0 +1,16 @@ +//Exa 1.3
+clc;
+clear;
+close;
+// Given data
+Patm = 101;// kpa
+Rho = 13.6 * 10^3;// in kg per m^3
+h = 250;// in cm
+h = h*10^-2;// in m
+g = 9.806;
+p = Rho * g * h;// in N/m^2
+p= p*10^-3;// in kPa
+// Total pressure in tank
+p = p + Patm;// in kpa
+p = p*10^-3;// in Mpa
+disp(p,"Total pressure in tank in Mpa");
|