diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /32/CH3/EX3.07/3_08.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '32/CH3/EX3.07/3_08.sce')
-rwxr-xr-x | 32/CH3/EX3.07/3_08.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/32/CH3/EX3.07/3_08.sce b/32/CH3/EX3.07/3_08.sce new file mode 100755 index 000000000..88763f520 --- /dev/null +++ b/32/CH3/EX3.07/3_08.sce @@ -0,0 +1,13 @@ +//pathname=get_absolute_file_path('3.08.sce')
+//filename=pathname+filesep()+'3.08-data.sci'
+//exec(filename)
+//Initial temperature(in K):
+t1=627+273
+//Final temperature(in K):
+t2=27+273
+//Specific heat at const pressure(in kJ/kg.K):
+Cp=1.005
+//Exit velocity(in m/s):
+c2=sqrt(2*Cp*10^3*(t1-t2))
+printf("\nRESULT\n")
+printf("\nExit Velocity = %f m/s",c2)
\ No newline at end of file |