Step 1: Understanding the Concept
Efficiency of a Carnot engine is \(\eta = 1 - \dfrac{T_2}{T_1}\) with temperatures in kelvin.
Step 2: Convert Temperatures
\(T_1 = 227 + 273 = 500\ \text{K}\), \(T_2 = 27 + 273 = 300\ \text{K}\).
Step 3: Calculation
\(\eta = 1 - \dfrac{300}{500} = 0.4\).
\(W = \eta Q_1 = 0.4\times50 = 20\ \text{kJ}\).
Step 4: Compare the options
Option (D) 20 kJ matches.
Final Answer:
The work done by the engine is 20 kJ.
\[ \boxed{\text{(D) }20\ \text{kJ}} \]