To calculate efficiency you should divide output by input energy.
The engine produces 48000 j energy from 400000 j given energy from gasoline.
48 000/400 000 = 48/400 = 12/100 = 12%
Efficiency of this engine is 12%
The efficiency of the car is calculated to be 12%. This indicates that only 12% of the energy from the gasoline contributes to the car's motion. The remaining energy is primarily lost as heat and other forms of energy loss.
;