The function f(x)=x2ex is monotonically increasing if
Let f(x)= {x^2 ; x>=0
{ax ; x<0
Find a for which f(x) is monotonically increasing function at x=0.