$$\lim_{x \to 0}(x\sec x)$$ So putting in $x=0$ you get the answer $0$. $$\lim_{x \to 0}(x\sec x)=0$$ My question is is this a correct way to solve?
edit : So from the answers below, I've understood that if a function is continuous, then $\lim_{x \to a}f(x)=f(a)$
But how do you figure out if a function is continuous? from the graph? But what if it's a function that I don't know the graph of?