summaryrefslogtreecommitdiff
path: root/1286/CH8/EX8.3/8_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1286/CH8/EX8.3/8_3.sce')
-rwxr-xr-x1286/CH8/EX8.3/8_3.sce15
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)