If the number of apples in a box is increased, then the number of boxes decreases. So, the number of apples filled in the box and the number of boxes are in inverse proportion.
Let the number of apples filled in a box be x and the number of boxes be y.
Here, x varies inversely as y i.e. .
∴ , where k is constant of variation
⇒ x × y = k
When x = 24, y = 27.
∴ k = 24 × 27 = 648
So, the equation of variation is xy = 648.
When x = 36,
36y = 648
⇒ y = = 18
Thus, the number of boxes needed are 18.