summaryrefslogtreecommitdiff
path: root/1808/CH3/EX3.5/Chapter3_Exampl5.sce
diff options
context:
space:
mode:
Diffstat (limited to '1808/CH3/EX3.5/Chapter3_Exampl5.sce')
-rw-r--r--1808/CH3/EX3.5/Chapter3_Exampl5.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1808/CH3/EX3.5/Chapter3_Exampl5.sce b/1808/CH3/EX3.5/Chapter3_Exampl5.sce
new file mode 100644
index 000000000..6d44da775
--- /dev/null
+++ b/1808/CH3/EX3.5/Chapter3_Exampl5.sce
@@ -0,0 +1,18 @@
+clc
+clear
+//INPUT DATA
+Tl=20;//engine temprature in Degree C
+Th=500;//engine temprature in Degree C
+g=1.4;//gas constant
+v13=25;//expansion ratio
+
+//CALCULATIONS
+v14=((Th+273)/(Tl+273))^(1/(g-1));//Isentropic volume expansion
+v43=v13/v14;//Overall expansion ratio
+
+//OUTPUT
+printf('(a)Isentropic volume expansion ratio (4-1)is %3.2f \n (b)Isentropic volume expansion ratio(4-3) is %3.2f',v14,v43)
+
+
+
+