f:R-->R

f(x)=1 if $\displaystyle x = 0$

f(x)=0 otherwise.

(a) Is f continuous at the point a = 0?

(b) Is f continuous at the point a = 1?

have i done them correctly?

Continuous at a=0 because $\displaystyle \lim_{x\to0}f(x)=1=f(0)$ correct?

also continuous at a=1 because $\displaystyle \lim_{x\to1}f(x)=0=f(1)$

thanks