The sum of two numbers is 3.What is the maximum value of the product of the first and the square of the second?

m + n = 3 ... n = 3 - m

m * n^2 = m * (3 - m)^2
... = m^3 - 6 m^2 + 9 m

the max appears to be infinite