TI-84 Plus Silver Edition EmulatorInteractive ManualGuidebook PDFOpen the calculator + guided tutorials ▶

Interactive Manual › Chapter 17

Chapter 17: Activities

Complete worked projects that tie the calculator together: the quadratic formula, a box-volume optimization, box plots, piecewise functions and inequalities, nonlinear systems, the Sierpinski triangle, cobweb plots, a guessing game program, the unit circle, areas between curves, a Ferris wheel, the Fundamental Theorem of Calculus, polygon areas and mortgage payments.

About the Activitiesp. 296

This chapter is a gallery of complete, start-to-finish projects. Each one poses a small problem, explains the math behind it in a few sentences, and then walks you through solving it on the calculator, key by key. Along the way you will use the Y= editor, tables, the graph and its CALC menu, the list editor and stat plots, the equation solver, the finance solver and even short TI-BASIC programs.

Features that appear in the activities
FeatureWhere you use it
n/d fraction template (ALPHAF1 1), ►F◄►DQuadratic formula, Box with lid
TABLE SETUP (2ndTBLSET) and TABLE (2ndTABLE)Box with lid: table
TRACE, ZOOM In, ZPrevious, CALC maximumBox with lid: graph, CALC maximum
SetUpEditor, list editor, stat plots, ZoomStatBox plots
TEST menu in Y= equations, Dot style, ΔX and ΔYPiecewise functions, Inequalities
ZOOM MEMORY SetFactors, CALC intersectNonlinear systems, Area between curves
TI-BASIC: For(, If/Then/End, Pt-On(, StorePic, RecallPic, Prompt, Text(, Lbl/Goto, PauseSierpinski triangle, Guess the coefficients
Seq mode and Web formatCobweb attractors
Par mode, path and animate stylesUnit circle, Ferris wheel, Mortgage graph
Shade(, fnInt(, nDeriv(Area between curves, Fundamental Theorem
Equation solver (MATH B), ALPHA SOLVEPolygon areas
TVM Solver, ΣPrn(, ΣInt(, bal(Mortgage payments
Tip Every tutorial starts from a freshly reset calculator, so you can do the activities in any order. If a step does not look the way you expect, check the mode settings first (MODE); many activities depend on Func, Par or Seq mode, Radian angles and Connected or Dot graphs.
Note The guidebook also points to downloadable Flash applications (Polynomial Root Finder / Simultaneous Equation Solver, Inequality Graphing, Guess My Coefficients) that do some of these jobs with a quick set-up. They come from education.ti.com and are not part of this emulator, which is why each activity here shows the manual, built-in way.

The Quadratic Formulap. 296

A quadratic equation ax² + bx + c = 0 has the solutions x = (−b ± √(b² − 4ac)) ÷ 2a. In this activity you will solve two equations with that formula: 2x² − 11x + 14 = 0, which has two real solutions, and 2x² − 6x + 5 = 0, which has two complex ones. Along the way you will see how to store the coefficients once and reuse one formula for both roots by copying an earlier entry and changing a single sign.

Note The first equation is done with the textbook-style (MathPrint) fraction template, which only handles real numbers. For the complex-number equation the formula is typed with the ordinary divide key instead, because complex values are not allowed inside the n/d template (they give Error: Data Type). The Polynomial Root Finder and Simultaneous Equation Solver application on a real TI-84 Plus can solve these too, but it is a separate Flash app and is not part of this emulator.

Graphing the Functionsp. 296

Before solving, look at the graphs. A parabola that crosses the x-axis has real solutions, and one that floats above (or below) the axis has none. Graph Y₁ = 2X² − 11X + 14 and Y₂ = 2X² − 6X + 5 together in the decimal window.

Tutorial

Graph both quadratics

You will enter two parabolas in the Y= editor and draw them in the ZDecimal window.

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Open the Y= editor.
    Y=
  2. Type the first quadratic into Y₁. The X,T,θ,n key types the variable X without needing ALPHA. Press ENTER afterwards to move down to Y₂.
    2X,T,θ,nx²−11X,T,θ,n+14ENTER
  3. Type the second quadratic into Y₂.
    2X,T,θ,nx²−6X,T,θ,n+5
  4. Press ZOOM and choose 4:ZDecimal. This window is centered on the origin and each pixel is 0.1 wide, which is perfect for this problem.
    ZOOM4
  5. Look at the two curves. The first parabola crosses the x-axis, so 2x² − 11x + 14 = 0 has real solutions (near x = 2 and x = 3.5). The second one never touches the axis, so 2x² − 6x + 5 = 0 has no real solutions. They must be complex numbers.

Entering a Calculation and Converting to a Decimalp. 297

Start with 2x² − 11x + 14 = 0, so a = 2, b = −11 and c = 14. Store these three numbers in the variables A, B and C. You can enter several instructions on one line by separating them with a colon (ALPHA: types :).

Tutorial

Solve 2x² − 11x + 14 = 0 with the quadratic formula

You will store the coefficients, build one root with the fraction template, then copy that entry and change + to − to get the other root.

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Store the coefficients on one line: 2→A:⁻11→B:14→C. Use STO► for the arrow, ALPHA: for each colon, and (−) (not the subtract key) for the negative sign in −11.
    2STO►ALPHAAALPHA:(−)11STO►ALPHABALPHA:14STO►ALPHACENTER
  2. Open the FRAC shortcut menu with ALPHAF1 (that key's green legend is F1).
    ALPHAF1
  3. Choose 1:n/d. A stacked fraction template appears and the cursor waits in the numerator.
    1
  4. Type the numerator, ⁻B+√(B²−4AC). Pressing 2nd√ gives the square-root template. Everything you type next stays under the root sign.
    (−)ALPHAB+2nd√ALPHABx²−4ALPHAAALPHAC
  5. Press ▶︎ once to leave the square root, and once more to jump from the numerator down into the denominator. Then type 2A.
    ▶︎▶︎2ALPHAA
  6. Press ENTER to evaluate. The answer 7/2 is shown as a fraction because the fraction template was used.
    ENTER
  7. To get the other root you do not need to retype the formula. Press ▲︎ twice to highlight the formula you entered (first the answer, then the entry), and press ENTER to copy it to the entry line.
    ▲︎▲︎ENTER
  8. Move the cursor left with ◀︎ until it sits on the + sign in the formula (13 presses here), then press − to replace the + with a minus.
    ◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎−
  9. Press ENTER. The second solution is 2. The roots of 2x² − 11x + 14 are 2 and 7/2 (3.5). The graph agreed: the parabola crosses the x-axis at both of these.
    ENTER

If you want the first root as a decimal instead of a fraction, use the ►F◄►D conversion from the FRAC shortcut menu. After a calculation it converts the displayed answer between fraction and decimal form.

Tutorial

Show a fraction answer as a decimal

Calculate the first root again and convert 7/2 into 3.5.

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Build the root again: open the n/d template, type ⁻B+√(B²−4AC), move into the denominator and type 2A, then press ENTER.
    ALPHAF11(−)ALPHAB+2nd√ALPHABx²−4ALPHAAALPHAC▶︎▶︎2ALPHAAENTER
  2. Open the FRAC shortcut menu again and select 4:►F◄►D. It is pasted on a new line and works on the last answer.
    ALPHAF14
  3. Press ENTER to convert 7/2 to its decimal form, 3.5.
    ENTER

Displaying Complex Resultsp. 298

Now solve 2x² − 6x + 5 = 0. Its discriminant b² − 4ac is negative, so the square root is not a real number. The calculator only shows complex results when you switch the complex-number mode from Real to a+bi.

Tutorial

Solve 2x² − 6x + 5 = 0 with complex roots

You will switch to a+bi mode, enter the formula with the divide key, and then copy and edit it for the second root.

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Open the MODE screen and move down six rows to the last row (Real a+bi re^θi). Press ▶︎ to highlight a+bi, then ENTER to select it.
    MODE▼︎▼︎▼︎▼︎▼︎▼︎▶︎ENTER
  2. Press 2ndQUIT (QUIT) to return to the home screen, and CLEAR to wipe it.
    2ndQUITCLEAR
  3. Store the new coefficients: 2→A:⁻6→B:5→C.
    2STO►ALPHAAALPHA:(−)6STO►ALPHABALPHA:5STO►ALPHACENTER
  4. Type the formula in classic style, with ordinary parentheses and the divide key instead of the fraction template: (⁻B+√(B²−4AC))÷(2A). Press ▶︎ once after the radicand to step out of the square-root template.
    ((−)ALPHAB+2nd√ALPHABx²−4ALPHAAALPHAC▶︎)÷(2ALPHAA)
  5. Press ENTER. The first solution is 1.5 + 0.5i.
    ENTER
  6. Highlight the formula you just evaluated with ▲︎ twice and press ENTER to paste it.
    ▲︎▲︎ENTER
  7. Press ◀︎ until the cursor is on the + (15 presses), then press − to replace it.
    ◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎−
  8. Press ENTER to get the other solution, 1.5 − 0.5i. The two solutions are complex conjugates of each other, exactly as the picture of the graph (no x-intercepts) suggested.
    ENTER
Tip Use the same copy-and-edit trick any time two calculations differ by one small change: press ▲︎ to highlight an old entry, ENTER to copy it, edit, and run it again. 2ndENTRY (ENTRY) recalls the very last entry without scrolling.

Box with Lidp. 299

Take a sheet of paper 20 cm by 25 cm. Cut an X by X square out of each of two corners, and an X by 12.5 cm rectangle out of each of the other two corners. Fold along the cuts and you get a box with a lid. Which value of X gives the box the biggest volume V?

This activity solves the problem four different ways, so you can compare them: with a table of values, with the free-moving graph cursor, with TRACE, and with the CALC maximum command. All four agree on an answer of about X = 3.68 cm and V ≈ 410.26 cm³.

Defining a Functionp. 299

From the diagram, the width of the paper gives 2X + A = 20, so A = 20 − 2X is the width of the box. The length gives 2X + 2B = 25, so B = 25÷2 − X is its length, and X is its height. The volume is V = A · B · X, which becomes:

V = (20 − 2X)(25÷2 − X)X

Tutorial

Define the volume function in Y₁

Enter V as a function of X so the calculator can tabulate and graph it.

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Press Y= to open the function editor, where graphable functions are stored.
    Y=
  2. Type (20−2X) and then open the fraction template (ALPHAF1 then 1:n/d) for the 25÷2 part.
    (20−2X,T,θ,n)(ALPHAF11
  3. Type 25 on top, press ▶︎ to drop to the denominator, type 2, and press ▶︎ again to leave the fraction.
    25▶︎2▶︎
  4. Finish with −X) and then the last factor, X. Press ENTER to store the function. Check it: Y₁(3.68) is the volume at X = 3.68.
    −X,T,θ,n)X,T,θ,nENTER

Defining a Table of Valuesp. 300

A table lists the value of Y₁ for many X values at once, which is a quick way to spot where a function peaks. The TABLE SETUP screen (2ndTBLSET) decides where the table starts (TblStart) and how far apart the X values are (ΔTbl).

Tutorial

Make a table of box volumes

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Open the TABLE SETUP screen.
    2ndTBLSET
  2. Accept TblStart=0 by pressing ENTER. The cursor moves to ΔTbl.
    ENTER
  3. Set the increment to 1. Leave Indpnt: Auto and Depend: Auto alone so the calculator fills the table in for you.
    1ENTER
  4. Display the table with 2ndTABLE (TABLE). The bottom line reminds you that + changes ΔTbl.
    2ndTABLE
  5. Compare the Y₁ column as X grows: the volume rises to a peak and then falls. The biggest value in view occurs for X around 4, between 3 and 5 (Y₁(3) = 399, Y₁(4) = 408 and Y₁(5) = 375).
  6. Hold ▼︎ to scroll the table (here 11 presses) until a negative Y₁ appears. The box has no volume once the cuts eat up the sheet, so X cannot be larger than 10 or so. Between X = 10 and X = 11 the sign changes.
    ▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎

Zooming In on the Tablep. 301

A smaller increment ΔTbl zooms in on the table. You can change it on the TABLE SETUP screen or, quicker, by pressing + while the table is showing. The calculator also updates TblStart for you whenever you scroll: it always remembers the first X that was last displayed.

Tutorial

Zoom in on the maximum with smaller steps

Narrow the search from steps of 1, to 0.1, to 0.01, and read full precision from the table.

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. You are looking at the table after scrolling down to X = 11. Open TABLE SETUP again.
    2ndTBLSET
  2. TblStart has changed to the first X that was displayed, so the table would continue from where you scrolled to. Go back to the table and press ▲︎ twice to scroll back to X = 3.
    2ndTABLE▲︎▲︎
  3. Press +. A ΔTbl= prompt appears on the entry line. Type .1 and press ENTER.
    +.1ENTER
  4. Scroll down eight rows. The table now steps by 0.1 and ends at X = 3.8. In this view the largest Y₁ is 410.26 at X = 3.7, so the maximum lies between 3.6 and 3.8.
    ▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎
  5. Zoom in again: open TABLE SETUP and start the table at 3.6 with steps of 0.01.
    2ndTBLSET3.6ENTER.01ENTER
  6. Show the table.
    2ndTABLE
  7. Scroll with ▼︎ (7 presses) to X = 3.67, then press ▶︎ to move the cursor into the Y₁ column. The bottom line shows Y₁ in full precision: 410.261226.
    ▼︎▼︎▼︎▼︎▼︎▼︎▼︎▶︎
  8. Press ▼︎ to see the next row. At X = 3.68 the volume is 410.264064.
    ▼︎
  9. Two more rows. Y₁(3.69) = 410.262318 and Y₁(3.7) = 410.256. So the table says the maximum is at X = 3.68, which is as good as you can measure with a ruler marked in hundredths of a centimetre.
    ▼︎▼︎

Setting the Viewing Windowp. 302

The graphing window decides which part of the coordinate plane you see. Xmin, Xmax, Ymin and Ymax are the edges, Xscl and Yscl are the spacing of the tick marks, and Xres controls how many pixels are skipped when plotting (1 is the sharpest). Here you want X from 0 to 10 and Y from 0 to 500. Window values can be expressions: you will type 20÷2 for Xmax. (The fraction template would work too, and gives the same 10, but the divide key is quicker.)

Tutorial

Set the window for the box-volume graph

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Open the window editor. The cursor starts on Xmin.
    WINDOW
  2. Type 0 for Xmin and press ENTER.
    0ENTER
  3. Type the expression 20÷2 for Xmax and press ENTER. The calculator evaluates it and stores 10.
    20÷2ENTER
  4. Press ENTER to accept Xscl=1.
    ENTER
  5. Finish the rest of the window: Ymin=0, Ymax=500, Yscl=100 and Xres=1, pressing ENTER after each.
    0ENTER500ENTER100ENTER1ENTER

Displaying and Tracing the Graphp. 303

Now graph Y₁ and explore it. The free-moving cursor can go anywhere on the screen and shows the coordinates of its position. TRACE instead snaps to the function and moves along it one X pixel at a time, so its Y values are real values of Y₁.

Tutorial

Graph the volume and explore it with the cursor and TRACE

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Press GRAPH to draw the selected function in the window you set.
    GRAPH
  2. Press an arrow key and the free-moving cursor appears in the middle of the screen, with its X and Y coordinates on the bottom line. Move it toward the top of the hill: 12 presses of ◀︎ and 19 of ▲︎. Each press moves one pixel, and X and Y update continuously.
    ◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎
  3. Now press TRACE. The cursor jumps onto the function. The function being traced is named in the top-left corner.
    TRACE
  4. Press ◀︎ and ▶︎ to trace one X pixel at a time. Each step evaluates Y₁ at the new X. Watch Y rise as you move left.
    ◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎
  5. You can also tell TRACE exactly where to go. Start typing a number and an X= prompt appears at the bottom left. Enter your estimate, 3.8, and press ENTER.
    3.8ENTER
  6. Use ◀︎ and ▶︎ to hunt for the highest Y. This is the maximum of Y₁ for the X pixel values. The true maximum may lie between two pixels, which is why you also tried the table and are about to use CALC.
    ◀︎

Zooming In on the Graphp. 304

The ZOOM instructions magnify the window around a point so you can see maxima, minima, roots and intersections more clearly. Zoom In shrinks both the x-range and the y-range by the zoom factors, which are 4 by default.

Tutorial

Zoom in on the maximum

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Draw the graph.
    GRAPH
  2. Press ZOOM to open the ZOOM menu. Like every TI-84 Plus menu, you can choose an item by its number, or by moving down to it and pressing ENTER.
    ZOOM
  3. Press 2 for 2:Zoom In. The graph returns, and the cursor shape tells you a ZOOM instruction is waiting for you.
    2
  4. Move the cursor near the maximum (12 presses of ◀︎ and 19 of ▲︎), then press ENTER. The new window is centered on the cursor.
    ◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎ENTER
  5. Both Xmax−Xmin and Ymax−Ymin shrank by a factor of 4, the default zoom factors: the width went from 10 to 2.5 and the height from 500 to 125. Press WINDOW to see the new window values.
    WINDOW
  6. To get back to the previous graph, choose 1:ZPrevious from the ZOOM MEMORY menu: ZOOM ▶︎ 1.
    ZOOM▶︎1

Finding the Calculated Maximump. 305

The CALCULATE menu (2ndCALC) can compute a local maximum for you. It asks for three things: a point to the left of the maximum (the left bound), a point to the right of it (the right bound), and a guess between the two. From those it searches numerically for the peak.

Tutorial

Calculate the maximum of the volume function

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Open the CALCULATE menu and pick 4:maximum.
    2ndCALC
  2. The graph comes back with a Left Bound? prompt. The trace cursor starts in the middle of the screen. Press ◀︎ 15 times to move to a point left of the hump (about X = 3.4), then press ENTER.
    4◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎ENTER
  3. A marker at the top of the screen shows the bound you picked, and you are now asked for the Right Bound?. Press ▶︎ 10 times, to a point right of the hump (about X = 4.5), and press ENTER.
    ▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎ENTER
  4. Finally the calculator asks Guess?. Press ◀︎ seven times to get close to the top and press ENTER. (You can also type a guess such as 3.8 and press ENTER. Typed values work for the left and right bounds too.)
    ◀︎◀︎◀︎◀︎◀︎◀︎◀︎ENTER
  5. The maximum is X ≈ 3.68 and Y ≈ 410.264, the same answer the table, the free-moving cursor and TRACE were closing in on. A box cut with X ≈ 3.68 cm squares holds about 410 cm³ of volume.
Four ways to find the maximum of V
MethodWhat it gives you
TableExact function values at chosen X. With ΔTbl = 0.01 the best value is X = 3.68, V = 410.264064.
Free-moving cursorAny point on the screen; coordinates are only as precise as one pixel.
TRACEPoints on the function itself, one X pixel at a time; you can also jump to an X value.
CALC maximumA numerical maximum computed from bounds and a guess: X ≈ 3.68, Y ≈ 410.264.

Comparing Test Results Using Box Plotsp. 306

A box plot squeezes a whole data set into five numbers: the minimum (minX), the first quartile (Q1), the median (Med), the third quartile (Q3) and the maximum (maxX). Put two box plots on one screen and you can compare two groups at a glance.

In this activity a group of 10 women and 12 men each tried to identify 30 hidden objects by touch: 15 objects held in the left hand and 15 in the right hand. The table lists how many they got right. (An earlier experiment with children found a left-hand/right-hand difference between boys and girls, and the TI Graphics team repeated the test on adults.) Your job is to compare the four sets of scores with box plots.

Correct guesses out of 15, one row per subject
Women LeftWomen RightMen LeftMen Right
84712
9186
128712
1112512
101177
811811
12131112
71248
9111012
11121411
139
59

Entering the Data in Listsp. 306

Give each column its own named list. SetUpEditor (item 5 of the STAT EDIT menu) makes the list editor show exactly the lists you name, and creates them if they do not exist yet. Then 1:Edit opens the editor so you can type the numbers.

Tutorial

Create four named lists and type in the data

The lists are WLEFT, WRGHT, MLEFT and MRGHT (women or men, left or right hand).

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Press STAT and choose 5:SetUpEditor. It is pasted on the home screen.
    STAT5
  2. Type the four list names separated by commas: WLEFT,WRGHT,MLEFT,MRGHT. Every letter needs ALPHA, which the tutorial keys supply for you. Then press ENTER.
    ALPHAWALPHALALPHAEALPHAFALPHAT,ALPHAWALPHARALPHAGALPHAHALPHAT,ALPHAMALPHALALPHAEALPHAFALPHAT,ALPHAMALPHARALPHAGALPHAHALPHATENTER
  3. Press STAT and choose 1:Edit. The editor now shows only your four lists, starting with WLEFT.
    STAT1
  4. Type the ten left-hand scores for the women, pressing ENTER after each one to move to the next row.
    8ENTER9ENTER12ENTER11ENTER10ENTER8ENTER12ENTER7ENTER9ENTER11ENTER
  5. Press ▶︎ to move to WRGHT and type the women's right-hand scores. (The 1 in the second row is an unusually low score. Remember it.)
    ▶︎4ENTER1ENTER8ENTER12ENTER11ENTER11ENTER13ENTER12ENTER11ENTER12ENTER
  6. Move right again to MLEFT and type the twelve left-hand scores for the men.
    ▶︎7ENTER8ENTER7ENTER5ENTER7ENTER8ENTER11ENTER4ENTER10ENTER14ENTER13ENTER5ENTER
  7. Finally, MRGHT: the men's right-hand scores.
    ▶︎12ENTER6ENTER12ENTER12ENTER7ENTER11ENTER12ENTER8ENTER12ENTER11ENTER9ENTER9ENTER

Defining the Plots and Reading the Women's Resultsp. 307

A stat plot is defined on its own screen (2ndSTAT PLOT, item 1:Plot1). Pick a type, and tell the calculator which list holds the data. The modified box plot type marks outliers separately as single points, which is exactly what you want when one score is far from the others.

Tutorial

Plot the women's left- and right-hand scores

Plot 1 will show WLEFT and Plot 2 will show WRGHT.

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Open the STAT PLOTS menu and choose 1:Plot1.
    2ndSTAT PLOT1
  2. The first row is On Off. Make sure the cursor is on On (press ◀︎ to be safe) and press ENTER to turn the plot on.
    ◀︎ENTER
  3. Move down to the Type row and press ▶︎ three times to the fourth icon, the modified box plot. Press ENTER to select it. Notice that the Ylist prompt is replaced by Freq, because a box plot only needs one list.
    ▼︎▶︎▶︎▶︎ENTER
  4. Move down to Xlist. Press 2ndLIST to open the list NAMES menu and pick WLEFT (item 9; the lists L₁ to L₆ come first, then your lists in alphabetical order).
    ▼︎2ndLIST9
  5. Now define Plot 2 the same way. Quit this screen with 2ndQUIT, open 2:Plot2, turn it on, choose the modified box plot, and use WRGHT (the last item in the NAMES menu, which you reach with 0) for the Xlist.
    2ndQUIT2ndSTAT PLOT2◀︎ENTER▼︎▶︎▶︎▶︎ENTER▼︎2ndLIST0
  6. Make sure no functions are selected in the Y= editor (there are none on a fresh calculator, so the graph will show only the plots). Next press WINDOW and set Xscl=1 and Yscl=0. A Yscl of 0 turns off the y-axis tick marks, which would only clutter the box plots.
    2ndQUITWINDOW▼︎▼︎1ENTER▼︎▼︎0ENTER
  7. Press ZOOM 9 (9:ZoomStat). The calculator fits the window to your data and draws both box plots.
    ZOOM9
  8. Press TRACE. The cursor lands on the median of the first plot. The values are Med = 9.5.
    TRACE
  9. Press ◀︎ to step to the first quartile, Q1 = 8.
    ◀︎
  10. One more press of ◀︎ reaches the smallest value, minX = 7.
    ◀︎
  11. Now press ▶︎ four times to walk through Q1, Med, Q3 and maxX. Q3 is 11 and the maximum is 12.
    ▶︎▶︎▶︎▶︎
  12. Press ▼︎ to jump to the second plot (the women's right hand). Its median is 11, higher than 9.5 for the left hand.
    ▼︎
  13. Step left with ◀︎: Q1 = 8, then minX = 4, and one more press lands on the outlier, the lone score of 1 that sits far below the rest.
    ◀︎◀︎◀︎
  14. Which hand were the women more accurate with? According to the box plots, the right: its median (11) is higher than the left-hand median (9.5), even though one woman did very poorly with her right hand.

Comparing the Men's Results and the Two Groupsp. 307

To compare other pairs of lists, you only need to change the Xlist of each plot and redraw. Here you will look at the men first, and then compare women with men, once for left hands and once for right hands.

Tutorial

Compare men, and compare women with men

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. In this setup Plot 1 already uses MLEFT and Plot 2 uses MRGHT (the men). Use ZOOM 9 to fit the window to the men's scores.
    ZOOM9
  2. Press TRACE. The cursor starts on the median of the left-hand plot (Plot 1), which is 7.5. Use ◀︎ and ▶︎ to read the rest: Q1 = 6 and minX = 4.
    TRACE
  3. Press ▼︎ to switch to the right-hand plot. The median is 11, and Q1 = 8.5. For the men the right hand scored clearly higher than the left (11 against 7.5), the opposite of what the earlier children's experiment found for boys.
    ▼︎
  4. Now compare left hands only. Redefine Plot 1 to use WLEFT and Plot 2 to use MLEFT. (Choosing a new name from the NAMES menu replaces the old one.)
    2ndSTAT PLOT1▼︎▼︎2ndLIST92ndQUIT2ndSTAT PLOT2▼︎▼︎2ndLIST7
  5. Zoom to fit and trace the plots. The women's left-hand median is 9.5, while the men's is 7.5. Women were the better left-hand guessers.
    ZOOM9TRACE
  6. Finally compare right hands: Plot 1 uses WRGHT and Plot 2 uses MRGHT.
    2ndSTAT PLOT1▼︎▼︎2ndLIST02ndQUIT2ndSTAT PLOT2▼︎▼︎2ndLIST8ZOOM9TRACE
  7. Trace both plots with ◀︎, ▶︎ and ▼︎. Both groups have the same median, 11, so with the right hand the two groups were about equally good. The women's box is shifted slightly lower because of that one very low score.
    ▶︎
  8. In the original study, boys did not guess as well with their right hands and girls guessed equally well with either hand. That is not what these adult plots show. Is it because adults have learned to adapt, or because 22 people is too small a sample? Box plots are a great way to start a question like that, but they cannot settle it on their own.

Graphing Piecewise Functionsp. 308

A piecewise function follows a different rule on different stretches of X. The trick for typing one on the calculator is that a true comparison from the TEST menu equals 1 and a false one equals 0. Multiplying each rule by the test for its own stretch means only the matching rule survives.

The problem. On a road with a 45 km/h speed limit the fine for speeding is 50, plus 5 for each km/h from 46 to 55, plus 10 for each km/h from 56 to 65, plus 20 for each km/h from 66 and above. Graph the fine Y as a function of the speed X. Written out piece by piece it is:

Speed XFine Y
0 < X ≤ 450
45 < X ≤ 5550 + 5(X − 45)
55 < X ≤ 65100 + 10(X − 55)
65 < X200 + 20(X − 65)

The first piece is zero and needs no term. The other three each become (rule)(lower<X)(X≤upper), and you add them up. Because the graph jumps from 0 to 50 at the speed limit, you also want Dot style so no line is drawn across the jump.

Tutorial

Graph the speeding-fine function

You will switch to Classic display, enter the piecewise function using the TEST menu, choose the dot graph style and then trace the result.

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Press MODE. The calculator should be in Func mode already. Move down to the second page of the MODE screen and select Classic next to MATHPRINT (press ▼︎ eight times, ▶︎, then ENTER).
    MODE▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▶︎ENTER
  2. Leave the MODE screen with 2ndQUIT and open the Y= editor. (A fresh calculator has no functions or stat plots turned on, so there is nothing to turn off.)
    2ndQUITY=
  3. Type the first piece, (50+5(X−45))(45<X)(X≤55). The comparison symbols come from the TEST menu: 2ndTEST then 5:< or 6:≤.
    (50+5(X,T,θ,n−45))(452ndTEST5X,T,θ,n)(X,T,θ,n2ndTEST655)
  4. Add the second piece, +(100+10(X−55))(55<X)(X≤65).
    +(100+10(X,T,θ,n−55))(552ndTEST5X,T,θ,n)(X,T,θ,n2ndTEST665)
  5. Add the last piece, +(200+20(X−65))(65<X).
    +(200+20(X,T,θ,n−65))(652ndTEST5X,T,θ,n)
  6. Now set the graph style of Y₁ to dot. Press 2nd◀︎ to jump to the start of the line, then ◀︎ twice to move onto the style icon at the far left. Each press of ENTER cycles line, thick, above, below, path, animate, dot: press it six times to reach the dot style.
    2nd◀︎◀︎◀︎ENTERENTERENTERENTERENTERENTER
  7. Open the window editor and set Xmin=-2, Xscl=10, Ymin=-5, Yscl=10 and ΔX=1, skipping Xmax and Ymax (the next step sets them). After typing a value, ENTER moves down one line, so ▼︎ skips a line.
    WINDOW(−)2ENTER▼︎10ENTER(−)5ENTER▼︎10ENTERENTER1ENTER
  8. Return to the home screen and store 5 in ΔY. ΔX and ΔY are the distances between the centers of neighbouring pixels. They are found under VARS 1:Window… on the X/Y tab (9:ΔY). Whole-number values give clean numbers when you trace, and ΔY=5 makes Ymax come out as 305.
    2ndQUIT5STO►VARS19ENTER
  9. Press TRACE to graph the function. Type 67 and press ENTER: at 67 km/h the fine is 240.
    TRACE67ENTER
  10. Press ▶︎ once. At 68 km/h the fine is 260. So the fine first exceeds 250 at a speed of 68 km/h.
    ▶︎

Graphing Inequalitiesp. 309

The TEST symbols give the answer 1 for "true" and 0 for "false". Graph the statement Y₄ < Y₅ itself and the graph becomes a picture of where the inequality is true: the line sits at Y = 1 where it holds and at Y = 0 where it does not.

The problem. Graph 0.4x³ − 3x + 5 < 0.2x + 4 and use the TEST operations to see where it is true and where it is false.

Note The Inequality Graphing application (a downloadable Flash app on the real calculator) can also graph inequalities. It is not included in this emulator, so this activity does it by hand.
Tutorial

Explore where 0.4x³ − 3x + 5 < 0.2x + 4 is true

Put the left side in Y₄, the right side in Y₅ and the statement of the inequality in Y₆.

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Press MODE and select Dot (row 5) and Simul (row 6), leaving everything else at its default. Dot mode changes every graph style icon in the Y= editor to a dot.
    MODE▼︎▼︎▼︎▼︎▶︎ENTER▼︎▶︎ENTER2ndQUIT
  2. Open the Y= editor and move down to Y₄.
    Y=▼︎▼︎▼︎
  3. Enter the left side of the inequality in Y₄. After the exponent 3, press ▶︎ to leave the exponent before typing the minus sign.
    .4X,T,θ,n^3▶︎−3X,T,θ,n+5ENTER
  4. Enter the right side in Y₅.
    .2X,T,θ,n+4ENTER
  5. In Y₆ enter the statement (Y₄<Y₅). Open the Y-VARS shortcut menu with ALPHAF4 to paste Y₄ and Y₅ (items 4 and 5) instead of typing them, and use 2ndTEST 5:< for the comparison. The function equals 1 when the statement is true and 0 when it is false.
    (ALPHAF442ndTEST5ALPHAF45)ENTER
  6. Press ZOOM 6 to graph in the standard window. In Dot mode the curves are drawn as dots.
    ZOOM6
  7. Press TRACE and then ▼︎ twice to reach Y₆. At X = 0 the value is 0: the inequality is false there.
    TRACE▼︎▼︎
  8. Press ▶︎ three times. At X ≈ 0.638 the value is 1, so the inequality is true there. (It really switches on at x ≈ 0.316, but TRACE only visits whole pixels, so you see the first pixel past that point.)
    ▶︎▶︎▶︎
  9. Now graph only the part where the inequality is true. Press Y= and turn off Y₄, Y₅ and Y₆: on each line press ◀︎ to highlight the equals sign and ENTER to switch the function off, then ▼︎ to the next one.
    Y=▼︎▼︎▼︎◀︎ENTER▼︎ENTER▼︎ENTER
  10. In Y₇ and Y₈ multiply the inequality by each side: (Y₆)×Y₄ and (Y₆)×Y₅. Where the inequality is false Y₆ is 0, so these functions are 0 there. Where it is true they equal Y₄ and Y₅.
    ▼︎(ALPHAF46)×ALPHAF44ENTER(ALPHAF46)×ALPHAF45ENTER
  11. Press TRACE. Only the intervals where Y₄<Y₅ is true appear as curves; everywhere else the graph is flat at 0. Press ▼︎ to compare Y₇ with Y₈.
    TRACE
  12. The picture agrees with algebra: the inequality is true for x below about −2.97 and between about 0.32 and 2.66.

Solving a System of Nonlinear Equationsp. 310

The problem. Solve x³ − 2x = 2cos(x) with a graph. Said as a system, find where y = x³ − 2x meets y = 2cos(x). There is no algebraic formula for the answer, but a graph plus intersect finds it.

You will also change the zoom factors. Each Zoom In shrinks the window by the factors XFact and YFact. With a factor of 10, every zoom makes the cursor coordinates show one more decimal digit, which is a nice way to watch the answer being pinned down.

Tutorial

Find where x³ − 2x meets 2cos(x)

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Open the Y= editor (a fresh calculator is in the default mode, with no functions on).
    Y=
  2. Enter Y₁ = X³ − 2X. Press ▶︎ after the exponent to leave it.
    X,T,θ,n^3▶︎−2X,T,θ,nENTER
  3. Enter Y₂ = 2cos(X). The COS key pastes cos(.
    2COSX,T,θ,n)
  4. Choose 4:ZDecimal. The graph shows two places where the curves seem to cross.
    ZOOM4
  5. Open the ZOOM MEMORY menu with ZOOM ▶︎ and choose 4:SetFactors.
    ZOOM▶︎4
  6. Set XFact=10 and YFact=10.
    10ENTER10ENTER
  7. Select 2:Zoom In from the ZOOM menu. The free-moving cursor appears. Move it onto the apparent intersection on the right side: 15 presses of ▶︎ and 2 of ▲︎. The X and Y values on the bottom line have one decimal place.
    ZOOM2▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▲︎▲︎
  8. Press ENTER to zoom in. Because the factors are 10, the window is now ten times narrower, and the cursor values have two decimal places. Move the cursor four pixels left onto the intersection.
    ENTER◀︎◀︎◀︎◀︎
  9. Press ENTER again to zoom in once more. Now the coordinates have three decimals.
    ENTER
  10. Now ask the calculator for the exact point. Press 2ndCALC and choose 5:intersect.
    2ndCALC5
  11. Press ENTER to select the first curve, ENTER again for the second curve, and ENTER a third time to accept the guess (the cursor is already near the intersection).
    ENTERENTERENTER
  12. The intersection is at X ≈ 1.4645, Y ≈ 0.2121, so x ≈ 1.4645 solves x³ − 2x = 2cos(x). The coordinates are also stored in X and Y.
  13. Redisplay the original graph with ZOOM 4.
    ZOOM4
  14. Now explore the apparent intersection on the left. Choose 2:Zoom In and move the cursor 11 pixels left and 1 down, then press ENTER.
    ZOOM2◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎▼︎ENTER
  15. Zoom in once more and look at the curves. They come close together but do not touch: the gap never closes, so there is no second solution. If you try 5:intersect here, the calculator reports ERR:NO SIGN CHNG, because the two curves never swap order.
    ENTER2ndCALC5ENTERENTERENTER

Using a Program to Create the Sierpinski Trianglep. 311

The Sierpinski triangle is a famous fractal: a triangle made of three smaller triangles, each made of three smaller ones, and so on forever. This short TI-BASIC program draws it with a "chaos game". Start at a random point in a unit square. Then, 3000 times, pick one of three corners at random and jump half the way to it, plotting a point after every jump. Strangely enough, all those random jumps trace out a perfectly regular triangle.

The program keeps the picture by storing it in picture variable Pic6, so you can bring it back at any time with RecallPic 6. Here is the whole program. The next section shows how to type it in, line by line.

PROGRAM:SIERPINS
:FnOff :ClrDraw
:PlotsOff
:AxesOff
:0→Xmin:1→Xmax
:0→Ymin:1→Ymax
:rand→X:rand→Y
:For(K,1,3000)
PROGRAM:SIERPINS (first part)
Program linesWhat they do
:FnOff :ClrDraw / :PlotsOff / :AxesOffTurn off functions and stat plots, clear old drawings and hide the axes so only the fractal shows.
:0→Xmin:1→Xmax / :0→Ymin:1→YmaxSet the viewing window to the unit square.
:rand→X:rand→YStart at a random point.
:For(K,1,3000) … :EndRepeat the body 3000 times (K only counts the repetitions).
:rand→NPick a random number between 0 and 1.
:If N≤1/3 … :EndIn the first third of the cases, jump halfway toward the corner (0,0).
:If 1/3<N and N≤2/3 … :EndIn the middle third, jump halfway toward the corner (0.5,1).
:If 2/3<N … :EndIn the last third, jump halfway toward the corner (1,0).
:Pt-On(X,Y)Plot the new point.
:StorePic 6After the loop, save the picture as Pic6.

Setting Up the Programp. 311

Create a new program with PRGM ▶︎ ▶︎ 1:Create New, name it SIERPINS and press ENTER. A name prompt starts in ALPHA-lock, so just press the letter keys. (The tutorial uses 2ndA-LOCK, which is harmless there and shows you the letters.) Then type each line below. Press ENTER at the end of a line to start the next one.

Tutorial

Type and run SIERPINS

Each step types one line of the program. Menu items are pasted from the menus, never typed letter by letter.

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Open the PRGM menu, move to the NEW tab with ▶︎ ▶︎, and choose 1:Create New.
    PRGM▶︎▶︎1
  2. Type the name SIERPINS, then press ENTER. The program editor opens with an empty first line.
    2ndA-LOCKSIERPINSENTER
  3. Line 1: FnOff comes from VARS Y-VARS 4:On/Off… 2:FnOff. Then type a colon with ALPHA: and paste ClrDraw from 2ndDRAW (DRAW) 1:ClrDraw.
    VARS▶︎42ALPHA:2ndDRAW1ENTER
  4. Line 2: PlotsOff is in the STAT PLOTS menu, 2ndSTAT PLOT 4:PlotsOff.
    2ndSTAT PLOT4ENTER
  5. Line 3: AxesOff. Open the CATALOG with 2ndCATALOG, press ▼︎ 11 times to reach AxesOff and press ENTER to paste it (then ENTER again for the next line).
    2ndCATALOG▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎ENTERENTER
  6. Line 4: 0→Xmin:1→Xmax. The window variables live under VARS 1:Window… (1:Xmin, 2:Xmax).
    0STO►VARS11ALPHA:1STO►VARS12ENTER
  7. Line 5: 0→Ymin:1→Ymax (items 4 and 5 of the same menu).
    0STO►VARS14ALPHA:1STO►VARS15ENTER
  8. Line 6: rand→X:rand→Y. rand is item 1 of the MATH PRB menu: press MATH ◀︎ to jump to the PRB tab, then 1.
    MATH◀︎1STO►ALPHAXALPHA:MATH◀︎1STO►ALPHAYENTER
  9. Line 7: the loop. For( is item 4 of the PRGM CTL menu. Type K,1,3000).
    PRGM4ALPHAK,1,3000)ENTER
  10. Line 8: rand→N.
    MATH◀︎1STO►ALPHANENTER
  11. Line 9: If N≤1/3. If is PRGM 1, and ≤ is 2ndTEST (TEST) 6.
    PRGM1ALPHAN2ndTEST61÷3ENTER
  12. Line 10: Then is PRGM 2.
    PRGM2ENTER
  13. Line 11: .5X→X.
    .5ALPHAXSTO►ALPHAXENTER
  14. Line 12: .5Y→Y.
    .5ALPHAYSTO►ALPHAYENTER
  15. Line 13: End is PRGM 7.
    PRGM7ENTER
  16. Line 14: If 1/3<N and N≤2/3. The word and is in the TEST LOGIC menu: 2ndTEST ▶︎ 1:and.
    PRGM11÷32ndTEST5ALPHAN2ndTEST▶︎1ALPHAN2ndTEST62÷3ENTER
  17. Line 15: Then.
    PRGM2ENTER
  18. Line 16: .5(.5+X)→X.
    .5(.5+ALPHAX)STO►ALPHAXENTER
  19. Line 17: .5(1+Y)→Y.
    .5(1+ALPHAY)STO►ALPHAYENTER
  20. Line 18: End.
    PRGM7ENTER
  21. Line 19: If 2/3<N.
    PRGM12÷32ndTEST5ALPHANENTER
  22. Line 20: Then.
    PRGM2ENTER
  23. Line 21: .5(1+X)→X.
    .5(1+ALPHAX)STO►ALPHAXENTER
  24. Line 22: .5Y→Y.
    .5ALPHAYSTO►ALPHAYENTER
  25. Line 23: End.
    PRGM7ENTER
  26. Line 24: Pt-On(X,Y) draws a point. It is on the POINTS tab of the DRAW menu: 2ndDRAW ▶︎ 1:Pt-On(.
    2ndDRAW▶︎1ALPHAX,ALPHAY)ENTER
  27. Line 25: End closes the For( loop.
    PRGM7ENTER
  28. Line 26: StorePic 6 is on the STO tab of the DRAW menu: 2ndDRAW ▶︎ ▶︎ 1:StorePic. Type 6 after it.
    2ndDRAW▶︎▶︎16
  29. The program is finished. Leave the editor with 2ndQUIT (QUIT). Now run it: press PRGM and choose SIERPINS from the EXEC menu (item 1). It is pasted on the home screen as prgmSIERPINS.
    2ndQUITPRGM1
  30. Press ENTER to run it. The calculator plots 3000 points, which takes a moment, and the finished triangle stays on the graph screen.
    ENTER
  31. Press CLEAR to return to the home screen, which reports Done.
    CLEAR
  32. The picture was saved in Pic6. Bring it back with RecallPic 6: 2ndDRAW ▶︎ ▶︎ 2:RecallPic, then 6 and ENTER. You will see the Sierpinski triangle.
    2ndDRAW▶︎▶︎26ENTER
  33. The program turned the graph axes off. To put them back, open the FORMAT screen with 2ndFORMAT, press ▼︎ three times to the AxesOn AxesOff row, and press ENTER to choose AxesOn.
    2ndFORMAT▼︎▼︎▼︎ENTER
Tip After a program has changed your window, graph styles or modes, those settings stay changed. The program does not restore them. That is why this one ends with a reminder to turn the axes back on.

Graphing Cobweb Attractorsp. 312

Many sequences are built by feeding each answer back into the same rule: u(n) = f(u(n−1)). A cobweb diagram draws the rule f together with the line y = x and then shows the sequence bouncing between them. Where the web spirals in, the value is an attractor. Where it spirals away, it is a repeller. This is what Web format in sequence mode does for you.

The rule here is the famous logistic map, u(n) = K·u(n−1)·(1 − u(n−1)). Watch what the growth constant K does: K = 2.9 gives one attractor, K = 3.44 gives two (the sequence alternates between two values), and K = 3.54 gives four.

Tutorial

Trace a cobweb of u(n) = K·u(n−1)·(1−u(n−1))

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Press MODE and switch from Func to Seq (move to the fourth row and press ▶︎ three times). Press ENTER to select it, then 2ndQUIT to leave.
    MODE▼︎▼︎▼︎▶︎▶︎▶︎ENTER2ndQUIT
  2. Open the FORMAT screen with 2ndFORMAT. In sequence mode its first row offers the axes types Time Web uv vw uw. Move to Web with ▶︎ and press ENTER. Leave the screen with 2ndQUIT.
    2ndFORMAT▶︎ENTER2ndQUIT
  3. Open the Y= editor. In Seq mode the first line is nMin, so press ▼︎ to get to the u(n)= line.
    Y=▼︎
  4. Type the rule K×u(n−1)×(1−u(n−1)). The letter u is on 2ndu, and X,T,θ,n types the sequence variable n. Press ENTER to go to the starting value line.
    ALPHAK×2ndu(X,T,θ,n−1)(1−2ndu(X,T,θ,n−1))ENTER
  5. On the u(nMin)= line, type the starting value 0.01 and press ENTER.
    0.01ENTER
  6. Go to the home screen and store 2.9 in K.
    2ndQUIT2.9STO►ALPHAKENTER
  7. Open the window editor and set it: nMin=0, nMax=10, PlotStart=1, PlotStep=1, Xmin=0, Xmax=1, Xscl=1, Ymin=−.26, Ymax=1.1, Yscl=1.
    WINDOW0ENTER10ENTER1ENTER1ENTER0ENTER1ENTER1ENTER(−).26ENTER1.1ENTER1ENTER
  8. Press TRACE. The graph shows the curve y = K·x·(1−x) and the line y = x. The trace cursor starts at the first value of the sequence, 0.01.
    GRAPHTRACE
  9. Press ▶︎ to walk along the cobweb. Each step moves vertically to the curve, then horizontally to the line, spiralling up toward the fixed point of the map.
    ▶︎▶︎▶︎
  10. Keep pressing ▶︎. The cursor creeps up the staircase and settles near a single point. This is a cobweb with one attractor (the exact fixed point for K = 2.9 is 1 − 1/2.9 ≈ 0.655).
    ▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎
  11. Now change K to 3.44 on the home screen, draw the graph and trace it. The web no longer settles on one point: it ends up in a rectangle, hopping between two values. That is a cobweb with two attractors.
    2ndQUIT3.44STO►ALPHAKENTERGRAPHTRACE▶︎▶︎▶︎
  12. Finally set K to 3.54. The sequence now cycles through four values, giving a cobweb with four attractors. As K grows further the behaviour becomes chaotic.
    2ndQUIT3.54STO►ALPHAKENTERGRAPHTRACE▶︎▶︎▶︎
Tip With nMax=10 the web only shows ten iterations. For K = 3.44 and 3.54 the pattern is clearer if you give the sequence more time: open WINDOW and raise nMax to 50 or more, then graph again.

Using a Program to Guess the Coefficientsp. 313

This program is a little game. It graphs A·sin(BX) where A and B are secret random whole numbers from 1 to 10. You enter your guesses C and D, and the program graphs C·sin(DX) as a moving path over it and tells you which of your two guesses are right. It keeps going until you get both.

The picture holds all the clues. A is the height of the peaks, and B is the number of complete waves that fit between x = 0 and x = 2π (the right half of the screen).

Note The program changes your window, graph styles and modes, and programs generally do not put things back. To return everything to factory settings afterward, reset the defaults from 2ndMEM (MEM), 7:Reset…, 2:Defaults…, 2:Reset. The downloadable "Guess My Coefficients" Flash app plays a similar game for linear, quadratic and absolute-value functions. It is not part of this emulator.
PROGRAM:GUESS
:PlotsOff :Func
:FnOff :Radian
:ClrHome
:"Asin(BX)"→Y1
:"Csin(DX)"→Y2
:GraphStyle(1,1)
:GraphStyle(2,5)
PROGRAM:GUESS (the start)
Program linesWhat they do
:PlotsOff :Func / :FnOff :Radian / :ClrHomeStart clean: plots off, function mode, radians, empty home screen.
:"Asin(BX)"→Y1 / :"Csin(DX)"→Y2Store the secret function and your guess as text in Y₁ and Y₂.
:GraphStyle(1,1) / :GraphStyle(2,5)Draw Y₁ as a line (style 1) and Y₂ as a path (style 5).
:FnOff 2Hide your guess at first.
:randInt(1,10)→A / :randInt(1,10)→B / :0→C:0→DChoose the secret A and B and clear C and D.
:-2π→Xmin … :1→YsclSet a window of −2π to 2π across and −10 to 10 up.
:DispGraph / :PauseShow the secret curve and wait for ENTER.
:FnOn 2 / :Lbl Z / :Prompt C,DTurn the guess back on, mark a place to loop back to, and ask for C and D.
:If C=A / :Text(1,1,"C IS OK") …Print a verdict for each coefficient on the graph screen.
:If C=A and D=B / :Stop / :Goto ZEnd when both are right; otherwise loop and ask again.

Typing and Playing the GUESS Programp. 313

Tutorial

Type and play GUESS

This is a longer program. Each step enters one line. Items from the CATALOG are pasted by moving down to them; everything else is in the menus noted in the step.

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Create a new program: PRGM ▶︎ ▶︎ 1:Create New.
    PRGM▶︎▶︎1
  2. Name it GUESS and press ENTER.
    2ndA-LOCKGUESSENTER
  3. Line 1: PlotsOff :Func. PlotsOff is 2ndSTAT PLOT 4. Func is in the CATALOG. Press 2ndCATALOG, then ALPHAF to jump to the entries starting with F, and ▼︎ 16 times to Func.
    2ndSTAT PLOT4ALPHA:2ndCATALOGALPHAF▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎ENTERENTER
  4. Line 2: FnOff :Radian. Paste FnOff from VARS Y-VARS 4:On/Off… 2:FnOff. In the CATALOG, ALPHAR jumps to Radian.
    VARS▶︎42ALPHA:2ndCATALOGALPHARENTERENTER
  5. Line 3: ClrHome is in the I/O menu: PRGM ▶︎ 8:ClrHome.
    PRGM▶︎8ENTER
  6. Line 4: "Asin(BX)"→Y1. Quotation marks come from ALPHA". The secret function is stored as text. Paste Y₁ with the YVAR shortcut menu, ALPHAF4 1.
    ALPHA"ALPHAASINALPHABX,T,θ,n)ALPHA"STO►ALPHAF41ENTER
  7. Line 5: "Csin(DX)"→Y2.
    ALPHA"ALPHACSINALPHADX,T,θ,n)ALPHA"STO►ALPHAF42ENTER
  8. Line 6: GraphStyle(1,1). GraphStyle( is item H of the PRGM CTL menu. The first number is the function, the second is the style (1 = line).
    PRGMALPHAH1,1)ENTER
  9. Line 7: GraphStyle(2,5). Style 5 is path.
    PRGMALPHAH2,5)ENTER
  10. Line 8: FnOff 2 hides Y₂ for now.
    VARS▶︎422ENTER
  11. Line 9: randInt(1,10)→A. randInt( is item 5 of the MATH PRB menu (MATH ◀︎ 5).
    MATH◀︎51,10)STO►ALPHAAENTER
  12. Line 10: randInt(1,10)→B.
    MATH◀︎51,10)STO►ALPHABENTER
  13. Line 11: 0→C:0→D.
    0STO►ALPHACALPHA:0STO►ALPHADENTER
  14. Line 12: -2π→Xmin. The π symbol is 2ndπ and the minus is the negation key (−). Xmin is VARS 1:Window… 1:Xmin.
    (−)22ndπSTO►VARS11ENTER
  15. Line 13: 2π→Xmax.
    22ndπSTO►VARS12ENTER
  16. Line 14: π/2→Xscl.
    2ndπ÷2STO►VARS13ENTER
  17. Line 15: -10→Ymin.
    (−)10STO►VARS14ENTER
  18. Line 16: 10→Ymax.
    10STO►VARS15ENTER
  19. Line 17: 1→Yscl.
    1STO►VARS16ENTER
  20. Line 18: DispGraph is in the I/O menu: PRGM ▶︎ 4.
    PRGM▶︎4ENTER
  21. Line 19: Pause is PRGM 8 in the CTL menu.
    PRGM8ENTER
  22. Line 20: FnOn 2 turns Y₂ back on (VARS Y-VARS 4:On/Off… 1:FnOn).
    VARS▶︎412ENTER
  23. Line 21: Lbl Z is PRGM 9. Type the label Z.
    PRGM9ALPHAZENTER
  24. Line 22: Prompt C,D is PRGM ▶︎ 2.
    PRGM▶︎2ALPHAC,ALPHADENTER
  25. Line 23: DispGraph.
    PRGM▶︎4ENTER
  26. Line 24: Pause.
    PRGM8ENTER
  27. Line 25: If C=A. The equals sign is 2ndTEST (TEST) 1.
    PRGM1ALPHAC2ndTEST1ALPHAAENTER
  28. Line 26: Text(1,1,"C IS OK"). Text( is 2ndDRAW (DRAW) item 0. Spaces inside the quotation marks are typed with ALPHA␣. The first two numbers are the pixel row and column where the text appears.
    2ndDRAW01,1,ALPHA"ALPHACALPHA␣ALPHAIALPHASALPHA␣ALPHAOALPHAKALPHA")ENTER
  29. Line 27: If C≠A. The not-equal sign is 2ndTEST 2.
    PRGM1ALPHAC2ndTEST2ALPHAAENTER
  30. Line 28: Text(1,1,"C IS WRONG").
    2ndDRAW01,1,ALPHA"ALPHACALPHA␣ALPHAIALPHASALPHA␣ALPHAWALPHARALPHAOALPHANALPHAGALPHA")ENTER
  31. Line 29: If D=B.
    PRGM1ALPHAD2ndTEST1ALPHABENTER
  32. Line 30: Text(1,50,"D IS OK") (the column is 50 so the text appears on the right half of the screen).
    2ndDRAW01,50,ALPHA"ALPHADALPHA␣ALPHAIALPHASALPHA␣ALPHAOALPHAKALPHA")ENTER
  33. Line 31: If D≠B.
    PRGM1ALPHAD2ndTEST2ALPHABENTER
  34. Line 32: Text(1,50,"D IS WRONG").
    2ndDRAW01,50,ALPHA"ALPHADALPHA␣ALPHAIALPHASALPHA␣ALPHAWALPHARALPHAOALPHANALPHAGALPHA")ENTER
  35. Line 33: DispGraph.
    PRGM▶︎4ENTER
  36. Line 34: Pause.
    PRGM8ENTER
  37. Line 35: If C=A and D=B. and is 2ndTEST ▶︎ 1.
    PRGM1ALPHAC2ndTEST1ALPHAA2ndTEST▶︎1ALPHAD2ndTEST1ALPHABENTER
  38. Line 36: Stop is PRGM F.
    PRGMALPHAFENTER
  39. Line 37: Goto Z is PRGM 0. Type the label Z.
    PRGM0ALPHAZ
  40. Quit the editor with 2ndQUIT and run the program: press PRGM and choose GUESS.
    2ndQUITPRGM1
  41. Press ENTER. The program picks A and B, sets the window and shows the secret curve A sin(BX). It then waits at Pause. Study the picture: the height of the highest peak is A, and the number of full waves between x = 0 and x = 2π (the right half of the screen) is B.
    ENTER
  42. Press ENTER to continue. Your guess is turned on and the program asks C=?. Make a guess of C = 5 and press ENTER. Then it asks D=?. Guess D = 3 and press ENTER.
    ENTER5ENTER3ENTER
  43. The program draws both curves and pauses. Press ENTER. Verdicts such as C IS WRONG or D IS OK are printed on the graph, and it pauses again.
    ENTER
  44. Press ENTER once more. Unless you were lucky, you go back to Lbl Z and the C=? prompt. For the demonstration, cheat: answer with the secret variables themselves. Type A and press ENTER for C, then B and ENTER for D.
    ENTERALPHAAENTERALPHABENTER
  45. Two more presses of ENTER (for the graph and the verdict). Both coefficients now match, C IS OK and D IS OK appear, and Stop ends the program. Run it again any time for a new random puzzle.
    ENTERENTER

Graphing the Unit Circle and Trigonometric Curvesp. 315

Any function you can plot in Func mode can also be plotted in Par mode: let the x-part be T and the y-part be f(T). Here you plot the unit circle (cos T, sin T) and the sine curve (T, sin T) at the same time. Because Simul mode draws both curves together, you can watch the sine wave "unwrap" from the circle: the height of each point on the circle becomes the height of the wave at x = T.

Tutorial

Unwrap the sine curve from the unit circle

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Press MODE and select Par (fourth row, one press of ▶︎) and Simul (sixth row). Leave everything else at its default. Press 2ndQUIT to leave the MODE screen.
    MODE▼︎▼︎▼︎▶︎ENTER▼︎▼︎▶︎ENTER2ndQUIT
  2. Press WINDOW and set Tmin=0, Tmax=2π, Tstep=.1, Xmin=-2, Xmax=7.4, Xscl=π/2, Ymin=-3, Ymax=3 and Yscl=1. Type π with 2ndπ.
    WINDOW0ENTER22ndπENTER.1ENTER(−)2ENTER7.4ENTER2ndπ÷2ENTER(−)3ENTER3ENTER1ENTER
  3. Open the Y= editor. (A fresh calculator has no functions selected, so there is nothing to switch off.) In Par mode each curve has an X line and a Y line. Define the circle in the first pair: X₁ᴛ=cos(T) and Y₁ᴛ=sin(T). In this mode the X,T,θ,n key types the parameter T.
    Y=COSX,T,θ,n)ENTERSINX,T,θ,n)ENTER
  4. Define the sine curve in the second pair: X₂ᴛ=T and Y₂ᴛ=sin(T).
    X,T,θ,nENTERSINX,T,θ,n)ENTER
  5. Press GRAPH. Both curves are drawn together, one small step of T at a time. (While the graph is being drawn you can press ENTER to pause and ENTER again to continue, and so watch the unwrapping in slow motion.)
    GRAPH
  6. Press TRACE to read values. The cursor starts at T = 0 on the circle, at the point (1, 0).
    TRACE
  7. Press ▶︎ 16 times to move to T = 1.6, near the top of the circle. X is almost 0 and Y is almost 1.
    ▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎
Note You can generalize the unwrapping: replace sin(T) in Y₂ᴛ with any other trig function to unwrap that function instead. To redraw the graph, switch the functions off and back on in the Y= editor, or use the FnOff and FnOn commands on the home screen.

Finding the Area between Curvesp. 316

The problem. Find the area of the region bounded by f(x) = 300x/(x² + 625) above, g(x) = 3cos(0.1x) below, between their left-hand intersection and x = 75.

The area is the integral of (upper − lower) from the left intersection to 75. You will first use intersect to get the lower limit, then Shade( to see the region, and finally fnInt( to calculate its area.

Tutorial

Area between 300x/(x²+625) and 3cos(0.1x)

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Press WINDOW and set Xmin=0, Xmax=100, Xscl=10, Ymin=-5, Ymax=10, Yscl=1 and Xres=1.
    WINDOW0ENTER100ENTER10ENTER(−)5ENTER10ENTER1ENTER1ENTER
  2. Open the Y= editor and enter the upper function in Y₁: 300X/(X²+625). The parentheses matter, because the divide key does not group what comes after it.
    Y=300X,T,θ,n÷(X,T,θ,nx²+625)ENTER
  3. Enter the lower function in Y₂: 3cos(.1X).
    3COS.1X,T,θ,n)
  4. Press 2ndCALC (CALC) and choose 5:intersect. The graph appears and asks for the first curve. Press ENTER to accept Y₁, and ENTER again for the second curve, Y₂.
    2ndCALC5ENTERENTER
  5. Now you are asked for a Guess? close to the left-hand intersection. Type 5 and press ENTER (you could also trace to the point with ◀︎). The intersection is found at X ≈ 5.569. That value is stored in both Ans and X: it is the lower limit of the integral.
    5ENTER
  6. Return to the home screen with 2ndQUIT (QUIT). Choose Shade( from the DRAW menu, 2ndDRAW 7, and complete it as Shade(Y₂,Y₁,Ans,75). The Y-VARS shortcut ALPHAF4 pastes Y₁ and Y₂, and 2ndANS pastes Ans. Press ENTER to see the area shaded between the two curves, from the intersection to X = 75.
    2ndQUIT2ndDRAW7ALPHAF42,ALPHAF41,2ndANS,75)ENTER
  7. Return to the home screen and open fnInt( with MATH 9. Fill in the template: lower limit Ans (2ndANS), upper limit 75, function Y₁−Y₂. The variable is already X. (In Classic mode this key pastes the text fnInt( instead; then type Y₁−Y₂,X,Ans,75).) Press ENTER.
    2ndQUITMATH92ndANS▶︎75▶︎ALPHAF41−ALPHAF42ENTER
  8. The area of the shaded region is 325.839962 square units.

Using Parametric Equations: Ferris Wheel Problemp. 317

Parametric equations describe two things moving at once, each position depending on time T. This activity follows a Ferris wheel passenger and a ball thrown toward her, and asks when they are closest.

The wheel. The diameter is d = 20 m, so the radius is r = 10 m. It turns counterclockwise once every 12 seconds, so the angle is α = 2πT/12 = πT/6. With (0, 0) at the bottom of the wheel, the passenger is at X(T) = r cos α and Y(T) = r + r sin α. At T = 0 she is at the rightmost point, (10, 10).

The ball. A person standing 25 m to the right of the wheel's lowest point, at the same height, throws the ball at v₀ = 22 m/s, at an angle θ = 66° above the horizontal. With g = 9.8 m/s², the ball is at X(T) = 25 − 22T cos 66° and Y(T) = 22T sin 66° − (9.8/2)T².

Tutorial

Graph the passenger and the ball and look closely at the crossing

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Press MODE and select Par and Simul. Simul mode plots both objects at the same time, as if they were moving together.
    MODE▼︎▼︎▼︎▶︎ENTER▼︎▼︎▶︎ENTER2ndQUIT
  2. Press WINDOW and set Tmin=0, Tmax=12, Tstep=.1, Xmin=-13, Xmax=34, Xscl=10, Ymin=0, Ymax=31 and Yscl=10.
    WINDOW0ENTER12ENTER.1ENTER(−)13ENTER34ENTER10ENTER0ENTER31ENTER10ENTER
  3. Open the Y= editor and enter the passenger: X₁ᴛ=10cos(πT/6).
    Y=10COS2ndπX,T,θ,n÷6)ENTER
  4. Y₁ᴛ=10+10sin(πT/6).
    10+10SIN2ndπX,T,θ,n÷6)ENTER
  5. Now the ball: X₂ᴛ=25−22Tcos(66°). The degree symbol is 2ndANGLE 1:°. Because the calculator is in Radian mode, the ° mark converts 66 degrees for you.
    25−22X,T,θ,nCOS662ndANGLE1)ENTER
  6. Y₂ᴛ=22Tsin(66°)−(9.8/2)T².
    22X,T,θ,nSIN662ndANGLE1)−(9.8÷2)X,T,θ,nx²
  7. Set the graph style of the ball's path, X₂ᴛ, to path, which draws a moving dot with a trail. Move up to the X₂ᴛ line with ▲︎, press 2nd◀︎ to jump to the start of the line, and ◀︎ twice onto the style icon. In Par mode the styles cycle line, thick, path, animate, dot, so press ENTER twice to get path.
    ▲︎2nd◀︎◀︎◀︎ENTERENTER
  8. Press GRAPH and watch closely as both curves are plotted. The ball and the passenger seem to come closest where the two paths cross in the upper-right part of the wheel.
    GRAPH
  9. Concentrate on that spot. Press WINDOW and change it to Tmin=1, Tmax=3, Tstep=.03, Xmin=0, Xmax=23.5, Xscl=10, Ymin=10, Ymax=25.5 and Yscl=10.
    WINDOW1ENTER3ENTER.03ENTER0ENTER23.5ENTER10ENTER10ENTER25.5ENTER10ENTER
  10. Press TRACE and then ▶︎ 47 times to move along the wheel to T = 2.41. At the bottom the display shows T, X and Y: the passenger is at about X = 3.04, Y = 19.53.
    TRACE▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎
  11. To compare positions at the same moment, you would now press ▼︎ to jump to the ball's path. The next, separate tutorial does exactly that.
