Calculate the thermal efficiency of an Otto cycle engine using compression ratio and specific heat ratio. Step-by-step solutions for ideal spark-ignition engines.