EasyManuals Logo
Home>Texas Instruments>Calculator>TINSPIRE

Texas Instruments TINSPIRE User Manual

Texas Instruments TINSPIRE
876 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #428 background imageLoading...
Page #428 background image
416 Calculator
Defining a multiple-line function manually
` To start each new line without completing the function definition,
hold down
Alt and press Enter
Handheld: Press @ instead of pressing ·.
As an example, define a function
sumIntegers(x) that calculates the
cumulative sum of integers from 1 through x.
1. On the Calculator entry line, type
Define sumIntegers(x)=. Do not
press
· yet.
2. Insert the Func...EndFunc template.
From the Functions & Programs menu, select Func...EndFunc.
Calculator inserts the template.
3. Type the following lines, pressing
@ or Alt+Enter at the end of each
line.
4. After typing Return tmpsum, press · to complete the definition.
5. Evaluate
sumIntegers(5) to test the function.
Defining a program
Defining a program is similar to defining a multiple-line function. The
Prgm...EndPrgm template serves as a container for the program
statements.

Table of Contents

Other manuals for Texas Instruments TINSPIRE

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TINSPIRE and is the answer not in the manual?

Texas Instruments TINSPIRE Specifications

General IconGeneral
BrandTexas Instruments
ModelTINSPIRE
CategoryCalculator
LanguageEnglish

Related product manuals