Programming20-1 Before Programming20-2 Programming Examples20-3 Debugging a Program20-4 Calculating the Number of Bytes Used by a Program20-5 Secret F
36020-5 Secret FunctionWhen inputting a program, you can protect it with a password that limits access tothe program contents to those who know the pa
3612. Press 2 (EDIT).3. Input the password and press w to recall the program.• The message “Mismatch” appears if you input the wrong password.Secret F
36220-6 Searching for a FileThere are three different methods for searching for a specific file name.uuuuuTo find a file using scroll search Example
3632. Press w to search.•All files whose file names start with the characters you input are recalled.• If there is no program whose file name starts w
36420-7 Searching for Data Inside a Program Example To search for the letter “A” inside the program named OCTA1. Recall the program.2. Press 3 (SRC)
36520-8 Editing File Names and Program ContentsuuuuuTo edit a file name Example To change the name of a file from TRIANGLE to ANGLE1. While the progr
366Use TETRA as the file name.Length of One Side (A) Surface Area (S) Volume (V)A7 cm cm2cm310 cm cm2cm315 cm cm2cm3The following are the formulas use
367cd![bcD!QLet’s try running the program.Length of One Side (A) Surface Area (S) Volume (V)7 cm 84.87048957 cm240.42293766 cm310 cm 173.2050808 cm211
36820-9 Deleting a ProgramThere are two methods for deletion of a file name and its program.uuuuuTo delete a specific program1. While the program list
36920-10 Useful Program CommandsIn addition to calculation commands, this calculator also includes a variety ofrelational and jump commands that can b
35220-1 Before ProgrammingThe programming function helps to make complex, often-repeated calculationsquick and easy. Commands and calculations are exe
370kkkkk DISP (display command menu)Selecting {DISP} from the program menu displays the following function menuitems.u {Stat}/{Grph}/{Dyna} ... {stati
37120-11 Command Referencekkkkk Command IndexBreak ... 378ClrGraph .
37220- 11 Command ReferenceThe following are conventions that are used in this section when describing thevarious commands.Boldface Text ...
373Command Reference 20- 11: (Multi-statement Command)Function: Connects two statements for sequential execution without stopping.Description:1. Unlik
37420- 11 Command ReferenceIf~Then~IfEndFunction: The Then-statement is executed only when the If-condition is true (non-zero). The IfEnd-statement is
375Command Reference 20- 11If~Then~Else~IfEndFunction: The Then-statement is executed only when the If-condition is true(non-zero). The Else-statement
37620- 11 Command ReferenceParameters:• control variable name: A to Z•starting value: value or expression that produces a value (i.e. sin x, A, etc.)•
377Command Reference 20- 113. Making the starting value less than the ending value and specifying a positivestep value causes the control variable to
3782. Since the condition comes after the While-statement, the condition is tested(checked) before the commands inside the loop are executed.Example:
379Command Reference 20- 11Main Routine SubroutinesDCEIJProg ”E” Prog ”I” Prog ”J”AProg ”D”Prog ”C”Level 1 Level 2 Level 3 Level 44. Calling up a subr
35320-2 Programming Examples Example 1 To calculate the surface area and volume of three regularoctahedrons of the dimensions shown in the table below
380Example: For 2 → I To 10_If I = 5_Then ”STOP” : Stop_IfEnd_NextThis program counts from 2 to 10. When the count reaches 5, however,it terminates ex
381Command Reference 20- 112. This command can be used to loop back to the beginning of a program or tojump to any location within the program.3. This
382Parameters:left side/right side: variable (A to Z, r, θ), numeric constant, variable expression(such as: A × 2)relational operator: =, GGGGG, >,
383Command Reference 20- 11kkkkk Display Commands (DISP)DispF-Tbl, DispR-TblFunction: These commands display numeric tables.Syntax:DispF-Tbl_DispR-Tbl
384DrawR-Con, DrawR-PltFunction: These commands graph recursion expressions, with an(bn) as thevertical axis and n as the horizontal axis.Syntax:DrawR
385Description:1. This command graphs convergence/divergence of a recursion expression(WEB graph).2. Omitting the number of lines specification automa
38620- 11 Command ReferenceSyntax:Locate <column number>, <line number>, <value>Locate <column number>, <line number>, &
387Command Reference 20- 11Send (Function: This command sends data to an external device.Syntax: Send (<data>)Description:1. This command sends
38820-12 Text DisplayYou can include text in a program by simply enclosing it between double quotationmarks. Such text appears on the display during p
38920-13 Using Calculator Functions in Programskkkkk Using Matrix Row Operations in a ProgramP. 8 0 These commands let you manipulate the rows of a ma
354•Use 1 (RUN) to input a program for general calculations (a program to beexecuted in the COMP Mode). For programs that involve number systemspecifi
390uuuuuTo calculate a scalar multiplication and add the results to anotherrow (`````Row+) Example 3To calculate the product of Row 2 of the matrix in
391Using Calculator Functions in Programs 20- 133Y = Type_3 4431”X ^ 4– X ^ 3–24X2 + 4X + 80” → Y1_4 J41JJ45G SelOn 1_5 4411J6Orange G1_6 427DrawGraph
392kkkkk Using Table & Graph Functions in a ProgramP. 206 Table & Graph functions in a program can generate numeric tables and performgraphing
393Using Calculator Functions in Programs 20- 13kkkkk Using Recursion Table & Graph Functions in a ProgramP. 218 Incorporating Recursion Table &am
39420- 13 Using Calculator Functions in ProgramsExecuting this program produces the results shown here.Numeric Table Recursion graphkkkkk Using List S
395Using Calculator Functions in Programs 20- 13kkkkk Using Statistical Calculations and Graphs in a ProgramP. 250 Including statistical calculations
39620- 13 Using Calculator Functions in Programs• The following is a typical graph condition specification for a regression graph.S-Gph1 DrawOn, Linea
397Using Calculator Functions in Programs 20- 13kkkkk Performing Statistical Calculations• Single-variable statistical calculation11-Variable List 1,
398•Sine regression statistical calculationSinReg List 1, List 2• Logistic regression statistical calculationLogisticReg List 1, List 2y-axis data (YL
355•Pressing 6 (SYBL) displays a menu of symbols ( ’, ”, ~, *, /, # ) that can beinput into a program.•Pressing ! Z displays a menu of commands that c
356The following shows examples of how to actually use the ? and ^ commands.!W4(?)aaA6(g)5(:)c*!9d*aAx6(g)5(^)!9c/d*aAMd!Q or JJuuuuuTo run a program1
357w············•Pressing w while the program’s final result is on the display re-executes theprogram.P. 378 •You can also run a program while in the
35820-3 Debugging a ProgramA problem in a program that keeps the program from running correctly is called a“bug,” and the process of eliminating such
35920-4 Calculating the Number of Bytes Used by aProgramThere are two types of commands: 1-byte* commands and 2-byte* commands.*A byte is a unit of me
Kommentare zu diesen Handbüchern