Limit Examples
Author: Jamie Mulholland

What is f(x) approaching as x tends to 0?

g_2(x) = sin(x) / x
g_3(x) = abs(x) / x
g_1(x) = (x^(2) - 1) / (x - 1)
toggle = 0 (slider from 0 to 2, step 1)
A = (1, 2)
xvalue = Point(xAxis)
f = If(toggle ≟ 0, g_1, If[toggle ≟ 1, g_2, g_3])
C: (x(xvalue), f(x(xvalue)))
xline = Segment(xvalue, C)
yvalue: (0, f(x(xvalue)))
yline = Segment(yvalue, C)
A_1 = (0, 1)
A_2 = (0, -1)
T3: "f(x)= " + f