## Limit(function, variable, point, [direction])

[direction]
Use 0 for two-sided limit.
Use +1 for a right sided limit.
Use -1 for a left sided limit.

## Description

Returns the limit of function as variable approaches point from the direction direction.

The default value of direction is right side (+1).

## Examples

Limit((3x-15)/sqrt(x^2-10x+25), x, 5, 1)
Limit((3x-15)/sqrt(x^2-10x+25), x, 5, -1)
Limit((atan(x)-@pi/4)/sqrt(1-x^2), x, 1)
Limit((3-3tan(x))/(sin(x)-cos(x)), x, @pi/4)
Limit(-1/x, x, 0)
Limit(1/x, x, @inf)
Limit(3z+p*(1+5m/x)^(a*x)+f*x^(1/x)-g*(1+1/x^2)^(d*x)-h*((x-7*n)/x)^(b*x), x, @inf)
Limit(-n^n/n!, n, @inf)
Limit(n!/4^n, n, @inf)
Limit(n!/n^n, n, @inf)
Limit(1^n/n^5, n, @inf)
Limit((3*sin(@pi*x) - sin(3*@pi*x))/x^3, x, 0)
Limit(sqrt(sin(3*@pi*x)/x^3 - 3*sin(@pi*x)/x^3), x, 0)
Limit(cos(a*x)/x^2 - cos(b*x)/x^2, x, 0)
Limit(2sin(a*x)/(x-sin(x))-sin(2a*x)/(x-sin(x)), x, 0)
Limit((2sin(x)-sin(2x))/(b*x-sin(b*x))+(2sin(p*x)-sin(2p*x))/(q*x-sin(q*x)), x, 0)

## References

http://mathworld.wolfram.com/Limit.html
http://en.wikipedia.org/wiki/Limit_(mathematics)