Tutorial

Compare the ball with the passenger at the same time

The guide moves between the two paths with the down-arrow key and keeps the same T, giving you a snapshot of both objects at one instant.

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. You are tracing the passenger at T = 2.41. Press ▼︎ to move to the path of the ball. T does not change, so the cursor shows where the ball is at that same moment.
    ▼︎
  2. At T = 2.41 the ball is at X = 3.43, Y = 19.98, slightly up and to the right of the passenger. Both are heading toward the crossing point of the two paths. The passenger is a little closer to it, and the ball is faster, so they arrive almost together: working it out, the passenger passes the crossing at T ≈ 2.49 and the ball at T ≈ 2.50, and their closest approach is only a few centimetres. Use ◀︎ and ▶︎ on each path to take more snapshots in time.
Tip Experiment with the graph styles of the two curves: for example path for X₁ᴛ and animate for X₂ᴛ. In Par mode the style icon cycles line, thick, path, animate, dot as you press ENTER on it. Then press GRAPH to see a point circling the wheel while the ball flies through the air.

Demonstrating the Fundamental Theorem of Calculusp. 319

The Fundamental Theorem of Calculus says that integrating and differentiating undo each other. You can see this on the calculator by graphing functions that are defined by fnInt( (a numerical integral) and nDeriv( (a numerical derivative). In this activity you will check two statements: the integral of 1/t from 1 to x equals ln x, and the derivative of that integral is 1/x. Then you will see that three different integrals have exactly the same derivative.

Problem 1: an Integral and Its Derivativep. 319

Show graphically that F(x) = ∫₁ˣ (1/t) dt = ln(x) for x > 0, and that d/dx [∫₁ˣ (1/t) dt] = 1/x.

Tutorial

Graph the integral of 1/t and compare it with ln(x)

Both the integral and the derivative templates are on the MATH menu (MATH 9:fnInt( and 8:nDeriv() and on the FUNC shortcut menu (ALPHAF2).

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Press WINDOW and set Xmin=.01, Xmax=10, Xscl=1, Ymin=-1.5, Ymax=2.5, Yscl=1 and Xres=3. A larger Xres makes the graph faster to draw, which matters because every point needs a numerical integral.
    WINDOW.01ENTER10ENTER1ENTER(−)1.5ENTER2.5ENTER1ENTER3ENTER
  2. In the Y= editor, press MATH 9 to paste the integral template with empty boxes. Fill in the boxes one by one, moving with ▶︎: the lower limit is 1 and the upper limit is X, the function is 1/T, and the variable of integration is T. (The last box contains X already, so erase it with DEL and type T.)
    Y=MATH91▶︎X,T,θ,n▶︎1÷ALPHAT▶︎DELALPHATENTER
  3. In Y₂ type ln(X). Y₁ keeps the line style. Give Y₂ the path style: press 2nd◀︎ to jump to the start of the line, ◀︎ twice to reach the style icon, and ENTER four times.
    LNX,T,θ,n)2nd◀︎◀︎◀︎ENTERENTERENTERENTER
  4. Press TRACE. The cursor starts on Y₁. The values of X and Y are shown at the bottom, and the integral Y is almost exactly ln(X).
    TRACE
  5. Press ▼︎ to switch to Y₂, ln(X), at the same X. Use ◀︎ and ▶︎ to move around, and press ▲︎ and ▼︎ to compare the two functions at several values of X. They agree to many digits: the integral really is ln(x).
    ▼︎
  6. Now check the derivative. In the Y= editor, switch off Y₁ and Y₂ (highlight each = with ◀︎ and press ENTER), and move down to Y₃.
    Y=◀︎ENTER▼︎ENTER▼︎
  7. In Y₃ paste the derivative template with MATH 8: nDeriv(. Put Y₁ in the function box (use ALPHAF4 1) and X in the box for the point at which to differentiate. Y₃ is the numerical derivative of the integral.
    MATH8ALPHAF41▶︎X,T,θ,nENTER
  8. In Y₄ type the function 1/X.
    1÷X,T,θ,n
  9. Make Y₄ thick so the two graphs can be told apart: 2nd◀︎, ◀︎ twice, and one press of ENTER.
    2nd◀︎◀︎◀︎ENTER
  10. Press TRACE and use the arrow keys to compare Y₃ and Y₄. They match: the derivative of the integral of 1/t is 1/x.
    TRACE

Problem 2: Three Integrals with the Same Derivativep. 320

Now explore the three functions ∫₋₂ˣ t² dt, ∫₀ˣ t² dt and ∫₂ˣ t² dt. They differ only in their lower limits, so they will differ by a constant. You can define all three with a single fnInt( whose lower limit is a list {−2,0,2}; the calculator then plots one curve for each list element.

Tutorial

Graph three integrals at once and show they share a derivative

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Open the Y= editor and move to Y₅ (four presses of ▼︎). (A fresh calculator has no other functions switched on.) Press MATH 9 for the integral template. In the lower-limit box type the list {−2,0,2}, using 2nd{ for the left brace and 2nd} for the right brace.
    Y=▼︎▼︎▼︎▼︎MATH92nd{(−)2,0,22nd}
  2. Move to the next box, the upper limit, and type X. Move on to the function box and type T². Move on to the variable box, replace the X with T, and press ENTER.
    ▶︎X,T,θ,n▶︎ALPHATx²▶︎DELALPHATENTER
  3. Press ZOOM 6 (6:ZStandard). The graphs appear gradually, because each point needs a calculation of the integral. That can take some time.
    ZOOM6
  4. Press TRACE and then ▲︎ / ▼︎ to move between the three curves. They look identical, only shifted up or down by a constant.
    TRACE
  5. Open the Y= editor, go below Y₅ and define Y₆ as the numerical derivative of Y₅: MATH 8 nDeriv(, function Y₅ (from ALPHAF4 5) and the point X.
    Y=▼︎▼︎▼︎▼︎▼︎MATH8ALPHAF45▶︎X,T,θ,nENTER
  6. Press TRACE. Although the three graphs of Y₅ are different, they share the same derivative, which is the single parabola x² that Y₆ shows. The constant that distinguishes antiderivatives disappears when you differentiate.
    TRACE

Computing Areas of Regular N-Sided Polygonsp. 321

A regular polygon with N equal sides, whose corners are all a distance B from the center, has area A = N·B²·sin(π/N)·cos(π/N). With N = 4 you get a square, with N = 8 an octagon and with N = 12 a dodecagon. As N grows the polygon fills out into a circle of radius B, so the area should approach πB².

The equation solver is ideal for exploring a formula like this: you store the equation once, type values for any variables you know, and solve for the one you do not. You will then graph the area as a function of N to see it level off.

Solving for Each Variablep. 321

Tutorial

Store the polygon formula and solve for A and B

The equation is stored as 0 = A − N·B²·sin(π/N)·cos(π/N). The solver lists the variables in the order A, N, B.

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Press MATH and choose B:Solver… (type ALPHAB). The equation editor opens with eqn:0= already on screen. (If you see the interactive solver editor instead, press ▲︎ to get back to the equation editor.)
    MATHALPHAB
  2. Because 0= is already there, type only the rest of the formula: A−NB²sin(π/N)cos(π/N). Use 2ndπ for π, and the divide key for the fractions.
    ALPHAA−ALPHANALPHABx²SIN2ndπ÷ALPHAN)COS2ndπ÷ALPHAN)
  3. Press ENTER. The interactive solver editor lists A, N and B, each equal to 0, and a bound line at the bottom.
    ENTER
  4. Find the area of a square (N = 4) whose corners are 6 cm from the center (B = 6). The cursor is on A. Press ▼︎ to move to N and type 4, press ENTER to move to B, then type 6 and press ENTER.
    ▼︎4ENTER6ENTER
  5. Press ▲︎ three times to put the cursor back on A, then press ALPHASOLVE (the green SOLVE legend over ENTER). The solution for A is displayed: 72 cm², which is exactly 2B².
    ▲︎▲︎▲︎ALPHASOLVE
  6. Now work backward: what B do you need to get a given area with several numbers of sides? Type 200 for A, press ENTER, then 6 for N, press ENTER. The cursor is now on B. Press ALPHASOLVE to solve for B. A hexagon of area 200 needs B ≈ 8.7738.
    200ENTER6ENTERALPHASOLVE
  7. Change N to 8: press ▲︎ to move to N, type 8 and ENTER, then press ALPHASOLVE (the cursor has moved down to B). For N = 8, B ≈ 8.4090.
    ▲︎8ENTERALPHASOLVE
  8. Do the same for N = 9 (B ≈ 8.3152) …
    ▲︎9ENTERALPHASOLVE
  9. … and for N = 10 (B ≈ 8.2494). The more sides there are, the smaller the radius needed for the same area, because the polygon gets closer to a circle.
    ▲︎10ENTERALPHASOLVE
  10. Now fix B = 6 and find the area for larger and larger N. Type 6 for B and press ENTER. The circle of radius 6 has area π·6² ≈ 113.097, which is what the polygons should approach. Press ▲︎ three times to reach A, then move down to N, type 10, press ENTER, go back up to A (▲︎ twice), and solve with ALPHASOLVE.
    6ENTER▲︎▲︎▲︎▼︎10ENTER▲︎▲︎ALPHASOLVE
  11. Repeat for N = 100. From A, press ▼︎, type 100, ENTER, then ▲︎ ▲︎ and ALPHASOLVE.
    ▼︎100ENTER▲︎▲︎ALPHASOLVE
  12. N = 150.
    ▼︎150ENTER▲︎▲︎ALPHASOLVE
  13. N = 1000.
    ▼︎1000ENTER▲︎▲︎ALPHASOLVE
  14. And N = 10000. The area is 113.0973, matching πB² = 113.0973 to the digits shown. As N gets large, A approaches πB².
    ▼︎10000ENTER▲︎▲︎ALPHASOLVE

Graphing the Area as N Gets Largep. 322

To see the same thing visually, graph the area with X standing for N, together with the horizontal line Y = πB². The curve flattens out onto the line, which is a horizontal asymptote: the area of the circle.

Tutorial

Graph the polygon area and its limit

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. The variable B is still 6 from the solver (this tutorial stores it again for you). Press WINDOW and set Xmin=0, Xmax=200, Xscl=10, Ymin=0, Ymax=150, Yscl=10 and Xres=1.
    WINDOW0ENTER200ENTER10ENTER0ENTER150ENTER10ENTER1ENTER
  2. Open the Y= editor and enter the area, using X in place of N: Y₁=X·B²·sin(π/X)·cos(π/X).
    Y=X,T,θ,nALPHABx²SIN2ndπ÷X,T,θ,n)COS2ndπ÷X,T,θ,n)ENTER
  3. In Y₂ type the area of the circle, πB².
    2ndπALPHABx²
  4. Give Y₂ the dot style so it looks like an asymptote: 2nd◀︎ to the start of the line, ◀︎ twice onto the style icon, and ENTER six times.
    2nd◀︎◀︎◀︎ENTERENTERENTERENTERENTERENTER
  5. Press TRACE and type 100, then ENTER: for 100 sides the area is 113.02. The curve is already almost on top of the line.
    TRACE100ENTER
  6. Now 150.
    150ENTER
  7. And 188. As X increases, Y converges to π·6² ≈ 113.097. The line Y₂ = πB² is a horizontal asymptote of Y₁: the area of a regular N-sided polygon with radius r approaches the area of the circle, πr², as N gets large.
    188ENTER

Computing and Graphing Mortgage Paymentsp. 323

The problem. You are a loan officer who has just closed a 30-year home mortgage at 8 percent interest with monthly payments of 800. The new owners want to know how much of their 240th payment, 20 years from now, goes to interest and how much goes to principal.

You will use the TVM Solver (time-value-of-money) to find out how large the mortgage is. Then you will graph the principal and interest parts of every payment with ΣPrn( and ΣInt(, two functions from the FINANCE menu, and finally check the 240th payment with bal(.

Finding the Mortgage Amount with the TVM Solverp. 323

Tutorial

Find the size of the loan

The loan has 360 monthly payments (30 years × 12) of 800 at an annual rate of 8%.

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. Press MODE and set the fixed-decimal mode to 2 decimal places: on the second row, press ▶︎ three times to reach 2 and ENTER. Leave the other settings at their defaults. Then leave the MODE screen with 2ndQUIT.
    MODE▼︎▶︎▶︎▶︎ENTER2ndQUIT
  2. Press APPS and choose 1:Finance…, then 1:TVM Solver…. (Pressing ENTER twice does both.) The TVM Solver is a list of the variables in a loan.
    APPSENTERENTER
  3. Enter the loan: N=360 and I%=8. Press ENTER to skip PV (this is the number you want to find), type 800 for PMT, 0 for FV (a loan is worth nothing once it is paid off), and 12 for both P/Y and C/Y (payments and compounding periods per year).
    360ENTER8ENTERENTER800ENTER0ENTER12ENTER12ENTER
  4. Positive 800 shows the payment as a cash inflow (the lender receives it), which makes the payment amounts show up as positive numbers on the graph later. PMT:END is selected, because a payment is due at the end of each period.
  5. Move the cursor onto the PV= line by pressing ▲︎ five times, and press ALPHASOLVE (SOLVE). The present value, the mortgage amount, is displayed in the PV= line: −109,026.80. (It is negative because the lender hands that money over.)
    ▲︎▲︎▲︎▲︎▲︎ALPHASOLVE

Graphing Interest and Principalp. 324

With the loan set up in the TVM Solver, ΣPrn(T,T) gives the principal paid by payment T, and ΣInt(T,T) gives the interest paid. Graph both against the payment number, as parametric equations with X = T so the horizontal axis counts payments. Their sum, Y₃ᴛ = Y₁ᴛ + Y₂ᴛ, should always be 800.

Note ΣPrn( and ΣInt( are on the FINANCE menu, APPS 1:Finance…. To increase the speed of the graph, change Tstep to 24 instead of 12.
Tutorial

Graph principal and interest and check payment 240

▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go

  1. The calculator is already in fixed 2-decimal mode and the TVM variables hold the loan (set up as in the previous tutorial). Press MODE and set Par and Simul.
    MODE▼︎▼︎▼︎▶︎ENTER▼︎▼︎▶︎ENTER2ndQUIT
  2. Open the Y= editor and enter X₁ᴛ=T. In this mode X,T,θ,n types T. Then, for Y₁ᴛ, paste ΣPrn( from the FINANCE menu (APPS ENTER, then item 0) and complete it as ΣPrn(T,T).
    Y=X,T,θ,nENTERAPPSENTER0X,T,θ,n,X,T,θ,n)ENTER
  3. For the second curve enter X₂ᴛ=T and Y₂ᴛ=ΣInt(T,T). ΣInt( is item ALPHAA in the FINANCE menu.
    X,T,θ,nENTERAPPSENTERALPHAAX,T,θ,n,X,T,θ,n)ENTER
  4. For the third, enter X₃ᴛ=T and Y₃ᴛ=Y₁ᴛ+Y₂ᴛ. Paste the Y-variables from VARS Y-VARS 2:Parametric… (item 2 is Y₁ᴛ, item 4 is Y₂ᴛ).
    X,T,θ,nENTERVARS▶︎22+VARS▶︎24
  5. Press WINDOW and set Tmin=1, Tmax=360, Tstep=12, Xmin=0, Xmax=360, Xscl=10, Ymin=0, Ymax=1000 and Yscl=100.
    WINDOW1ENTER360ENTER12ENTER0ENTER360ENTER10ENTER0ENTER1000ENTER100ENTER
  6. Press TRACE. After the graph is drawn, type 240 and press ENTER to move the trace cursor to T = 240, the 240th payment (20 years of payments).
    TRACE240ENTER
  7. The graph shows that for the 240th payment (X = 240), 358.03 of the 800 goes to principal (Y = 358.03). The sum of principal and interest (Y₃ᴛ = Y₁ᴛ + Y₂ᴛ) is always 800.
  8. Press ▼︎ to move the cursor onto the interest curve (X₂ᴛ, Y₂ᴛ) and enter 240 again.
    ▼︎240ENTER
  9. The graph shows that for the 240th payment, 441.97 of the 800 payment is interest (Y = 441.97). 358.03 + 441.97 = 800.
  10. Check the figures on the home screen. Press 2ndQUIT, then APPS ENTER and choose 9:bal(. The balance after payment 239 is the amount owed at the start of payment 240. Type 239) and press ENTER. The balance is about −66,295.3.
    2ndQUITAPPSENTER9239)ENTER
  11. One month of interest on that balance is Ans×(.08/12). Start the line with ×; the calculator inserts Ans for you. The result is −441.97, matching the graph (the sign is negative because the balance is negative).
    ×(.08÷12)ENTER
  12. A closing question: at which monthly payment does the principal part first surpass the interest part? Each month the interest part of the payment is the balance times 0.08/12, so the interest drops below half of 800, that is below 400, when the balance falls under 60,000. Try payment 257: the balance after payment 256, bal(256), times .08/12 is the interest part of payment 257.
    APPSENTER9256)×(.08÷12)ENTER
  13. Interest is 399.15, so principal is 800 − 399.15 = 400.85, which is larger. For payment 256 the interest part is 401.81, which is still larger than the 398.19 of principal. So the principal allocation first surpasses the interest allocation with the 257th payment.