**Prerequisites:** Graphs, slope.

**Goal:** To get an intuitive understanding of the idea of a *limit*. To preview the idea of a *derivative*.

After starting Maple, click *File → New → Worksheet Mode* to prepare Maple to accept commands. Then copy and paste the following code into your Maple worksheet. The color is only for your own reference; you may want to edit the purple characters, but probably not the red.

restart: with(plots): Digits := 40: sz := 5: f := x -> x^2 - x + sin(300*x)/200: graph1 := plot(f(x),x=-sz..sz, y=-sz..sz,color=blue): graph2 := plot( 2*x,x=-sz..sz, y=-sz..sz,color=red): display(graph1,graph2,scaling=constrained);In this particular code, the variable sz represents the size of square around

- The command that begins with "graph1" tells the computer to graph, in blue, the function
*f(x)*that we defined earlier. The next command (that begins "graph2") tells the computer to graph, in red,*2*x*. Clearly the line*y=2*x*does not have the same slope as the function*f(x)*at*(0,0)*. Adjust the slope of the line graphed in red (currently 2) so the two functions apparently have the same slope at*(0,0)*. (The red line should appear to be tangent to the blue curve at the origin.) What is the apparent slope of*f(x)*? - Zoom in closer to the point
*(0,0)*by setting*sz*to 1. Note that we only changed the magnification factor. Does the red line still appear to be tangent to the blue curve? If not, what slope makes the red line appear to be tangent to the blue curve? - Zoom in closer to the point
*(0,0)*by setting*sz*to 0.1. Note that we only changed the magnification factor. Does the red line still appear to be tangent to the blue curve? If not, what slope makes the red line appear to be tangent to the blue curve? - What do you think will happen if we continue to zoom? Why?
- How far do we need to "zoom" in order to guarantee that nothing more unexpected will happen in this case? In general?