Step-by-step explanation:
Let the number of fruit trees planted additionally be [tex]n[/tex]
Initially it is given that there are [tex]20[/tex] trees.
Number of trees after planting [tex]n[/tex] additional trees is [tex]n+20[/tex]
Let the yield due to each tree after planting [tex]n[/tex] additional trees be [tex]y[/tex]
Initially it is given that [tex]y=252[/tex]
Yield due to each tree after planting [tex]n[/tex] trees is [tex]y=252-(3\times n)[/tex]
[tex]\text{total yield}=\text{yield for each tree}\times\text{total number of trees}[/tex]
[tex]\text{total yield}=(252-3n)(20+n)[/tex]
=[tex]252\times 20-192n-3n^{2}[/tex]
To maximise yield,we take that value of [tex]n[/tex] for which [tex]\frac{d\text{total yield}}{dn}[/tex][tex]=0[/tex]
[tex]\frac{d\text{total yield}}{dn}=\frac{d(252\times 20+192n-3n^{2})}{dn}[/tex] =[tex]192-6n[/tex]
So,[tex]192=6n[/tex] and [tex]n=32[/tex]
So,32 additional trees has to be planted to maximise yield.
So,there should be 52 trees in total