0.1 kg of ammonia gas is maintained at a constant pressure of \(\require{color}{\color[rgb]{0.315209,0.728565,0.037706}2}\) bar in a cylinder by means of a weighted piston. The ammonia is slowly heated with a Bunsen burner flame from an initial temperature of \(\require{color}{\color[rgb]{0.164799,0.878862,0.723179}10}\) degrees Celcius to a final temperature of \(\require{color}{\color[rgb]{0.164799,0.878862,0.723179}20}\) degrees Celcius. Calculate:
the change in the volume of the gas
the work done during the expansion
the heat addition during the process
To solve this problem you will need to use the two tables provided in Lecture 13. They are reproduced below for your convenience.
Solution
The relevant formulas for the solutions are detailed below. For the numerical solutions, please go throught the code.
In the solutions below, please be wary of the units.
Code
import numpy as np# a.nu_2 =0.69952# specific volume table entry at 20 degrees @ 2 barnu_1 =0.67320# specific volume table entry at 10 degrees @ 2 barm =0.1# kgDelta_V = m * (nu_2 - nu_1)print('The change in volume is '+str(np.round(Delta_V, 4))+' m^3 \n')# b.p =2*10**5# 2 bar = 200 kPa = 2 * 10^5 PaW = p * Delta_Vprint('The work done during expansion is '+str(np.round(W,4)/10**3)+' kJ \n')# c. u_2 =1369.28# specific internal energy table entry at 20 degrees @ 2 baru_1 =1351.87# specific internal energy table entry at 10 degrees @ 2 barQ = W/10**3+ m * (u_2 - u_1)print('The head addition is '+str(np.around(Q,4))+' kJ \n')
The change in volume is 0.0026 m^3
The work done during expansion is 0.5264 kJ
The head addition is 2.2674 kJ
Problem 2
Dry air has a molar composition of \(21 \% \; O_2 \; (M=32 \; g/mol)\) and \(79 \% \; N_2 \; (M=28.15 \; g/mol)\). Calculate:
The specific gas constant for air;
The mass of 1 liter of air at \(\require{color}{\color[rgb]{0.315209,0.728565,0.037706}1.013 \; bar}\) and \(\require{color}{\color[rgb]{0.164799,0.878862,0.723179} 25^{\circ}\; C}\).