summaryrefslogtreecommitdiff
path: root/2504/CH11/EX11.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2504/CH11/EX11.5
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 '2504/CH11/EX11.5')
-rwxr-xr-x2504/CH11/EX11.5/11_5.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/2504/CH11/EX11.5/11_5.sce b/2504/CH11/EX11.5/11_5.sce
new file mode 100755
index 000000000..635c7fc77
--- /dev/null
+++ b/2504/CH11/EX11.5/11_5.sce
@@ -0,0 +1,24 @@
+clc
+//initialisation of variables
+clear
+rt= 0.5 //ft
+rr= 0.16 //ft
+dv1= 88.3 //ft/sec
+b= 150 //degrees
+a= 5 //degrees
+v1= [-0.933 -0.311]
+i= [1.0 5.0 6.7]
+//CALCULATIONS
+b1= b+a
+A= %pi*(rt^2-rr^2)
+Va= -dv1*tand(b1)
+Q= Va*A
+a1= atand(v1)+180
+
+//RESULTS
+printf ('Velocity = %.2f ft/sec',Va)
+printf ('\n Flow rate = %.1f ft^3/sec',Q)
+
+disp(v1)
+disp(a1)
+disp(i)