If f(x)=x3−3x2f(x) = x^3 - 3x^2f(x)=x3−3x2, at which xxx does the function have a local maximum?
x=0x=0x=0
x=2x=2x=2
x=1x=1x=1
x=−1x=-1x=−1