In the books of Suman Traders.

Working Notes:
1. Calculation of Profit or loss on sale of machine:
Original cost on 01.04.2015 = ₹ 30,000
Less: Depreciation for 2015-16 (12 months) = ₹ 6,000
W.D.V. on 01.04.2016 = ₹ 24,000
Less: Depreciation for 2016-17 (6 months) = ₹ 2,400
W.D.V. on date of sale = ₹ 21,600
Less: Selling price = ₹ 18,000
∴ Loss on sale of machine = ₹ 3,600
2. Calculation of Depreciation for 2016-17:
(a) Opening balance on 01.04.2016 = ₹ 42,000
Less: W.D.V. of machine sold on 01.04.2016 = ₹ 24,000
18,000 – 20% = ₹ 3,600
(b) Purchase of machine on 01.10.2016 – 15,000 – 20% – 6months = 3,600 + 1,500 = ₹ 5,100