summaryrefslogtreecommitdiff
path: root/746/CH9/EX9.01
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /746/CH9/EX9.01
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 '746/CH9/EX9.01')
-rwxr-xr-x746/CH9/EX9.01/9_01.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/746/CH9/EX9.01/9_01.sce b/746/CH9/EX9.01/9_01.sce
new file mode 100755
index 000000000..755aef7b6
--- /dev/null
+++ b/746/CH9/EX9.01/9_01.sce
@@ -0,0 +1,8 @@
+//static pressure//
+pathname=get_absolute_file_path('9.01.sce')
+filename=pathname+filesep()+'9.01-data.sci'
+exec(filename)
+//Change in static pressure between sections 1 and 2:
+C=(((L-2*d1)/(L-2*d2))^4-1)*100;
+printf("\n\nRESULTS\n\n")
+printf("\n\nChange in static pressure between the sections 1 and 2: %.3f percent \n\n",C)