diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3831/CH5/EX5.5/Ex5_5.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
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);
|