diff options
Diffstat (limited to '3850/CH27/EX27.2/Ex27_2.sce')
-rw-r--r-- | 3850/CH27/EX27.2/Ex27_2.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/3850/CH27/EX27.2/Ex27_2.sce b/3850/CH27/EX27.2/Ex27_2.sce new file mode 100644 index 000000000..3d6d4e2f5 --- /dev/null +++ b/3850/CH27/EX27.2/Ex27_2.sce @@ -0,0 +1,26 @@ + +//Find the Amount of Heat required to raise the temperature to 400 Kelvin
+
+//Example 27.2
+
+clc;
+
+clear;
+
+V=0.2;//Volume of tank in m^3
+
+p=1*10^5;//Pressure of Helium Gas in N/M^2
+
+T1=300;//Initial Temperature of Helium Gas in Kelvin
+
+T2=400;//Final Temperature of Helium Gas in Kelvin
+
+R=8.31;//Universal Gas Constant in J/mol-K
+
+n=int((p*V)/(R*T1));//Amount of moles of Helium Gas
+
+Cv=3;//Molar Heat Capacity at Constant Volume
+
+Q=n*Cv*(T2-T1);//Amount of Heat Required in calories
+
+printf("The amount of Heat required=%d cal",Q);
|