summaryrefslogtreecommitdiff
path: root/1913/CH2/EX2.23/ex23.sce
diff options
context:
space:
mode:
Diffstat (limited to '1913/CH2/EX2.23/ex23.sce')
-rwxr-xr-x1913/CH2/EX2.23/ex23.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1913/CH2/EX2.23/ex23.sce b/1913/CH2/EX2.23/ex23.sce
new file mode 100755
index 000000000..47158f380
--- /dev/null
+++ b/1913/CH2/EX2.23/ex23.sce
@@ -0,0 +1,14 @@
+clc
+clear
+//Input data
+c1=40;//Velocity of air at the inlet of nozzle in m/s
+h=180;//The decrease in enthalpy in the nozzle in kJ/kg
+w=0;//Since adiabatic
+q=0;//Since adiabatic
+z=0;//Since adiabatic
+
+//Calculations
+c2=[(2*1000)*((h)+(c1^2/(2*1000)))]^(1/2);//The exit velocity of air in m/s
+
+//Output
+printf('The exit velocity of the air C2 = %3.2f m/s ',c2)