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.
- The Quadratic Formula: real and complex roots, copying and editing an old entry.
- Box with Lid: find the best cut for the biggest box using a table, a graph, TRACE, ZOOM and CALC maximum.
- Comparing Test Results Using Box Plots: lists and stat plots.
- Graphing Piecewise Functions and Graphing Inequalities: using the TEST menu inside Y= equations.
- Solving a System of Nonlinear Equations: ZOOM factors and CALC intersect.
- The Sierpinski Triangle, Cobweb Attractors and Guess the Coefficients: a fractal, sequence web plots and a small game written in TI-BASIC.
- The Unit Circle and Trigonometric Curves, Area between Curves and The Ferris Wheel Problem: parametric graphing and numeric calculus.
- The Fundamental Theorem of Calculus, Areas of Regular N-Sided Polygons and Mortgage Payments: fnInt(, nDeriv(, the equation solver and the TVM solver.
| Feature | Where you use it |
|---|---|
| n/d fraction template (ALPHAF1 1), ►F◄►D | Quadratic formula, Box with lid |
| TABLE SETUP (2ndTBLSET) and TABLE (2ndTABLE) | Box with lid: table |
| TRACE, ZOOM In, ZPrevious, CALC maximum | Box with lid: graph, CALC maximum |
| SetUpEditor, list editor, stat plots, ZoomStat | Box plots |
| TEST menu in Y= equations, Dot style, ΔX and ΔY | Piecewise functions, Inequalities |
| ZOOM MEMORY SetFactors, CALC intersect | Nonlinear systems, Area between curves |
| TI-BASIC: For(, If/Then/End, Pt-On(, StorePic, RecallPic, Prompt, Text(, Lbl/Goto, Pause | Sierpinski triangle, Guess the coefficients |
| Seq mode and Web format | Cobweb attractors |
| Par mode, path and animate styles | Unit circle, Ferris wheel, Mortgage graph |
| Shade(, fnInt(, nDeriv( | Area between curves, Fundamental Theorem |
| Equation solver (MATH B), ALPHA SOLVE | Polygon areas |
| TVM Solver, ΣPrn(, ΣInt(, bal( | Mortgage payments |
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.
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.
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
- Open the Y= editor.Y=
- 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
- Type the second quadratic into Y₂.2X,T,θ,nx²−6X,T,θ,n+5
- 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 - Look at the two curves. The first parabola crosses the x-axis, so
2x² − 11x + 14 = 0has real solutions (near x = 2 and x = 3.5). The second one never touches the axis, so2x² − 6x + 5 = 0has 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 :).
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
- 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 - Open the FRAC shortcut menu with ALPHAF1 (that key's green legend is F1).ALPHAF1
- Choose
1:n/d. A stacked fraction template appears and the cursor waits in the numerator.1 - 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 - Press ▶︎ once to leave the square root, and once more to jump from the numerator down into the denominator. Then type
2A.▶︎▶︎2ALPHAA - Press ENTER to evaluate. The answer 7/2 is shown as a fraction because the fraction template was used.ENTER
- 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
- 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.◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎− - 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.
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
- Build the root again: open the n/d template, type
⁻B+√(B²−4AC), move into the denominator and type2A, then press ENTER.ALPHAF11(−)ALPHAB+2nd√ALPHABx²−4ALPHAAALPHAC▶︎▶︎2ALPHAAENTER - 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 - 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.
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
- Open the MODE screen and move down six rows to the last row (
Real a+bi re^θi). Press ▶︎ to highlighta+bi, then ENTER to select it.MODE▼︎▼︎▼︎▼︎▼︎▼︎▶︎ENTER - Press 2ndQUIT (QUIT) to return to the home screen, and CLEAR to wipe it.2ndQUITCLEAR
- Store the new coefficients:
2→A:⁻6→B:5→C.2STO►ALPHAAALPHA:(−)6STO►ALPHABALPHA:5STO►ALPHACENTER - 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) - Press ENTER. The first solution is 1.5 + 0.5i.ENTER
- Highlight the formula you just evaluated with ▲︎ twice and press ENTER to paste it.▲︎▲︎ENTER
- Press ◀︎ until the cursor is on the
+(15 presses), then press − to replace it.◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎− - 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
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
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
- Press Y= to open the function editor, where graphable functions are stored.Y=
- Type
(20−2X)and then open the fraction template (ALPHAF1 then1:n/d) for the 25÷2 part.(20−2X,T,θ,n)(ALPHAF11 - Type
25on top, press ▶︎ to drop to the denominator, type2, and press ▶︎ again to leave the fraction.25▶︎2▶︎ - 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).
Make a table of box volumes
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Open the TABLE SETUP screen.2ndTBLSET
- Accept
TblStart=0by pressing ENTER. The cursor moves toΔTbl.ENTER - Set the increment to 1. Leave
Indpnt: AutoandDepend: Autoalone so the calculator fills the table in for you.1ENTER - Display the table with 2ndTABLE (TABLE). The bottom line reminds you that + changes ΔTbl.2ndTABLE
- 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).
- 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.
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
- You are looking at the table after scrolling down to X = 11. Open TABLE SETUP again.2ndTBLSET
TblStarthas 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▲︎▲︎- Press +. A
ΔTbl=prompt appears on the entry line. Type.1and press ENTER.+.1ENTER - 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.▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎
- Zoom in again: open TABLE SETUP and start the table at 3.6 with steps of 0.01.2ndTBLSET3.6ENTER.01ENTER
- Show the table.2ndTABLE
- 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.▼︎▼︎▼︎▼︎▼︎▼︎▼︎▶︎
- Press ▼︎ to see the next row. At X = 3.68 the volume is 410.264064.▼︎
- 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.)
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
- Open the window editor. The cursor starts on
Xmin.WINDOW - Type 0 for Xmin and press ENTER.0ENTER
- Type the expression
20÷2for Xmax and press ENTER. The calculator evaluates it and stores 10.20÷2ENTER - Press ENTER to accept
Xscl=1.ENTER - Finish the rest of the window:
Ymin=0,Ymax=500,Yscl=100andXres=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₁.
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
- Press GRAPH to draw the selected function in the window you set.GRAPH
- 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.◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎
- Now press TRACE. The cursor jumps onto the function. The function being traced is named in the top-left corner.TRACE
- 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.◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎
- 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 - 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.
Zoom in on the maximum
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Draw the graph.GRAPH
- 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
- Press 2 for
2:Zoom In. The graph returns, and the cursor shape tells you a ZOOM instruction is waiting for you.2 - Move the cursor near the maximum (12 presses of ◀︎ and 19 of ▲︎), then press ENTER. The new window is centered on the cursor.◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎▲︎ENTER
- Both
Xmax−XminandYmax−Yminshrank 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 - To get back to the previous graph, choose
1:ZPreviousfrom 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.
Calculate the maximum of the volume function
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Open the CALCULATE menu and pick
4:maximum.2ndCALC - 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 - 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 - 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 - 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.
| Method | What it gives you |
|---|---|
| Table | Exact function values at chosen X. With ΔTbl = 0.01 the best value is X = 3.68, V = 410.264064. |
| Free-moving cursor | Any point on the screen; coordinates are only as precise as one pixel. |
| TRACE | Points on the function itself, one X pixel at a time; you can also jump to an X value. |
| CALC maximum | A 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.
| Women Left | Women Right | Men Left | Men Right |
|---|---|---|---|
| 8 | 4 | 7 | 12 |
| 9 | 1 | 8 | 6 |
| 12 | 8 | 7 | 12 |
| 11 | 12 | 5 | 12 |
| 10 | 11 | 7 | 7 |
| 8 | 11 | 8 | 11 |
| 12 | 13 | 11 | 12 |
| 7 | 12 | 4 | 8 |
| 9 | 11 | 10 | 12 |
| 11 | 12 | 14 | 11 |
| 13 | 9 | ||
| 5 | 9 |
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.
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
- Press STAT and choose
5:SetUpEditor. It is pasted on the home screen.STAT5 - 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 - Press STAT and choose
1:Edit. The editor now shows only your four lists, starting with WLEFT.STAT1 - Type the ten left-hand scores for the women, pressing ENTER after each one to move to the next row.8ENTER9ENTER12ENTER11ENTER10ENTER8ENTER12ENTER7ENTER9ENTER11ENTER
- 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
- Move right again to MLEFT and type the twelve left-hand scores for the men.▶︎7ENTER8ENTER7ENTER5ENTER7ENTER8ENTER11ENTER4ENTER10ENTER14ENTER13ENTER5ENTER
- 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.
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
- Open the STAT PLOTS menu and choose
1:Plot1.2ndSTAT PLOT1 - The first row is
On Off. Make sure the cursor is onOn(press ◀︎ to be safe) and press ENTER to turn the plot on.◀︎ENTER - 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
Ylistprompt is replaced byFreq, because a box plot only needs one list.▼︎▶︎▶︎▶︎ENTER - Move down to
Xlist. Press 2ndLIST to open the list NAMES menu and pickWLEFT(item 9; the lists L₁ to L₆ come first, then your lists in alphabetical order).▼︎2ndLIST9 - Now define Plot 2 the same way. Quit this screen with 2ndQUIT, open
2:Plot2, turn it on, choose the modified box plot, and useWRGHT(the last item in the NAMES menu, which you reach with 0) for the Xlist.2ndQUIT2ndSTAT PLOT2◀︎ENTER▼︎▶︎▶︎▶︎ENTER▼︎2ndLIST0 - 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=1andYscl=0. A Yscl of 0 turns off the y-axis tick marks, which would only clutter the box plots.2ndQUITWINDOW▼︎▼︎1ENTER▼︎▼︎0ENTER - Press ZOOM 9 (
9:ZoomStat). The calculator fits the window to your data and draws both box plots.ZOOM9 - Press TRACE. The cursor lands on the median of the first plot. The values are
Med = 9.5.TRACE - Press ◀︎ to step to the first quartile,
Q1 = 8.◀︎ - One more press of ◀︎ reaches the smallest value,
minX = 7.◀︎ - Now press ▶︎ four times to walk through
Q1,Med,Q3andmaxX. Q3 is 11 and the maximum is 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.▼︎
- Step left with ◀︎:
Q1 = 8, thenminX = 4, and one more press lands on the outlier, the lone score of 1 that sits far below the rest.◀︎◀︎◀︎ - 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.
Compare men, and compare women with men
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- In this setup Plot 1 already uses
MLEFTand Plot 2 usesMRGHT(the men). Use ZOOM 9 to fit the window to the men's scores.ZOOM9 - 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 = 6andminX = 4.TRACE - 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.▼︎ - Now compare left hands only. Redefine Plot 1 to use
WLEFTand Plot 2 to useMLEFT. (Choosing a new name from the NAMES menu replaces the old one.)2ndSTAT PLOT1▼︎▼︎2ndLIST92ndQUIT2ndSTAT PLOT2▼︎▼︎2ndLIST7 - 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
- Finally compare right hands: Plot 1 uses
WRGHTand Plot 2 usesMRGHT.2ndSTAT PLOT1▼︎▼︎2ndLIST02ndQUIT2ndSTAT PLOT2▼︎▼︎2ndLIST8ZOOM9TRACE - 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.▶︎
- 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 X | Fine Y |
|---|---|
| 0 < X ≤ 45 | 0 |
| 45 < X ≤ 55 | 50 + 5(X − 45) |
| 55 < X ≤ 65 | 100 + 10(X − 55) |
| 65 < X | 200 + 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.
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
- 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
- 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=
- Type the first piece,
(50+5(X−45))(45<X)(X≤55). The comparison symbols come from the TEST menu: 2ndTEST then5:<or6:≤.(50+5(X,T,θ,n−45))(452ndTEST5X,T,θ,n)(X,T,θ,n2ndTEST655) - Add the second piece,
+(100+10(X−55))(55<X)(X≤65).+(100+10(X,T,θ,n−55))(552ndTEST5X,T,θ,n)(X,T,θ,n2ndTEST665) - Add the last piece,
+(200+20(X−65))(65<X).+(200+20(X,T,θ,n−65))(652ndTEST5X,T,θ,n) - 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
- Open the window editor and set
Xmin=-2,Xscl=10,Ymin=-5,Yscl=10andΔX=1, skippingXmaxandYmax(the next step sets them). After typing a value, ENTER moves down one line, so ▼︎ skips a line.WINDOW(−)2ENTER▼︎10ENTER(−)5ENTER▼︎10ENTERENTER1ENTER - Return to the home screen and store 5 in
ΔY.ΔXandΔYare the distances between the centers of neighbouring pixels. They are found under VARS1:Window…on theX/Ytab (9:ΔY). Whole-number values give clean numbers when you trace, andΔY=5makesYmaxcome out as 305.2ndQUIT5STO►VARS19ENTER - Press TRACE to graph the function. Type 67 and press ENTER: at 67 km/h the fine is 240.TRACE67ENTER
- 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.
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
- 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
- Open the Y= editor and move down to
Y₄.Y=▼︎▼︎▼︎ - 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
- Enter the right side in Y₅..2X,T,θ,n+4ENTER
- In Y₆ enter the statement
(Y₄<Y₅). Open the Y-VARS shortcut menu with ALPHAF4 to pasteY₄andY₅(items4and5) instead of typing them, and use 2ndTEST5:<for the comparison. The function equals 1 when the statement is true and 0 when it is false.(ALPHAF442ndTEST5ALPHAF45)ENTER - Press ZOOM 6 to graph in the standard window. In Dot mode the curves are drawn as dots.ZOOM6
- Press TRACE and then ▼︎ twice to reach
Y₆. At X = 0 the value is 0: the inequality is false there.TRACE▼︎▼︎ - 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.)▶︎▶︎▶︎
- 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
- 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 - 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 - 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.
Find where x³ − 2x meets 2cos(x)
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Open the Y= editor (a fresh calculator is in the default mode, with no functions on).Y=
- Enter
Y₁ = X³ − 2X. Press ▶︎ after the exponent to leave it.X,T,θ,n^3▶︎−2X,T,θ,nENTER - Enter
Y₂ = 2cos(X). The COS key pastescos(.2COSX,T,θ,n) - Choose
4:ZDecimal. The graph shows two places where the curves seem to cross.ZOOM4 - Open the ZOOM MEMORY menu with ZOOM ▶︎ and choose
4:SetFactors.ZOOM▶︎4 - Set
XFact=10andYFact=10.10ENTER10ENTER - Select
2:Zoom Infrom 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▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▲︎▲︎ - 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◀︎◀︎◀︎◀︎
- Press ENTER again to zoom in once more. Now the coordinates have three decimals.ENTER
- Now ask the calculator for the exact point. Press 2ndCALC and choose
5:intersect.2ndCALC5 - 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
- The intersection is at X ≈ 1.4645, Y ≈ 0.2121, so
x ≈ 1.4645solvesx³ − 2x = 2cos(x). The coordinates are also stored in X and Y. - Redisplay the original graph with ZOOM 4.ZOOM4
- Now explore the apparent intersection on the left. Choose
2:Zoom Inand move the cursor 11 pixels left and 1 down, then press ENTER.ZOOM2◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎◀︎▼︎ENTER - 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:intersecthere, the calculator reportsERR: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 lines | What they do |
|---|---|
| :FnOff :ClrDraw / :PlotsOff / :AxesOff | Turn off functions and stat plots, clear old drawings and hide the axes so only the fractal shows. |
| :0→Xmin:1→Xmax / :0→Ymin:1→Ymax | Set the viewing window to the unit square. |
| :rand→X:rand→Y | Start at a random point. |
| :For(K,1,3000) … :End | Repeat the body 3000 times (K only counts the repetitions). |
| :rand→N | Pick a random number between 0 and 1. |
| :If N≤1/3 … :End | In the first third of the cases, jump halfway toward the corner (0,0). |
| :If 1/3<N and N≤2/3 … :End | In the middle third, jump halfway toward the corner (0.5,1). |
| :If 2/3<N … :End | In the last third, jump halfway toward the corner (1,0). |
| :Pt-On(X,Y) | Plot the new point. |
| :StorePic 6 | After 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.
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
- Open the PRGM menu, move to the NEW tab with ▶︎ ▶︎, and choose
1:Create New.PRGM▶︎▶︎1 - Type the name
SIERPINS, then press ENTER. The program editor opens with an empty first line.2ndA-LOCKSIERPINSENTER - Line 1:
FnOffcomes from VARSY-VARS4:On/Off…2:FnOff. Then type a colon with ALPHA: and pasteClrDrawfrom 2ndDRAW (DRAW)1:ClrDraw.VARS▶︎42ALPHA:2ndDRAW1ENTER - Line 2:
PlotsOffis in the STAT PLOTS menu, 2ndSTAT PLOT4:PlotsOff.2ndSTAT PLOT4ENTER - Line 3:
AxesOff. Open the CATALOG with 2ndCATALOG, press ▼︎ 11 times to reachAxesOffand press ENTER to paste it (then ENTER again for the next line).2ndCATALOG▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎ENTERENTER - Line 4:
0→Xmin:1→Xmax. The window variables live under VARS1:Window…(1:Xmin,2:Xmax).0STO►VARS11ALPHA:1STO►VARS12ENTER - Line 5:
0→Ymin:1→Ymax(items4and5of the same menu).0STO►VARS14ALPHA:1STO►VARS15ENTER - Line 6:
rand→X:rand→Y.randis item1of the MATH PRB menu: press MATH ◀︎ to jump to the PRB tab, then 1.MATH◀︎1STO►ALPHAXALPHA:MATH◀︎1STO►ALPHAYENTER - Line 7: the loop.
For(is item4of the PRGM CTL menu. TypeK,1,3000).PRGM4ALPHAK,1,3000)ENTER - Line 8:
rand→N.MATH◀︎1STO►ALPHANENTER - Line 9:
If N≤1/3.Ifis PRGM1, and≤is 2ndTEST (TEST)6.PRGM1ALPHAN2ndTEST61÷3ENTER - Line 10:
Thenis PRGM2.PRGM2ENTER - Line 11:
.5X→X..5ALPHAXSTO►ALPHAXENTER - Line 12:
.5Y→Y..5ALPHAYSTO►ALPHAYENTER - Line 13:
Endis PRGM7.PRGM7ENTER - Line 14:
If 1/3<N and N≤2/3. The wordandis in the TEST LOGIC menu: 2ndTEST ▶︎1:and.PRGM11÷32ndTEST5ALPHAN2ndTEST▶︎1ALPHAN2ndTEST62÷3ENTER - Line 15:
Then.PRGM2ENTER - Line 16:
.5(.5+X)→X..5(.5+ALPHAX)STO►ALPHAXENTER - Line 17:
.5(1+Y)→Y..5(1+ALPHAY)STO►ALPHAYENTER - Line 18:
End.PRGM7ENTER - Line 19:
If 2/3<N.PRGM12÷32ndTEST5ALPHANENTER - Line 20:
Then.PRGM2ENTER - Line 21:
.5(1+X)→X..5(1+ALPHAX)STO►ALPHAXENTER - Line 22:
.5Y→Y..5ALPHAYSTO►ALPHAYENTER - Line 23:
End.PRGM7ENTER - 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 - Line 25:
Endcloses theFor(loop.PRGM7ENTER - Line 26:
StorePic 6is on the STO tab of the DRAW menu: 2ndDRAW ▶︎ ▶︎1:StorePic. Type 6 after it.2ndDRAW▶︎▶︎16 - The program is finished. Leave the editor with 2ndQUIT (QUIT). Now run it: press PRGM and choose
SIERPINSfrom the EXEC menu (item 1). It is pasted on the home screen asprgmSIERPINS.2ndQUITPRGM1 - Press ENTER to run it. The calculator plots 3000 points, which takes a moment, and the finished triangle stays on the graph screen.ENTER
- Press CLEAR to return to the home screen, which reports
Done.CLEAR - 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 - The program turned the graph axes off. To put them back, open the FORMAT screen with 2ndFORMAT, press ▼︎ three times to the
AxesOn AxesOffrow, and press ENTER to chooseAxesOn.2ndFORMAT▼︎▼︎▼︎ENTER
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.
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
- 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
- Open the FORMAT screen with 2ndFORMAT. In sequence mode its first row offers the axes types
Time Web uv vw uw. Move toWebwith ▶︎ and press ENTER. Leave the screen with 2ndQUIT.2ndFORMAT▶︎ENTER2ndQUIT - Open the Y= editor. In Seq mode the first line is
nMin, so press ▼︎ to get to theu(n)=line.Y=▼︎ - Type the rule
K×u(n−1)×(1−u(n−1)). The letteruis on 2ndu, and X,T,θ,n types the sequence variablen. Press ENTER to go to the starting value line.ALPHAK×2ndu(X,T,θ,n−1)(1−2ndu(X,T,θ,n−1))ENTER - On the
u(nMin)=line, type the starting value 0.01 and press ENTER.0.01ENTER - Go to the home screen and store 2.9 in K.2ndQUIT2.9STO►ALPHAKENTER
- 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 - Press TRACE. The graph shows the curve
y = K·x·(1−x)and the liney = x. The trace cursor starts at the first value of the sequence, 0.01.GRAPHTRACE - 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.▶︎▶︎▶︎
- 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).▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎
- 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▶︎▶︎▶︎
- 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▶︎▶︎▶︎
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).
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 lines | What they do |
|---|---|
| :PlotsOff :Func / :FnOff :Radian / :ClrHome | Start clean: plots off, function mode, radians, empty home screen. |
| :"Asin(BX)"→Y1 / :"Csin(DX)"→Y2 | Store 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 2 | Hide your guess at first. |
| :randInt(1,10)→A / :randInt(1,10)→B / :0→C:0→D | Choose the secret A and B and clear C and D. |
| :-2π→Xmin … :1→Yscl | Set a window of −2π to 2π across and −10 to 10 up. |
| :DispGraph / :Pause | Show the secret curve and wait for ENTER. |
| :FnOn 2 / :Lbl Z / :Prompt C,D | Turn 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 Z | End when both are right; otherwise loop and ask again. |
Typing and Playing the GUESS Programp. 313
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
- Create a new program: PRGM ▶︎ ▶︎
1:Create New.PRGM▶︎▶︎1 - Name it
GUESSand press ENTER.2ndA-LOCKGUESSENTER - Line 1:
PlotsOff :Func.PlotsOffis 2ndSTAT PLOT4.Funcis in the CATALOG. Press 2ndCATALOG, then ALPHAF to jump to the entries starting with F, and ▼︎ 16 times toFunc.2ndSTAT PLOT4ALPHA:2ndCATALOGALPHAF▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎▼︎ENTERENTER - Line 2:
FnOff :Radian. PasteFnOfffrom VARSY-VARS4:On/Off…2:FnOff. In the CATALOG, ALPHAR jumps toRadian.VARS▶︎42ALPHA:2ndCATALOGALPHARENTERENTER - Line 3:
ClrHomeis in the I/O menu: PRGM ▶︎8:ClrHome.PRGM▶︎8ENTER - Line 4:
"Asin(BX)"→Y1. Quotation marks come from ALPHA". The secret function is stored as text. PasteY₁with the YVAR shortcut menu, ALPHAF41.ALPHA"ALPHAASINALPHABX,T,θ,n)ALPHA"STO►ALPHAF41ENTER - Line 5:
"Csin(DX)"→Y2.ALPHA"ALPHACSINALPHADX,T,θ,n)ALPHA"STO►ALPHAF42ENTER - Line 6:
GraphStyle(1,1).GraphStyle(is itemHof the PRGM CTL menu. The first number is the function, the second is the style (1 = line).PRGMALPHAH1,1)ENTER - Line 7:
GraphStyle(2,5). Style 5 is path.PRGMALPHAH2,5)ENTER - Line 8:
FnOff 2hides Y₂ for now.VARS▶︎422ENTER - Line 9:
randInt(1,10)→A.randInt(is item5of the MATH PRB menu (MATH ◀︎5).MATH◀︎51,10)STO►ALPHAAENTER - Line 10:
randInt(1,10)→B.MATH◀︎51,10)STO►ALPHABENTER - Line 11:
0→C:0→D.0STO►ALPHACALPHA:0STO►ALPHADENTER - Line 12:
-2π→Xmin. The π symbol is 2ndπ and the minus is the negation key (−).Xminis VARS1:Window…1:Xmin.(−)22ndπSTO►VARS11ENTER - Line 13:
2π→Xmax.22ndπSTO►VARS12ENTER - Line 14:
π/2→Xscl.2ndπ÷2STO►VARS13ENTER - Line 15:
-10→Ymin.(−)10STO►VARS14ENTER - Line 16:
10→Ymax.10STO►VARS15ENTER - Line 17:
1→Yscl.1STO►VARS16ENTER - Line 18:
DispGraphis in the I/O menu: PRGM ▶︎4.PRGM▶︎4ENTER - Line 19:
Pauseis PRGM8in the CTL menu.PRGM8ENTER - Line 20:
FnOn 2turns Y₂ back on (VARSY-VARS4:On/Off…1:FnOn).VARS▶︎412ENTER - Line 21:
Lbl Zis PRGM9. Type the label Z.PRGM9ALPHAZENTER - Line 22:
Prompt C,Dis PRGM ▶︎2.PRGM▶︎2ALPHAC,ALPHADENTER - Line 23:
DispGraph.PRGM▶︎4ENTER - Line 24:
Pause.PRGM8ENTER - Line 25:
If C=A. The equals sign is 2ndTEST (TEST)1.PRGM1ALPHAC2ndTEST1ALPHAAENTER - Line 26:
Text(1,1,"C IS OK").Text(is 2ndDRAW (DRAW) item0. 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 - Line 27:
If C≠A. The not-equal sign is 2ndTEST2.PRGM1ALPHAC2ndTEST2ALPHAAENTER - Line 28:
Text(1,1,"C IS WRONG").2ndDRAW01,1,ALPHA"ALPHACALPHA␣ALPHAIALPHASALPHA␣ALPHAWALPHARALPHAOALPHANALPHAGALPHA")ENTER - Line 29:
If D=B.PRGM1ALPHAD2ndTEST1ALPHABENTER - 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 - Line 31:
If D≠B.PRGM1ALPHAD2ndTEST2ALPHABENTER - Line 32:
Text(1,50,"D IS WRONG").2ndDRAW01,50,ALPHA"ALPHADALPHA␣ALPHAIALPHASALPHA␣ALPHAWALPHARALPHAOALPHANALPHAGALPHA")ENTER - Line 33:
DispGraph.PRGM▶︎4ENTER - Line 34:
Pause.PRGM8ENTER - Line 35:
If C=A and D=B.andis 2ndTEST ▶︎1.PRGM1ALPHAC2ndTEST1ALPHAA2ndTEST▶︎1ALPHAD2ndTEST1ALPHABENTER - Line 36:
Stopis PRGMF.PRGMALPHAFENTER - Line 37:
Goto Zis PRGM0. Type the label Z.PRGM0ALPHAZ - Quit the editor with 2ndQUIT and run the program: press PRGM and choose
GUESS.2ndQUITPRGM1 - Press ENTER. The program picks A and B, sets the window and shows the secret curve
A sin(BX). It then waits atPause. 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 - 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 asksD=?. Guess D = 3 and press ENTER.ENTER5ENTER3ENTER - The program draws both curves and pauses. Press ENTER. Verdicts such as
C IS WRONGorD IS OKare printed on the graph, and it pauses again.ENTER - Press ENTER once more. Unless you were lucky, you go back to
Lbl Zand theC=?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 - Two more presses of ENTER (for the graph and the verdict). Both coefficients now match,
C IS OKandD IS OKappear, andStopends 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.
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
- 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
- Press WINDOW and set
Tmin=0,Tmax=2π,Tstep=.1,Xmin=-2,Xmax=7.4,Xscl=π/2,Ymin=-3,Ymax=3andYscl=1. Type π with 2ndπ.WINDOW0ENTER22ndπENTER.1ENTER(−)2ENTER7.4ENTER2ndπ÷2ENTER(−)3ENTER3ENTER1ENTER - 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
Xline and aYline. Define the circle in the first pair:X₁ᴛ=cos(T)andY₁ᴛ=sin(T). In this mode the X,T,θ,n key types the parameter T.Y=COSX,T,θ,n)ENTERSINX,T,θ,n)ENTER - Define the sine curve in the second pair:
X₂ᴛ=TandY₂ᴛ=sin(T).X,T,θ,nENTERSINX,T,θ,n)ENTER - 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
- Press TRACE to read values. The cursor starts at T = 0 on the circle, at the point (1, 0).TRACE
- Press ▶︎ 16 times to move to T = 1.6, near the top of the circle. X is almost 0 and Y is almost 1.▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎
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.
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
- Press WINDOW and set
Xmin=0,Xmax=100,Xscl=10,Ymin=-5,Ymax=10,Yscl=1andXres=1.WINDOW0ENTER100ENTER10ENTER(−)5ENTER10ENTER1ENTER1ENTER - 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 - Enter the lower function in Y₂:
3cos(.1X).3COS.1X,T,θ,n) - 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 - 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 bothAnsandX: it is the lower limit of the integral.5ENTER - Return to the home screen with 2ndQUIT (QUIT). Choose
Shade(from the DRAW menu, 2ndDRAW7, and complete it asShade(Y₂,Y₁,Ans,75). The Y-VARS shortcut ALPHAF4 pastesY₁andY₂, and 2ndANS pastesAns. Press ENTER to see the area shaded between the two curves, from the intersection to X = 75.2ndQUIT2ndDRAW7ALPHAF42,ALPHAF41,2ndANS,75)ENTER - Return to the home screen and open
fnInt(with MATH 9. Fill in the template: lower limitAns(2ndANS), upper limit75, functionY₁−Y₂. The variable is alreadyX. (In Classic mode this key pastes the textfnInt(instead; then typeY₁−Y₂,X,Ans,75).) Press ENTER.2ndQUITMATH92ndANS▶︎75▶︎ALPHAF41−ALPHAF42ENTER - 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².
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
- 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
- Press WINDOW and set
Tmin=0,Tmax=12,Tstep=.1,Xmin=-13,Xmax=34,Xscl=10,Ymin=0,Ymax=31andYscl=10.WINDOW0ENTER12ENTER.1ENTER(−)13ENTER34ENTER10ENTER0ENTER31ENTER10ENTER - Open the Y= editor and enter the passenger:
X₁ᴛ=10cos(πT/6).Y=10COS2ndπX,T,θ,n÷6)ENTER Y₁ᴛ=10+10sin(πT/6).10+10SIN2ndπX,T,θ,n÷6)ENTER- Now the ball:
X₂ᴛ=25−22Tcos(66°). The degree symbol is 2ndANGLE1:°. Because the calculator is in Radian mode, the ° mark converts 66 degrees for you.25−22X,T,θ,nCOS662ndANGLE1)ENTER Y₂ᴛ=22Tsin(66°)−(9.8/2)T².22X,T,θ,nSIN662ndANGLE1)−(9.8÷2)X,T,θ,nx²- 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 - 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
- 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.5andYscl=10.WINDOW1ENTER3ENTER.03ENTER0ENTER23.5ENTER10ENTER10ENTER25.5ENTER10ENTER - 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▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎▶︎
- 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.
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
- 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.▼︎
- 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.
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.
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
- Press WINDOW and set
Xmin=.01,Xmax=10,Xscl=1,Ymin=-1.5,Ymax=2.5,Yscl=1andXres=3. A larger Xres makes the graph faster to draw, which matters because every point needs a numerical integral.WINDOW.01ENTER10ENTER1ENTER(−)1.5ENTER2.5ENTER1ENTER3ENTER - 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
1and the upper limit isX, the function is1/T, and the variable of integration isT. (The last box containsXalready, so erase it with DEL and typeT.)Y=MATH91▶︎X,T,θ,n▶︎1÷ALPHAT▶︎DELALPHATENTER - 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 - 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
- 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).▼︎ - 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▼︎ - In Y₃ paste the derivative template with MATH 8:
nDeriv(. PutY₁in the function box (use ALPHAF41) andXin the box for the point at which to differentiate. Y₃ is the numerical derivative of the integral.MATH8ALPHAF41▶︎X,T,θ,nENTER - In Y₄ type the function
1/X.1÷X,T,θ,n - Make Y₄ thick so the two graphs can be told apart: 2nd◀︎, ◀︎ twice, and one press of ENTER.2nd◀︎◀︎◀︎ENTER
- 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.
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
- 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} - Move to the next box, the upper limit, and type
X. Move on to the function box and typeT². Move on to the variable box, replace theXwithT, and press ENTER.▶︎X,T,θ,n▶︎ALPHATx²▶︎DELALPHATENTER - Press ZOOM 6 (
6:ZStandard). The graphs appear gradually, because each point needs a calculation of the integral. That can take some time.ZOOM6 - Press TRACE and then ▲︎ / ▼︎ to move between the three curves. They look identical, only shifted up or down by a constant.TRACE
- Open the Y= editor, go below Y₅ and define
Y₆as the numerical derivative of Y₅: MATH 8nDeriv(, functionY₅(from ALPHAF45) and the pointX.Y=▼︎▼︎▼︎▼︎▼︎MATH8ALPHAF45▶︎X,T,θ,nENTER - 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
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
- Press MATH and choose
B:Solver…(type ALPHAB). The equation editor opens witheqn:0=already on screen. (If you see the interactive solver editor instead, press ▲︎ to get back to the equation editor.)MATHALPHAB - 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) - Press ENTER. The interactive solver editor lists A, N and B, each equal to 0, and a
boundline at the bottom.ENTER - 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 type6and press ENTER.▼︎4ENTER6ENTER - Press ▲︎ three times to put the cursor back on
A, then press ALPHASOLVE (the greenSOLVElegend over ENTER). The solution for A is displayed: 72 cm², which is exactly 2B².▲︎▲︎▲︎ALPHASOLVE - Now work backward: what B do you need to get a given area with several numbers of sides? Type
200for A, press ENTER, then6for 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 - Change N to 8: press ▲︎ to move to N, type
8and ENTER, then press ALPHASOLVE (the cursor has moved down to B). For N = 8, B ≈ 8.4090.▲︎8ENTERALPHASOLVE - Do the same for N = 9 (B ≈ 8.3152) …▲︎9ENTERALPHASOLVE
- … 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
- Now fix B = 6 and find the area for larger and larger N. Type
6for 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 reachA, then move down to N, type10, press ENTER, go back up toA(▲︎ twice), and solve with ALPHASOLVE.6ENTER▲︎▲︎▲︎▼︎10ENTER▲︎▲︎ALPHASOLVE - Repeat for N = 100. From
A, press ▼︎, type100, ENTER, then ▲︎ ▲︎ and ALPHASOLVE.▼︎100ENTER▲︎▲︎ALPHASOLVE - N = 150.▼︎150ENTER▲︎▲︎ALPHASOLVE
- N = 1000.▼︎1000ENTER▲︎▲︎ALPHASOLVE
- 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.
Graph the polygon area and its limit
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- 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=10andXres=1.WINDOW0ENTER200ENTER10ENTER0ENTER150ENTER10ENTER1ENTER - 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 - In Y₂ type the area of the circle,
πB².2ndπALPHABx² - 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
- 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 - Now
150.150ENTER - And
188. As X increases, Y converges to π·6² ≈ 113.097. The lineY₂ = π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
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
- Press MODE and set the fixed-decimal mode to 2 decimal places: on the second row, press ▶︎ three times to reach
2and ENTER. Leave the other settings at their defaults. Then leave the MODE screen with 2ndQUIT.MODE▼︎▶︎▶︎▶︎ENTER2ndQUIT - Press APPS and choose
1:Finance…, then1:TVM Solver…. (Pressing ENTER twice does both.) The TVM Solver is a list of the variables in a loan.APPSENTERENTER - Enter the loan:
N=360andI%=8. Press ENTER to skipPV(this is the number you want to find), type800forPMT,0forFV(a loan is worth nothing once it is paid off), and 12 for bothP/YandC/Y(payments and compounding periods per year).360ENTER8ENTERENTER800ENTER0ENTER12ENTER12ENTER - 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:ENDis selected, because a payment is due at the end of each period. - Move the cursor onto the
PV=line by pressing ▲︎ five times, and press ALPHASOLVE (SOLVE). The present value, the mortgage amount, is displayed in thePV=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.
Σ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.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
- 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
- Open the Y= editor and enter
X₁ᴛ=T. In this mode X,T,θ,n types T. Then, forY₁ᴛ, 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 - For the second curve enter
X₂ᴛ=TandY₂ᴛ=ΣInt(T,T).ΣInt(is item ALPHAA in the FINANCE menu.X,T,θ,nENTERAPPSENTERALPHAAX,T,θ,n,X,T,θ,n)ENTER - For the third, enter
X₃ᴛ=TandY₃ᴛ=Y₁ᴛ+Y₂ᴛ. Paste the Y-variables from VARSY-VARS2:Parametric…(item2isY₁ᴛ, item4isY₂ᴛ).X,T,θ,nENTERVARS▶︎22+VARS▶︎24 - Press WINDOW and set
Tmin=1,Tmax=360,Tstep=12,Xmin=0,Xmax=360,Xscl=10,Ymin=0,Ymax=1000andYscl=100.WINDOW1ENTER360ENTER12ENTER0ENTER360ENTER10ENTER0ENTER1000ENTER100ENTER - Press TRACE. After the graph is drawn, type
240and press ENTER to move the trace cursor to T = 240, the 240th payment (20 years of payments).TRACE240ENTER - 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.
- Press ▼︎ to move the cursor onto the interest curve (
X₂ᴛ,Y₂ᴛ) and enter240again.▼︎240ENTER - The graph shows that for the 240th payment, 441.97 of the 800 payment is interest (Y = 441.97). 358.03 + 441.97 = 800.
- 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. Type239)and press ENTER. The balance is about −66,295.3.2ndQUITAPPSENTER9239)ENTER - One month of interest on that balance is
Ans×(.08/12). Start the line with ×; the calculator insertsAnsfor you. The result is −441.97, matching the graph (the sign is negative because the balance is negative).×(.08÷12)ENTER - 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/12is the interest part of payment 257.APPSENTER9256)×(.08÷12)ENTER - 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.