An ideal Brayton cycle with regeneration has a pressure ratio of 10. Air enters the compressor at 300 K and the turbine at 1200 K. If the effectiveness of the regenerator is 100 percent, determine the net work output and the thermal efficiency of the cycle. Account for the variation of specific heats with temperature.