//mass of air(in kg/min) m=10; //fluid velocity at inlet(in m/s) C1=5; //fluid velocity at outlet(in m/s) C2=10; //fluid pressure at inlet(in bar) p1=1*10^5; //fluid pressure at outlet(in bar) p2=8*10^5; //specific volume at inlet(in m^3/kg) V1=0.5; //specific volume at outlet(in m^3/kg) V2=0.2; //energy lost to cooling water(in kJ/s) H=140; //internal energy of air leaving the compressor(in kJ/kg) dU=-250;