Since, f(x) is continuous at x=0, therefore x→0lim​f(x)=f(0)⇒x→0lim​xnsinx1​=0,∀n>0 f(x) is differentiable at x=0, if limx→0​x−0f(x)−f(0)​ exists finitely. ⇒x→0lim​x−0f(x)−f(0)​ exists finitely ⇒x→0lim​xn−1sinx1​ exists finitely ⇒n−1>0⇒n>1
Hence, f(x) is continuous but not differentiable at x=0, if n∈(0,1).