summaryrefslogtreecommitdiff
path: root/2159/CH1/EX1.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2159/CH1/EX1.1
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2159/CH1/EX1.1')
-rwxr-xr-x2159/CH1/EX1.1/1.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/2159/CH1/EX1.1/1.sce b/2159/CH1/EX1.1/1.sce
new file mode 100755
index 000000000..38f589de9
--- /dev/null
+++ b/2159/CH1/EX1.1/1.sce
@@ -0,0 +1,9 @@
+//problem 1.1
+p=343350 //pressure at any point in pa
+w=9810 //gravitational constant
+h1=(p/w)
+disp(h1 ,"pressure in term of height of water(m)")
+s1=1
+s2=13.6
+h2=h1*s1/s2
+disp(h2 ,"pressure in term of height of mercury(m)")