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 /1460/CH11/EX11.6/11_6.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 '1460/CH11/EX11.6/11_6.sce')
-rwxr-xr-x | 1460/CH11/EX11.6/11_6.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1460/CH11/EX11.6/11_6.sce b/1460/CH11/EX11.6/11_6.sce new file mode 100755 index 000000000..b86495d01 --- /dev/null +++ b/1460/CH11/EX11.6/11_6.sce @@ -0,0 +1,14 @@ +clc
+//initialization of variables
+v=500 //ft/sec
+P=14.7 //lb/in^2
+T=60+460 //R
+eta=0.85
+cp=0.24
+gamma=1.4
+//calculations
+Pt2=eta*P*(1+ (gamma-1)*v^2 /(2*gamma*32.2*53.3*T))^(gamma/(gamma-1))
+Tratio=1+ (gamma-1)*v*v/(2*gamma*32.2*53.3*T)
+Tt2=T*Tratio
+//results
+printf("Exit stagnation temperature = %d R",Tt2+1)
|