Solve the below:
Q: Air in a rigid 40 ft3 box is at 540 R, 30 lbf/in 2. It is heated to 1100 R by heat transfer from a reversible heat pump that receives energy from the ambient at 540 R besides the work input. Use constant specific heat at 540 R. Since the coefficient of performance changes write dQ = mair Cv dT and find dW. Integrate dW with temperature to find the required heat pump work.