diff options
Diffstat (limited to '3831/CH16/EX16.1/Ex16_1.sce')
-rw-r--r-- | 3831/CH16/EX16.1/Ex16_1.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/3831/CH16/EX16.1/Ex16_1.sce b/3831/CH16/EX16.1/Ex16_1.sce new file mode 100644 index 000000000..0ba509586 --- /dev/null +++ b/3831/CH16/EX16.1/Ex16_1.sce @@ -0,0 +1,12 @@ +// Example 16_1
+clc;funcprot(0);
+// Given data
+T=20+273.15;// K
+V=90.0;// km/h
+g_c=1;// The gravitational constant
+c_p=1.004;// kJ/kg.K
+
+// Solution
+T_0=T*(1+(((V*10^3/(3600*1000))^2)/(2*g_c*c_p*T)));// K
+T_0=T_0-273.15;// °C
+printf("\nThe stagnation temperature,T_0=%2.1f°C",T_0)
|