Coding and Calculators

Similar documents
Object Oriented Programming Using C++ Mathematics & Computing IET, Katunayake

Getting Started with the TI- Nspire CX

Science, Technology, Engineering & Maths (STEM) Calculator Guide Texas Instruments TI-Nspire CX Handheld (Operating System 4.4)

Standardized Tests: Best Practices for the TI-Nspire CX

MATLAB Project: Getting Started with MATLAB

Irrational Thoughts. Aim. Equipment. Irrational Investigation: Student Activity

SAMPLE. Appendix: TI-Nspire. Keystroke actions and short cuts

Microsoft Excel Using Excel in the Science Classroom

2. This will bring you to a new window asking what type of policy you are inserting. Personal Policies. Commercial Policies. All Other Policies

Macmillan TI-Nspire supplement

Transformations: Translating Functions

Science, Technology, Engineering & Maths (STEM) Calculator Guide Texas Instruments TI-Nspire Handheld (Touchpad with Operating System 3.

Iwrite this realizing it is my final Technology

The Mailbox MATH NSPIRED. Math Objectives. About the Lesson. TI-Nspire Navigator System. Activity Materials TEACHER NOTES

Quadratic (and higher order) regression on your calculator (TI-82, 83, or 84) NAME:

MATLAB The first steps. Edited by Péter Vass

Contents. Foreword. Examples of GeoGebra Applet Construction 1 A Straight Line Graph... 1 A Quadratic Graph... 6 The Scalar Product...

Getting Started with the TI-Nspire Teacher Software

Intermediate Excel 2016

MATLAB Project: Getting Started with MATLAB

Math 230 Final Exam December 22, 2015

Students will be finding the equation of the perpendicular bisector of a side of a triangle. TI-Nspire Software

Dr Richard Greenaway

Warm Up. Factor the following numbers and expressions. Multiply the following factors using either FOIL or Box Method

Characteristics of Exponential Functions

SCHEMATIC DESIGN IN QUARTUS

Inequalities. Kim Mullins Grade level: 5-8 Subject: mathematics Time required: 90 minutes

DECIMAL FRACTIONS. Thus, 0.25=25/100=1/4;2.008=2008/1000=251/125.

Technology Instruction Guide Table of Contents

ECDL Module 4 REFERENCE MANUAL

Getting Started with the TI-Nspire Handheld

Maple Quick Start. Maplesoft, a division of Waterloo Maple Inc.

Toy animal ball poppers provide a great way to use projectile motion in the classroom. We used

and numbers and no spaces. Press after typing the name. You are now in the Program Editor. Each line of code begins with the colon character ( : ).

Within the spreadsheet, columns are labeled with letters and rows are labeled with numbers.

AEMLog Users Guide. Version 1.01

MATHSQUEST MANUAL FOR THE TI-Nspire CAS CALCULATOR 5TH EDITION

Functions in Excel. Structure of a function: Basic Mathematical Functions. Arithmetic operators: Comparison Operators:

Using Symbolic Geometry to Teach Secondary School Mathematics - Geometry Expressions Activities for Algebra 2 and Precalculus

Computer Project: Getting Started with MATLAB

Tips to Save Typing, etc.

Top bar items. Current folder should be shown. Command Window This has the the prompt >>

TI-83 Plus CellSheet Application

Welcome to Solving Systems Using the TI-Nspire

Fixed Perimeter Rectangles Geometry Creating a Document

Access Groups. Collect and Store. Text Currency Date/Time. Tables Fields Data Type. You Your Friend Your Parent. Unique information

Status Bar: Right click on the Status Bar to add or remove features.

Lab 1: Getting familiar with LabVIEW: Part I

Years after US Student to Teacher Ratio

NetBeans Tutorial. For Introduction to Java Programming By Y. Daniel Liang. This tutorial applies to NetBeans 6, 7, or a higher version.

Number of Regions An Introduction to the TI-Nspire CAS Student Worksheet Created by Melissa Sutherland, State University of New York at Geneseo

TEACHER: CREATE PRACTICE QUIZ

Getting Started with the TI-Nspire CX TI-Nspire CX CAS Handheld

Grade: 7 Lesson name: Creating a School News Letter Microsoft Word 2007

Introduction to IgorPro

2 Getting Started. Getting Started (v1.8.6) 3/5/2007

IT 374 C# and Applications/ IT695 C# Data Structures

Models for Nurses: Quadratic Model ( ) Linear Model Dx ( ) x Models for Doctors:

Introduction to MATLAB

STAR OFFICE WRITER. Lesson 1

Exploring Parametric Equations With the Human Cannonball

TI-Nspire Graphing Basics (Using Operating System 3.2)

By Scott Falla and Jamie Batiste 08/03/2010

Candy is Dandy Project (Project #12)

Credit Cards. Validating Credit Cards. Answers

Day : Date : Objects : Open MS Excel program. Subject : * Open Excel application. Select : start. Choose: programs. Choose : Microsoft Office

At the shell prompt, enter idlde

Standard Form of Quadratic Functions

Rational Rose: Creating Use-Case and Class Diagrams Version 1.0. Bryan Loughman 10/ 19/ 00

Short Version of Matlab Manual

Before working with complex numbers, you need to adjust the mode setting on your TI-83. Highlight a + bi on the seventh line as shown below.

Lab 11-1 Lab User Profiles and Tracking

Grade Level: 8 Subject: Algebra Time Required: 45 to 90 minutes. Pledge Plans: An Exploration of Linearity By: Blake VanWinkle and Justin Ellis

Experiment 3 3 Basic Input Output

AEMLog users guide V User Guide - Advanced Engine Management 2205 West 126 th st Hawthorne CA,

Introduction to the TI-83/84 Calculator

Maximizing the Area of a Garden

Lesson 18: Creating a Hierarchical Block

Precalculus Summer Packet

Introduction to Excel 2007 for ESL students

How to Launch an Online Course for the first time

ICS Tutorials: Basic Operations

Microsoft Word for Report-Writing (2016 Version)

Maintain an ILE RPG application using Remote System Explorer

Algebra 1 Notes Quarter

Functions and Inverses

1. Below is an example 1D river reach model built in HEC-RAS and displayed in the HEC-RAS user interface:

OpenInsight for U2 Quick Start Guide Release 9.2

Beyond 20/20. Browser - English. Version 7.0, SP3

Outlook Web App User s Guide

Mathematical Reasoning. Lesson 37: Graphing Quadratic Equations. LESSON 37: Graphing Quadratic Equations

Getting Started With UNIX Lab Exercises

1 Ctrl + X Cut the selected item. 2 Ctrl + C (or Ctrl + Insert) Copy the selected item. 3 Ctrl + V (or Shift + Insert) Paste the selected item

L AYER MANAGER. General Commands. EXIT: Selection of this button exits the Layer Manager menu without re-displaying

Investigating Transformations With DESMOS

Total Number of Students in US (millions)

Getting Started with the TI-Nspire CX / TI-Nspire CX CAS Handheld

TI-73, TI-80, TI-81, TI-82, TI-83, TI-85,

TI-Nspire Navigator Appendix

APP-J: WHAT IS APPLICATION JUKEBOX?

Transcription:

TECHNOLOGY tips Scott G. Smith Coding and Calculators Getting Started WITH THE TI-Nspire Here, we write a TI-Nspire program to solve a linear equation ax + b = c in three stages: input a, b and c; solve for x; and display x. On a TI-Nspire, select New Document by pressing 1, by highlighting New Document and pressing enter, or by positioning the trackpad s mouse on top of New Document and pressing the center of the trackpad (see fig. 1a). Any of these techniques work in any TI-Nspire menu. Select Add Calculator (see fig. 1b). On the blank Calculator screen, use Menu Functions & Programs Program Editor New. Then, enter a name for your program (linear in this example). These steps lead through figures 2a, 2b, and 2c to arrive at figure 2d, which has the program editor on the right and a calculator screen on the left. Fig. 1 Creating a program on the TI-Nspire. Fig. 2 Invoking the Program Editor. Copyright 2016 The National Council of Teachers of Mathematics, Inc. www.nctm.org. All rights reserved. This material may not be copied or distributed electronically or in any other format without written permission from NCTM.

Cursor down to the blank line between and Menu Define Variables Local (see fig. 3a). Then, enter x. Use Local to declare variables that are not in Request or For commands (whose variables do not seem to require declaration). Commands can also be found under CATALOG (second icon to the right of the 9, that looks like an open book). Press enter for a new line menu I/O Request (see fig. 3b) ctrl ( ). Inside the quotes, enter a then press?! (to right of G ) and in the popup menu, select? (see fig. 3c). Cursor to right of the quotes and enter,a (see fig. 3d). When the program is run, it displays a popup box with the first argument as its prompt; the value that has been input is stored in the second argument. Enter the next four lines similarly. The symbol to the right of x is :=. For this symbol press ctrl := (to the right of 9 ). Disp displays its arguments and is found under menu I/O Disp (see fig. 3b). Your program should resemble figure 3d. Before executing any program, the syntax must be checked: menu Check Syntax & Store (see fig. 4a). Press ctrl tab to move from the program editor to the calculator screen. Enter linear ( ) (see fig. 4b) to execute the program. Fig. 3 Entering linear into the Program Editor. Fig. 4 Checking syntax, executing program linear. Vol. 110, No. 1 August 2016 MATHEMATICS TEACHER

As the request boxes appear, enter values for a, b, and c (see fig. 5a). The input values are echoed on the calculator screen and the value of x is displayed there as well (see fig. 5b). Note that x is expressed as a fraction. That is the default mode. If you prefer a decimal, multiply x by 1.0, either in the assignment statement or in the Disp statement. To save your program: Doc File Save or Save As (see fig. 6a). On the Save As screen, the first icon to the right of Save In allows you to go up a level in the directory structure; the second allows you to create a new folder (see fig. 6b). You can descend a level in the directory structure by highlighting a folder and pressing enter. To close the Calculator and Program Editor window: Doc File Close, or click the Touchpad cursor on the red X in the upper right corner. Fig. 5 Input to, and output from, LINEAR. Fig. 6 Saving your program. Tips for Beginning TI-Nspire Programmers To insert a line before the line the cursor is on: cursor to the beginning of the line and press enter. To insert a line after the line the cursor is on: cursor to the end of the line and press enter. The DEL key deletes to the left. To shift easily from the program editor to the calculator window (and viceversa): ctrl tab. The space character is labeled and is found to the right of Z. To exit a document: Doc File Close.

If one enters 0 for a, the program gives x a value of undef because it cannot divide by 0. There are several versions of the If statement for the TI- Nspire (the TI-Nspire Reference Guide, available from TI s website, has a listing with all commands and functions and their syntax). Figure 7a contains the version of If that is appropriate here. Actually, the logic requires an If within an If ( nested Ifs ) (see fig. 7b). To enter the If statement: menu Control If Then (see fig. 7c). The Program Editor enters the framework of the statement (see fig. 7d). The user must enter BooleanExpr, Block 1 and Block 2. If BooleanExpr Then Block 1 Block 2 Define linear2()= Local x If a=0 Then If b=c Then Disp No sol x:=(c-b)/a Fig. 7 If s syntax / locating If command / entry of If into linear2. Vol. 110, No. 1 August 2016 MATHEMATICS TEACHER

Figure 8 presents a program for the TI- Nspire that is equivalent to the TI-84 version shown in figure 6 of the main article. Figure 9 presents a program for the TI-Nspire that is equivalent to the TI-84 version shown in figure 8 of the main article. The round function in Figure 9 rounds its argument to 3 decimal places; without the rounding, the imaginary decimal may run off the right edge of the screen. Define tryhand()= Local a,b,c,d,x Disp ax-b=cx-d Request d?,d If a=c Then If b=d Then Disp No sols x:=((b-d)/(a-c)) Fig. 8 A TI-Nspire program solves ax - b = cx - d. Define quadratic2()= Local a,b,c,d,x,x1,x2 Disp a*x^2+b*x+c=0 If a=0 Then If b=0 Then If c=0 Then Disp No sol x:=(( c)/) d:=b*b-4*a*c If d=0 Then x:=(( b)/(2*a)) If d>0 Then x1:=(( b+ )/(2*a)) x2:=(( b- )/(2*a)) Disp x1=,x1 Disp x2=,x2 x1:=round((( b)/(2*a)),3)+round((( ( d))/(2*a)),3)*i x2:=round((( b)/(2*a)),3)-round((( ( d))/(2*a)),3)*i Disp x1=,x1 Disp x2=,x2 Fig. 9. A TI-Nspire program solves ax 2 + bx + c = 0.