summaryrefslogtreecommitdiff
path: root/548/CH5/EX5.04
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /548/CH5/EX5.04
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 '548/CH5/EX5.04')
-rwxr-xr-x548/CH5/EX5.04/5_04.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/548/CH5/EX5.04/5_04.sce b/548/CH5/EX5.04/5_04.sce
new file mode 100755
index 000000000..29758bbf1
--- /dev/null
+++ b/548/CH5/EX5.04/5_04.sce
@@ -0,0 +1,6 @@
+pathname=get_absolute_file_path('5_04.sce')
+filename=pathname+filesep()+'5_04data.sci'
+exec(filename)
+Cp=(P1-P)/q;disp(Cp,"Cp=","Cp=(P1-P)/q","pressure coefficient Cp :")
+printf("\Answer:\n")
+printf("\n\pressure coefficient : %f \n\n",Cp) \ No newline at end of file