Continuity at x=0 LHL At x=0,x→0limf(x)=x→0−lim(1)=1
RHL At x=0,x→0+limf(x) =x→0lim(1+sinx)=1 f(0)=1+sin0=1 =L=RHL=f(0)
so f(x) is continuous at x=0.
Continuity at x=2π
LHL At x=2π,x→2πlimf(x) =x→2πlim(1+sinx)=1+1=2
RHL At x=2π,x→2πlimf(x)=2+(2π−2π)2=2 f(2π)=2+(2π−2π)2=2 ∴LHL=RHL=f(2π)
So, f(x) is continuous at x=2π.
Hence, f(x) is continuous over the whole real number.