The function f(x)=x^2-ax if x is less than or equal to 1
and f(x)=ax+b if x is greater than 1 where a and b are constants. If f is differentiable at x=1 then a+b=
A.-3
B.-2
C.0
D.2
and f(x)=ax+b if x is greater than 1 where a and b are constants. If f is differentiable at x=1 then a+b=
A.-3
B.-2
C.0
D.2