Step 1: Calculation of Adjusted Profits
\[
\text{Profit for 2022–2023 needs adjustment for overvalued stock.}
\]
\[
\text{Adjusted profit for 2022–2023 = \rupee33,000 - \rupee5,000 = \rupee28,000}.
\]
Profits for the last four years (adjusted):
\[
\text{2019–2020: \rupee35,000, 2020–2021: \rupee25,000, 2021–2022: \rupee32,000, 2022–2023: \rupee28,000}.
\]
Step 2: Calculation of Average Profit
\[
\text{Average Profit} = \frac{\text{Sum of Profits}}{\text{Number of Years}}
\]
\[
\text{Average Profit} = \frac{35,000 + 25,000 + 32,000 + 28,000}{4} = \frac{1,20,000}{4} = \rupee30,000.
\]
Step 3: Calculation of Normal Profit
\[
\text{Normal Profit} = \text{Capital Employed} \times \text{Normal Rate of Return}
\]
\[
\text{Normal Profit} = \rupee2,50,000 \times \frac{10}{100} = \rupee25,000.
\]
Step 4: Calculation of Super Profit
\[
\text{Super Profit} = \text{Average Profit} - \text{Normal Profit}
\]
\[
\text{Super Profit} = \rupee30,000 - \rupee25,000 = \rupee5,000.
\]
Step 5: Calculation of Goodwill
\[
\text{Goodwill} = \text{Super Profit} \times \text{Number of Years’ Purchase}
\]
\[
\text{Goodwill} = \rupee5,000 \times 3 = \rupee15,000.
\]
Final Answer:
\[
\text{Goodwill of the firm = \rupee15,000.}
\]