A nitrogen line, 300 K and 0.5 MPa, shown in

A nitrogen line, 300 K and 0.5 MPa, shown in Fig. P6.119, is connected to a turbine that exhausts to a closed initially empty tank of 50 m3. The turbine operates to a tank pressure of 0.5 MPa, at which point the temperature is 250 K. Assuming the entire process is adiabatic, determine the turbine work.