As, the rate of the harvesting = ₹ 900 per hectare
And, the cost of harvesting = ₹ 8100
So, the area of the square field = \(\frac{8100}{900}\) = 9 hectare

So, side = 300m
Now, perimeter of the field = 4 x side
= 4 x 300
= 1200 m
Since, the rate of putting the fence = ₹18 per m
So, the cost of putting the fence = 1200 x 18 = ₹ 21,600