Develop a computer program that provides data to plot (either manually or with a computer) the coefficient of performance of a vapor-compression cycle heat pump, refrigerator, or air conditioner vs. the throttling valve outlet quality, x4h.
Prompt the user for all the relevant input information, including the compressor's isentropic efficiency.