Then in the entire integrand, set , so that . The integral is then equivalent to
Note that by letting , we are enforcing an invertible substitution which would make it so that requires or . However, is positive over this first interval and negative over the second, so we can't ignore the absolute value.
So let's just assume the integral is being taken over a domain on which so that . This allows us to write
We can show pretty easily that
which means the integral above becomes
Back-substituting to get this in terms of is a bit of a nightmare, but you'll find that, since , we get
7 mangoes will be 12.25. so you subtract his original money(20) from 12.25 which gives you 7.75. then divide 7.75 by 0.75(cost of a peach) and your answer will be 10(rounded off).