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.2/Example3_2.sce | |
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.2/Example3_2.sce')
-rwxr-xr-x | 2132/CH3/EX3.2/Example3_2.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2132/CH3/EX3.2/Example3_2.sce b/2132/CH3/EX3.2/Example3_2.sce new file mode 100755 index 000000000..e98d9fca2 --- /dev/null +++ b/2132/CH3/EX3.2/Example3_2.sce @@ -0,0 +1,16 @@ +//Example 3.2
+clc;
+clear;
+close;
+format('v',7);
+//Given data :
+h=1.5;//in m
+w_w=9.81;//in kN/m^3
+w_g=1.26;//in kN/m^3
+w_m=13.6;//in kN/m^3
+f=h*w_w;//kN/m^2
+disp(f,"Intensity of pressure exerted by water column in kN/m^2 : ");
+f=h*w_w*w_g;//kN/m^2
+disp(f,"Intensity of pressure exerted by glycerine column in kN/m^2 : ");
+f=h*w_w*w_m;//kN/m^2
+disp(f,"Intensity of pressure exerted by mercury column in kN/m^2 : ");
|