Refrigerant 134a as saturated vapor at 2108C enters a compressor operating at steady state with a mass flow rate of 0.3 kg/s. At the compressor exit the pressure of the refrigerant is 5 bar. Stray heat transfer and the effects of motion and gravity can be ignored. If the rate of exergy destruction within the compressor must be kept less than 2.4 kW, determine the allowed ranges for (a) the power required by the compressor, in kW, and (b) the exergetic compressor efficiency. Let T0 5 298 K, p0 5 1 bar.

Lab 4 Venkata Yadavalli ME 2115 - 310 2/23/2017 clear; clc; Problem 1 r=12345.6789; fprintf('%f\n',r) fprintf('%10.4f\n',r) fprintf('%10.2f\n',r) fprintf('%6.4f\n',r) fprintf('%2.4f\n',r) 12345.678900 12345.6789 12345.68 12345.6789 12345.6789 Published with MATLAB® R2015b 1