summaryrefslogtreecommitdiff
path: root/1358/CH1/EX1.2/Example12.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1358/CH1/EX1.2/Example12.sce
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 '1358/CH1/EX1.2/Example12.sce')
-rwxr-xr-x1358/CH1/EX1.2/Example12.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1358/CH1/EX1.2/Example12.sce b/1358/CH1/EX1.2/Example12.sce
new file mode 100755
index 000000000..b4d6e4298
--- /dev/null
+++ b/1358/CH1/EX1.2/Example12.sce
@@ -0,0 +1,12 @@
+// Display mode
+mode(0);
+// Display warning for floating point exception
+ieee(1);
+clear;
+clc;
+disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 1, Example 2")
+// While equating flow coefficients Q1 / (N1 * D1^3) = Q2 / (N2 * D2^30)
+//Also the head equation we follow is g*H1/(N1^2*D1^2) = g*H2/(N2^2*D2^2)
+disp("Volume flow rate in cubic meters per second and Head in meters are:")
+Q2 = 2.5*2210*(0.104)^3/(2010*(0.125)^3)
+H2 = 9.81 * 14 * (2210*104)^2 /(((2010*125)^2)*(9.81))