Calculate the theoretical efficiency for an Otto-cycle engine with γ=1.40γ=1.40 and r = 9.50

(a) Calculate the theoretical efficiency for an Otto-cycle engine with γ=1.40γ=1.40 and r = 9.50.
(b) If this engine takes in 10,000 J of heat from burning its fuel, how much heat does it discard to the outside air?