The daily profit of a bakery is given by
P = 8x – 0.02x2
Where x is the number of cakes. How many cakes will give maximum/minimum profit and what
is the maximum/minimum profit obtained?