# Math Help - piecewise limit function

1. ## piecewise limit function

f(x)= { (cosx-1)/x, x is less than 0}
{ 5x, x is greater than or equal to 0}
Lim of f(x) as x approaches 0

This was a question on my test and i wanted to know the answer.

2. Originally Posted by calculusphobe
f(x)= { (cosx-1)/x, x is less than 0}
{ 5x, x is greater than or equal to 0}
Lim of f(x) as x approaches 0
This was a question on my test and i wanted to know the answer.
$f(0-)=f(0+)=0$, so the limit is $0$.

3. I put zero but thought it was to easy.
Thx Plato