diff options
Diffstat (limited to '3831/CH6/EX6.9/Ex6_9.sce')
-rw-r--r-- | 3831/CH6/EX6.9/Ex6_9.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/3831/CH6/EX6.9/Ex6_9.sce b/3831/CH6/EX6.9/Ex6_9.sce new file mode 100644 index 000000000..721e20bdb --- /dev/null +++ b/3831/CH6/EX6.9/Ex6_9.sce @@ -0,0 +1,11 @@ +// Example 6_9
+clc;funcprot(0);
+// Given data
+// From Example 6_8
+T_initial=137+273.15;// K
+k=1.4;// The specific heat ratio
+
+// Calculation
+T_finalemptying=T_initial*((2/k)-1);// K
+T_finalemptying=T_finalemptying-273.15;// °C
+printf("\nThe final temperature inside the tank immediately after the tank is empty,T_final emptying=%2.1f°C.",T_finalemptying);
|