summaryrefslogtreecommitdiff
path: root/2159/CH3/EX3.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2159/CH3/EX3.2
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/CH3/EX3.2')
-rwxr-xr-x2159/CH3/EX3.2/32.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2159/CH3/EX3.2/32.sce b/2159/CH3/EX3.2/32.sce
new file mode 100755
index 000000000..aa44ba3bb
--- /dev/null
+++ b/2159/CH3/EX3.2/32.sce
@@ -0,0 +1,17 @@
+// problem 3.2
+d1=1
+d2=0.5
+q=0.1
+p1=70*1000
+l=60
+z2=0
+z1=l/20
+a1=3.142*d1*d1/4
+a2=3.142*d2*d2/4
+v1=q/a1
+v2=q/a2
+w=9810
+g=9.91
+// applying bernoulli equation
+p2=((z1-z2)+(((v1^2)-(v2^2))/(2*g))+(p1/w))*w
+disp(p2,"presssure at lower end in N/m2")