diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2132/CH3/EX3.3 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2132/CH3/EX3.3')
-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 : ");
|