D[p (300 - p^2),p] = (1 - 2p^2/(300-p^2))*(300 - p^2)