Let f(x)=ax+x2. If it has a maximum at x=−3 then a is
Let f(x)=⎧⎨⎩∣∣x2−3x∣∣+a,0≤x<32−2x+3 x≥32 If f(x) has a local maximum at x =.