A heat engine converts only part of its heat input into useful work.

highlighted = computed this step

Read the engine budget

The engine takes in 30 joules of heat and produces 12 joules of useful work.

Qin=30 JWout=12 JQ_{\text{in}} = 30\ \text{J}\qquad W_{\text{out}} = 12\ \text{J}
Heat engine budgetInput, work, and waste bars share one scale.30 Jinput12 Jwork18 Jwaste

Efficiency is useful work over heat input

Efficiency counts the fraction of heat input that becomes useful work.

η=WoutQin\eta = \frac{W_{\text{out}}}{Q_{\text{in}}}

Compute the efficiency

Divide 12 joules by 30 joules. The efficiency is two fifths.

η=12 J30 J=25\eta = \frac{12\ \text{J}}{30\ \text{J}} = \tfrac{2}{5}
Heat engine budgetInput, work, and waste bars share one scale.30 Jinput12 Jwork18 Jwaste