The correct option is A continuous everywhere
For f(x)≥0, |f(x)|=f(x).
So,
x+2|f(x)|=3f(x)⇒x+2f(x)=3f(x)⇒f(x)=x.
But since this is for f(x)≥0, f(x)=x∀x≥0.
For f(x)<0, |f(x)|=−f(x).
So,
x+2|f(x)|=3f(x)⇒x−2f(x)=3f(x)⇒f(x)=x5.
But since this is for f(x)<0, f(x)=x5∀x<0.
Checking for continuity at x=0:
limx→0−f(x)=limx→0−x5=0limx→0+f(x)=limx→0+x=0f(0)=0
Since it is an algebraic function that changes its definition only at x=0, the function is continuous everywhere.
Checking for differentiability at x=0: the slope of the function changes at this point, so it is not differentiable here.
So, option A is the correct option