Calculate the thermal efficiency of an ideal Brayton cycle using the pressure ratio and specific heat ratio. Step-by-step solutions for gas turbines and jet engines.