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 /1286/CH8/EX8.3 | |
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 '1286/CH8/EX8.3')
-rwxr-xr-x | 1286/CH8/EX8.3/8_3.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1286/CH8/EX8.3/8_3.sce b/1286/CH8/EX8.3/8_3.sce new file mode 100755 index 000000000..d956e7004 --- /dev/null +++ b/1286/CH8/EX8.3/8_3.sce @@ -0,0 +1,15 @@ +clc
+//initialisation of variables
+r=1/20
+p1=1//atm
+g=1.4
+T1=273//k
+//CALCULATIONS
+p2=p1/r
+pad=p2^g
+T2=T1*((1/r)^(g-1))
+dt=T2-T1
+//RESULTS
+printf(' \n pressure required= % 1f atm',p2)
+printf(' \n pressure for adiabatic conditions= % 1f atm',pad)
+printf(' \n rise in temperature= % 1f c',dt)
|