diff options
Diffstat (limited to '3831/CH5/EX5.5/Ex5_5.sce')
-rw-r--r-- | 3831/CH5/EX5.5/Ex5_5.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3831/CH5/EX5.5/Ex5_5.sce b/3831/CH5/EX5.5/Ex5_5.sce new file mode 100644 index 000000000..02aa4388a --- /dev/null +++ b/3831/CH5/EX5.5/Ex5_5.sce @@ -0,0 +1,16 @@ +// Example 5_5
+clc;funcprot(0);
+// Given data
+V_2=0.0400;// m^3
+T_1=20.0;// °C
+p_1=0.0100;// MPa
+Q_12=0.100;// kJ
+V_1=0.0100;// m^3
+R=0.208;// kJ/kg.K
+c_v=0.315;// kJ/kg.K
+
+// Calculation
+m=((p_1*10^3)*V_1)/(R*(T_1+273.15));// kg
+T_2=T_1+(Q_12/(m*c_v));// K
+p_2=(m*R*(T_2+273.15))/V_2;// kPa
+printf('\nThe pressure and temperature inside the box after the balloon bursts p_2=%1.2f kPa and T_2=%3.0f°C',p_2,T_2);
|