Given f(x)=max{sinx,(sin)−1(cosx)} .
Sketching the graph of both the functions y=sinx&y=(sin)−1(cosx) on the same co-ordinate plane:
From graph, we can say that both the functions y=sinx&y=sin−1(cosx) are continuous for all real values of x.
Also, y=sin−1(cosx) has infinite corner points. So, it is non-differentiable at those corner points and hence when f(x)=sin−1(cosx), it is nondifferentiable at infinite points.
So, clearly f(x) is continuous for all real values of x but non-differentiable at infinite points.