diff options
Diffstat (limited to '2132/CH3/EX3.3/Example3_3.sce')
-rwxr-xr-x | 2132/CH3/EX3.3/Example3_3.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2132/CH3/EX3.3/Example3_3.sce b/2132/CH3/EX3.3/Example3_3.sce new file mode 100755 index 000000000..717c71455 --- /dev/null +++ b/2132/CH3/EX3.3/Example3_3.sce @@ -0,0 +1,16 @@ +//Example 3.3
+clc;
+clear;
+close;
+format('v',6);
+//Given data :
+p=2;//in kN/m^2
+w_w=9.81;//in kN/m^3
+w_alcohol=w_w*0.789;//in kN/m^3
+w_m=13.6;//in kN/m^3
+H=p/w_alcohol;//in m
+disp(H,"Depth of alcohol in meter : ");
+P_head_w=p/w_w;//m
+disp(P_head_w,"Pressure head in terms of water in meter : ");
+P_head_m=p/w_w/w_m;//m
+disp(P_head_m,"Pressure head in terms of mercury in meter : ");
|