1. Using the equations for the thermodynamic properties of diatomic gases given in the text, write an interactive computer program that returns values for u, h, and s when p and T are input by the user from the keyboard for one or more (instructor's choice) of the gases listed in Table.
Assume u0 = 0, and allow the user to choose to work in either the English or the SI units system. Output values in the same units system that was chosen for input values.
2. Using the appropriate equations from the text, plot k = cp/cv vs. T for molecular oxygen over the range 0≤T ≤5000 K: