summaryrefslogtreecommitdiff
path: root/1627/CH5/EX5.8/Ex5_8.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1627/CH5/EX5.8/Ex5_8.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '1627/CH5/EX5.8/Ex5_8.sce')
-rw-r--r--1627/CH5/EX5.8/Ex5_8.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1627/CH5/EX5.8/Ex5_8.sce b/1627/CH5/EX5.8/Ex5_8.sce
new file mode 100644
index 000000000..e814c0eba
--- /dev/null
+++ b/1627/CH5/EX5.8/Ex5_8.sce
@@ -0,0 +1,18 @@
+clc
+//initialisation of variables
+v=25*10^-2//m
+a=8//m^3/min
+t=1/60//sec/min
+f=0.015
+p=100//m
+p1=1.2//kg/m^3
+p2=2.7//m/s
+g=9.8//m/s^2
+q=998//kg/m^3
+v1=9802//N/m^3
+//CALCULATIONS
+V=(4*a*t)/((%pi)*(v)^2)//m/s
+hf=(f)*((p)*(p2)^2*(p1))/(v*2*g*v1)//m^-3
+P=v1*hf*10//Pa
+//RESULTS
+printf('The pressure drop is=% f Pa',P)