∵f(x)=x(x-m)^2在x=2 处有极大值
∴==>f'(x)=(x-m)^2+2x(x-m)=0
又∵x=2,
∴f'(2)=(2-m)^2+2*2(2-m)=0
==>m=2,or,m=6;
##