Home

Casio Algebra FX 2.0 Calculator

image

Contents

1. VARS key PIS SHIFT VARS PRGM key CTRL F3 SET UP ke Level 2 Level 3 Command y n Level 2 Level 3 Command Xmin Xmin x2 x2 Prog Xmax Xmax y y Lbl Xscale Xscl x3 Goto Xdot Xdot Ymin Ymin Yn Y Ymax Ymax m r Yscale Yscl Xtn Tamin Tamin Ytn Yt Locate Locate_ X Getkey Getkey Start D_Start Send Send R Xmin RightXmin End D_End Receiv Receive R Xmax RightXmax Pitch D_pitch If If_ FuncOn R Xsc RightXscl Start F_Start hen Then_ Off FuncOff R Xdot RightXdot End F_End Else Else_ G Connect R Ymin RightYmin Pitch F pitch G Plot R Ymax RightYmax Result F_Result For R Ysc RightYscl FORM Jan an _To_ BG Pict_ R Tmin RightT andi 1 Step _Step_ R Tmax RightT 2 2 Next Next SimulOff R Tpc RightT ptch bn bn While While CoordOn Xfact Xfct bn 1 bn 1 WhlEnd WhileEnd Off CoordOff Yfact bn 2 Do Do On GridOn n n cn cn LpWhle LpWhile_ GridOff X x 1 Prog Prog AxesOn cn 2 2 Return Off AxesOff RANGE R Strt R Start Break LabelOn R End R_End Stop LabelOff 0 0 lt Auto S WindAuto al Manual S WindMan a2 gt bO b0 lt Resid None bi b1 Resid List_ 52 DerivOn c0 c0 DerivOff cl 61 VarRange 2 2 a VarList_ anStrt anStart CirText zdis
2. Locate 9 1 72 LpWhile Ans 72 Or Ans 62 Or Ans 52 04 Locate Locate If 0 14 Then IfEndJ If 8 24 Then IfEndd If 0234 Then AREA Locate 9 5 Y 24 mar END Deg 4 19990401 8 8 10 Program Library 2 J 5ra Des Dea Dea Des Des Dea S668254835 19990401
3. Ang Sin Sinusoidal Conjg Conjg_ Cls Logistic Sel 1 _ List_ Square x 01055 Dot 1VAR 1 Variable_ 2 2 Variable_ Linear LinearReg_ MedMed Med MedLine_ Quad QuadReg_ Cubic CubicReg_ Quat QuartReg_ Log LogReg_ Exp ExpReg_ PowerReg_ Sin anType ImP_ 1 gt gt an 2Type Patbi PlotOn_ PlotOff_ PlotChg_ Plot_ d dx d dx 2 0 2 dix F Line Line dx S gt x Graph Y Graph FMin Text FMax Solve 19990401 Abs Int _ PxiChg_ PxiTest Frac_ Tangnt Tangent Normal Normal Invrse Inverse Circle Circle Vert Vertical Horz Horizontal Store StoPict Recall RelPict 8 7 2 Program Mode Command List
4. rn ite 8 5 14 DrawWeb input Command e eet rt 4 Output Command Multi statement Command iiis 8 5 3 Carriage 8 5 3 Commerit Text Delimiter trt cn eei tn ts 8 5 8 gt lt Relational 5 8 5 18 19990401 8 5 2 Command Reference The following are conventions that are used in this section when describing the various commands Boldface Text Actual commands and other items that always must be input are shown in boldface Curly Brackets Curly brackets are used to enclose a number of items one of which must be selected when using a command Do not input the curly brackets when inputting a com mand Square Brackets Square brackets are used to enclose items that are optional Do not input the square brackets when inputting a command Numeric Expressions Numeric expressions such as 10 10 20 A indicate constants calculations numeric constants etc Alpha Characters Alpha characters indicate literal strings such as AB Basic Operation Commands Input Command Function Prompts for input of values for assignment to variables during program execution Syntax lt variable name gt
5. The following are the characters you can use in a file name A through Z 6 spaces through 9 x Registering a file name uses 24 bytes of memory The file name input screen remains on the display if you press without inputting a file name To exit the file name input screen and return to the program list without registering a file name press Esc 19990401 8 1 2 Basic Programming Steps Example 1 calculate the surface area cm and volume cm of three regular octahedrons when the length of one side is 7 10 and 15 cm Store the calculation formula under the file name OCTA The following are the formulas used for calculating surface area S and volume V of a regular octahedron for which the length of one side is known v2 A S 2N83A V A 3 Procedure PRGM F3 NEW 9 99 PRGM F3 2 7 KaT F6 gt F6 gt F3 2 2 3 567 F6 gt 14 3 V 2 3 mw Kan 3 69 FI EXE e Value of A S when A 7 V when A 7 EXE f 18 e 1 0 5 when A 10 z346 4101615 V when 10 471 4845288 EXE 15 5 S when A 15 779 4228634 V when A 15 i598 990259 1 Press NEW and the cur
6. Chapter Programming 8 1 8 2 8 3 8 4 8 5 8 6 8 7 8 8 Basic Programming Steps Program Mode Function Keys Editing Program Contents File Management Command Reference Using Calculator Functions in Programs Program Mode Command List Program Library This unit comes with approximately 144 kbytes of memory You can check how much memory has been used and how much remains by entering the SYSTEM Mode from the Main Menu and then pressing F1 Mem See 9 2 Memory Operations for details 19990401 8 1 1 Basic Programming Steps Description 8 1 Basic Programming Steps Commands and calculations are executed sequentially just like manual calculation multistatements Set Up 1 From the Main Menu enter the PRGM Mode When you do a program list appears on the display Selected program area use and to move MEASURE OCTA Files are listed in the alphabetic sequence of their TRIANGLE names E Execution 2 Register a file name 3 Input the program 4 Run the program If there are no programs stored in memory when you enter the PRGM Mode the message No Programs appears on the display and only the NEW item is shown in the function menu The values to the right of the program list indicate the number of bytes used by each program A file name can be up to eight characters long
7. 8 6 5 Using Calculator Functions in Programs E Using Dynamic Graph Functions a Program Using Dynamic Graph functions in a program makes it possible to perform repeat Dynamic Graph operations The following shows how to specify the Dynamic Graph range inside program Dynamic Graph range 1D Starte 5 D Ende 1 D pitch 4 Example Program CIrGraph View Window 5 5 1 5 5 141 AX 1 Y1 m9 1 9 20 SelOn 144 2 F9 2 1 D Var Adi 9 F2 3 19D Started wns F5 1 5 69D Enda 5 2 1 pitcha Fs 3 DrawDyna sur nns F6 F6 F2 3 Executing this program produces the result shown here 19990401 8 6 6 Using Calculator Functions in Programs Using Table amp Graph Functions a Program Table amp Graph functions in a program can generate numeric tables and perform graphing operations The following shows various types of syntax you need to use when programming with Table amp Graph functions Table range setting 1 5 Ende 1 gt pitch Numeric table generation DispF Tbl Graph draw operation Connect type DrawFTG Con 4 Plot type DrawFTG PIt 4 Example Program ClrGraph CIrText View Window 0 6 1 20 106 10 4 3X2 2 5 1 1 OG SelOn 14 F6 F1 1 0 Start 2 F6 F1 1 6 gt Enda F1 2
8. 5 1 DispR Tbl 4 9 F2 8 2 F6 1 3 9 DrawWeb ann 30 Executing this program produces the results shown here Numeric Table Recursion graph i 1 0 0297 2 0 0864 3 0 2369 Using List Sort Functions in a Program These functions let you sort the data in lists into ascending or descending order Ascending order SortA List 1 List 2 List 3 Lists to be sorted up to six can be specified F5 1 2 Fa 4 Descending order SortD List 1 List 2 List 3 Lists to be sorted up to six can be specified daje 19990401 8 6 9 Using Calculator Functions in Programs E Using Solve Calculation Function a Program The following is the syntax for using the Solve function in a program Solve f x a Upper limit Lower limit Initial estimated value Example Program Solve 2X 7X 9 1 0 1 n the function f x only X can be used as a variable in expressions Other variables A through Z r 0 are treated as constants and the value currently assigned to that variable is applied during the calculation Input of the closing parenthesis lower limit and upper limit b can be omitted Using Statistical Calculations and Graphs in a Program Including statistical calculations and graphing operations in program lets you calculate and graph statistical data To
9. 19990401 8 5 14 Command Reference DrawR7 Con No parameters Function These commands use values in a generated table to graph a recursion expression with Zan Zbn or as the vertical axis and as the horizontal axis Description These commands graph recursion expressions in accordance with current conditions with Xas Xbs or gt as the vertical axis and as the horizontal axis DrawRX Con produces a connect type graph while DrawRz Plt produces a plot type graph DrawStat Function This draws a statistical graph Syntax See 8 6 9 Using Statistical Calculations and Graphs in a Program Description This command draws a statistical graph in accordance with current statistical graph conditions DrawWeb Function This command graphs convergence divergence of a recursion expression WEB graph Syntax DrawWeb recursion type number of lines Example DrawWeb ann 5 Description This command graphs convergence divergence of a recursion expression WEB graph Omitting the number of lines specification automatically specifies the default value 30 19990401 8 5 15 Command Reference Input Output Commands I O Getkey Function This command returns the code that corresponds to the last key pressed Syntax Getkey Description This command returns the code that cor
10. V C3 5 A 27 F6 gt Fa 14 Volume V 2 GJ 3 amp ha A 3 As you can see you can produce the TETRA program by making the following changes in the OCTA program Deleting 2 X underlined using a wavy line above Changing 3 to 1 2 underlined using a solid line above 19990401 8 3 3 Editing Program Contents Now edit OCTA to produce the TETRA program 1 Edit the program name F6 gt F2 REN E ES Prosram List 2 Edit the program contents EDIT TETRA Ton zxISXHB SODOME PAI 1 2 9 3 Try running the program E1 EXE Value of A 54 8 48257 59 42295766 19990401 8 3 4 Editing Program Contents Searching for Data Inside a Program To search for the letter A inside the program named 1 Recall the program 2 Press F2 SRC and input the data you want to find F2 A 3 Press Ex to begin the search The contents of the program appears on the screen with the cursor located at the first instance of the data you specified T243xH 3 4 Each press of or F1 SRC causes the cursor to jump to
11. Level 3 Command Swap_ Row_ Row _ Row _ Gpht S Gph1_ S Gph S Gph2 Gph3 S Gph3 On DrawOn TYPE Y TYPE List List_ t TYPE Dim Dim_ ParamTYPE Seq Seq X cTYPE Min Min Y gt Y gt Type Max Max Y lt Type Mean Mean Median Median Ys YsType sum Sum Off _ DrawOff Scat Scatter GMEM Store StoGMEM Prod Prod_ Recall RclGMEM Cuml xyLine SelOn D_SelOn_ Percent_ NPPlot NPPlot SelOff D_SelOff_ AList AList_ Hist Hist Var D Augmnt Augment Box ModifiedBox N Dist N Dist TYPE Fill Fill 1 List Mat ParamType Mat Mat_ Broken Broken Linear Linear MedMed Med Med Quad Quad Cubic Cubic Quart Quart log Log Exp Dim Dim_ Det Det_ 1 bn Augmnt Augment bn 1 Ident Identity_ cn Fill cnet M List Mat List R_SelOn_ Abs Abs Factor ZoomAuto Power R_SelOff_
12. This command receives data from and sends data to a connected device Syntax Receive lt data gt Send lt data gt Description This command receives data from and sends data to a connected device The following types of data can be received sent by this command Individual values assigned to variables Matrix data all values individual values cannot be specified List data all values individual values cannot be specified 19990401 8 5 18 Command Reference Conditional Jump Relational Operators REL amp gt lt gt lt Function These relational operators are used in combination with the conditional jump command Syntax lt left side gt lt relational operator gt lt right side gt Parameters left side right side variable A to 2 7 0 numeric constant variable expression such as A x 2 relational operator gt lt lt 19990401 8 6 1 Using Calculator Functions in Programs 8 6 Using Calculator Functions in Programs Text Display You can include text in a program by simply enclosing it between double quotation marks Such text appears on the display during program execution which means you can add labels to input prompts and results Program Display CASIO CASIO 2 2 gt If the text is followed by a calculation formula be sure to insert display command 4 between the te
13. calculation 1 Variable List 1 List 2 Frequency data Frequency x axis data XList F 6 1 i 19990401 8 6 12 Using Calculator Functions in Programs Paired variable statistical calculation 2 Variable List 1 List 2 List 3 Frequency data Frequency y axis data YList x axis data XList amp F4 6 2 2 Uariable E Ex Ex 14 xn 81649658 x n 3 4 e Regression statistical calculation LinearReg List 1 List 2 List 3 Calculation Frequency data Frequency type y axis data YList x axis data XList 6 3 LinearRes E y axth Any one of the following can be specified as the calculation type LinearReg linear regression Med MedLine Med Med calculation QuadReg quadratic regression CubicReg cubic regression QuartReg quartic regression LogReg logarithmic regression ExpReg exponential regression PowerReg power regression Sinusoidal regression statistical calculation SinReg List 1 List 2 y axis data YList x axis data XList Logistic regression statistical calculation LogisticReg List 1 List 2 y axis data YList x axis data XList 19990401 8 7 1 Program Mode Command List 8 7 Program Mode Command List RUN Program SelOn G_SelOn_ OPTN key Command SelOff G_SelOff_ Level 2
14. set conditions and draw a statistical graph Following StatGraph you must specify the following graph conditions Graph draw non draw status DrawOn DrawOff Graph Type x axis data location list name y axis data location list name Frequency data location list name Mark Type 3t Solutions obtained using Solve may include 3t You cannot use a differential quadratic errors differential integration maximum minimum value or Solve calculation expression inside of a Solve calculation term 19990401 8 6 10 Using Calculator Functions in Programs The graph conditions that are required depends on the graph type See Changing Graph Parameters page 6 1 2 The following is a typical graph condition specification for a scatter diagram or xyLine graph S Gph1 DrawOn Scatter List 1 List 2 1 Square In the case of an xy line graph replace Scatter in the above specification with xyLine The following is a typical graph condition specification for a normal probability plot S Gph1 DrawOn NPPlot List 1 Square 4 The following is a typical graph condition specification for a single variable graph S Gph1 DrawOn Hist List 1 List 2 4 The same format can be used for the following types of graphs by simply replacing Hist in the above specification with the applicable graph type 2 tende Hist Median BOX eiue MedBox Modified Box Mod
15. 1 gt pitch F1 3 5 DispF Tbl 4 pur F6 F6 F2 4 1 DrawFTG Con F6 F6 F2 4 2 Executing this program produces the results shown here Numeric Table Graph 19990401 8 6 7 Using Calculator Functions in Programs E Using Recursion Table 4 Graph Functions a Program Incorporating Recursion Table amp Graph functions in a program lets you generate numeric tables and perform graphing operations The following shows various types of syntax you need to use when programming with Recursion Table amp Graph functions Recursion formula input Type Specifies recursion type 2 gt 1 Abs 6 bs Table range setting 1 gt Starte 5 gt Ende 1 gt 2 bel 1 gt an Start 3 bn Start Numeric table generation DispR Tbl Graph draw operation Connect type DrawR Con DrawRZ Con Plot type DrawR PlIt 1 DrawRZ PIt 4 Statistical convergence divergence graph WEB graph DrawWeb 104 19990401 8 6 8 Using Calculator Functions in Programs Example Program View Window 0 1 1 0 2 1 141 O an Type 1 F6 F3 6 2 Ban gt dasi 4 F3 1 2 88 9 8 FB 2 6 Ende 5 F2 2 2 0 01 gt do 1 22 2 3 2 0 01 a Started ss F6 22
16. 2 lt variable name gt Example 2 Description This command momentarily interrupts program execution and prompts for input of a value or expression for assignment to a variable If you do not specify a prompt execution of this command causes to appear indicating the calculator is standing by for input If a prompt is specified lt prompt gt appears to prompt input There is no limit to the number of characters that can be specified for a prompt Input in response to the input command must be a value or an expression and the expression cannot be a multi statement 19990401 8 5 3 Command Reference 4 Output Command Function Displays an intermediate result during program execution Description This command momentarily interrupts program execution and displays alpha character text or the result of the calculation immediately before the command The output command should be used at locations where you would normally press the 28 key during a manual calculation Multi statement Command Function Connects two statements for sequential execution without stopping Description Unlike the output command 4 statements connected with the multi statement command are executed non stop The multi statement command can be used to link two calculation expressions or two commands You can also use a carriage return indicated by 4 in place of the multi st
17. On 0 PlotOn C 04 END oO0 19990401 8 8 6 Program Library n e e a a C ki Su if F 1 19990401 8 8 7 Program Library Program Name Rotation Description This program draws an angle at the coordinate defined by an input vertex and then rotates it to a specified angle around the vertex Purpose This program demonstrates coordinate transformation using a matrix Important Deg must be set as the angle unit for this program Dod F Line H I F GJ IfEnde VERTEX NUMBER A 1 IfEnd4 LpWhile lt 0 Or Text 1 1 END 2 A gt Dim Mat Ad 1 For 198 To Ad Text 1 1 Text 1 30 B4 If 14 Then Plot 4 PlotOn XoMat A 1 B 4 YoMat A 2 8 4 Else Plot C D 4 F Line C D X Y XoMat A 1 B YoMat A 2 B IfEndJ Mat A 1 B C Mat 2 8 gt 0 Next Mat A 1 1 gt Es Mat A 2 1 F4 F Line C D E Fa Text 1 1 AXIS 4 Plot 4 PlotOn X YJ A Dim List 14 List 24 Fill C List 19 4 Fill D List 2 4 List gt Mat List l List 2 4 Trn Mat Ans Mat Mat A Mat CoMat Ad ClrTexta ANGLE cos E sin E sin E cos Mat Da Mat D Mat gt De If 14 Then PlotOn Mat D 1 1 Mat 042 114 Else For 1 To A 14 Mat D 1 B
18. atement command Carriage Return Function Connects two statements for sequential execution without stopping Description Operation of the carriage return is identical to that of the multi statement command Using a carriage return in place of the multi statement command makes the displayed program easier to read Comment Text Delimiter Function Indicates comment text inserted inside a program Description Anything following the apostrophe is treated as non executable comment text 19990401 8 5 4 Command Reference Program Commands If Then Else IfEnd Function The Then statement is executed only when the If condition is true non zero The Else statement is executed when the If condition is false 0 The IfEnd statement is always executed following either the Then statement or Else statement Syntax If lt condition gt Then lt statement gt lt statement gt numeric expression A A 4 4 Else statement H statement IfEnd 4 Parameters condition numeric expression Description 1 If Then the condition is true execution proceeds with the Then statement and then continues with the statement following IfEnd When the condition is false execution jumps to the statement following IfEnd 2 If Then Else IfEnd When the condition is true execution proceeds wit
19. bles Description These commands generate numeric tables during program execution in accordance with conditions defined within the program DispF Tbl generates a function table while DispR Tbl generates a recursion table DrawDyna No parameters Function This command executes a Dynamic Graph draw operation Description This command draws a Dynamic Graph during program execution in accordance with current Dynamic Graph parameters 19990401 8 5 13 Command Reference DrawFTG Con No parameters Function This command uses values in a generated table to graph a function Description This command draws a function graph in accordance with current conditions e DrawFTG Con produces a connect type graph while DrawFTG PIt produces a plot type graph DrawGraph No parameters Function This command draws a graph Description This command draws a graph in accordance with current conditions DrawR Con No parameters Function These commands use values in a generated table to graph a recursion expression with an bn or cn as the vertical axis and as the horizontal axis Description These commands graph recursion expressions in accordance with current conditions with An bn OF Cn as the vertical axis and as the horizontal axis DrawR Con produces a connect type graph while DrawR Plt produces a plot type graph
20. checks it If the current value is non zero execution continues with the next statement If the current value is zero execution jumps to the statement following the multi statement command display command 4 or carriage return 4 Clear Commands CLR CirGraph Function This command clears the graph screen and returns View Windows settings to their INIT values Syntax ClrGraph Description This command clears the graph screen during program execution CIrList Function This command deletes list data Syntax ClrList list name gt ClrList Parameters list name 1 to 20 Ans Description This command deletes the data in the list specified by list name All list data is deleted if nothing is specified for list 19990401 8 5 12 Command Reference CIrText Function This command clears the text screen Syntax Description This command clears text from the screen during program execution Function This command deletes matrix data Syntax matrix name gt ClrMat Parameters matrix name A to Z Ans Description This command deletes the data in the matrix specified by matrix name All matrix data is deleted if nothing is specified for matrix name Display Commands DISP DispF Tbl DispR Tbl No parameters Function These commands display numeric ta
21. d e control transfer command menu IFV FORV WHLEY CTRL LOGIC conditional jump loop control conditional loop control program control logical operation command menu e CLRY DISP clear display command menu s de unu separator for expressions and commands See 8 5 Command Reference for full details on each of these commands Pressing F3 SET UP displays the mode command menu shown below ANGL DISP CPLX GRPH STAT DERIV T VAR DSP See SET UP Screen Function Key Menus on page 1 7 1 for details about each of these commands 19990401 8 2 2 Program Mode Function Keys e When you are inputting a program 22 JUMP SRC e decimal hexadecimal binary octal value input LOG logical operators DISP conversion of displayed value to decimal hexadecimal binary octal SYBL symbol menu e Pressing Rs displays the following PROGRAM menu Prog JUMP 4 e lt logical operator menu e eus separator for expressions and commands Pressing F3 UP displays the mode command menu shown below e Dec Hex Bin Oct EXE EDIT program execute edit NEW new program DELV DEL A specific program all program delete SRC REN name search change 1 Programs inpu
22. fEndd B A gt F d C B G4 If Then CIrText AN Alxr N 1 4 poe Locate 6 3 Ad Locate 6 4 F4 IfEndd END 19990401 8 8 4 Program Library Example 1 Example 2 19990401 8 8 5 Program Library Program Name Ellipse Description This program displays a number table of the following values based on input of the foci of an ellipse the sum of the distance between the loci and foci and the pitch step size of X Y1 Coordinate values of upper half of ellipse Y2 Coordinate values of lower half of ellipse Y3 Distances between right focus and loci Y4 Distances between left focus and loci Y5 Sum of Y3 and Y4 Next the program plots the foci and values Y1 and Y2 Purpose This program shows that the sums of the Dod distances between the loci and two foci of an ClrTextel ellipse are equal FOCUS 0 0 Cz 5Cu SUM LpWhile 2Abs C2D Or D 22A4 f A C 9B4 Y Typed 1 2 2 X C Y12 Y3a OC Y12 Y4a Y3 Y4 gt Y5a For 1 204 If lt 54 Then SelOn Else SelOff IfEnda Next Int A F Start Int A gt F Enda F pitch gt F pitcha ispF Tbl 2 1 2 2 1 2B Ymind G SelOff 34 G SelOff 44 G SelOff 54 DispF Tbl4 DrawFTG Plta Plot
23. gt F4 Mat D 2 B gt 64 Mat D 1 B 1 gt H4 Mat D 2 B 1 I4 F Line F G H I Next4 If A 24 Then Mat D 1 1 5F Mat D 2 1 gt Gd 19990401 8 8 8 Program Library 3 0 19990401 Program Interior Angles and Surface Area of Triangle 8 8 9 Program Library Description This program calculates the interior angles and surface area of a triangle defined by input coordinates for angles A B and C Purpose This program calculates the interior angles and surface area of a triangle defined by coordinates for angles A B and C Important Inputting the same coordinates for any two angles A B C causes an error WHICH ANGLE 1 Deg 4 2 Rad 4 3 Gra 4 Dow Getkeyd If Ans 724 Then 1 84 Deg Deg Deg Deg Deg 4 If Ans 624 Then 2284 IfEndd If Ans 524 Then 3 02 Grad Gra Gra Gra Gra Gra 4 IfEnda AX 2A4 CX gt Ed C E Id D F 2J4 F B L4 GI HJ 2M IK JL 2N4 KG LH 02 V G H2 2PJ 2 8 5 0 5 4 cos 1 52 4
24. h the Then statement and then jumps to the statement following IfEnd When the condition is false execution jumps to the Else statement and then continues with the statement following IfEnd For To Step Next Function This command repeats everything between the For statement and the Next statement The starting value is assigned to the control variable with the first execution and the value of the control variable is changed according to the step value with each execution Execution continues until the value of the control variable exceeds the ending value Syntax A For lt starting value gt lt control variable name gt To lt ending value gt Step lt step value gt 4 Parameters control variable name A to 2 starting value value or expression that produces a value i e sin x A etc ending value value or expression that produces a value i e sin x A etc step value numeric value default 1 19990401 8 5 5 Command Reference Description The default step value is 1 Making the starting value less than the ending value and specifying a positive step value causes the control variable to be incremented with each execution Making the starting value greater than the ending value and specifying a negative step value causes the control variable to be decremented with each execution Do LpWhile Function This command repeats specific commands a
25. he following two operations to correct the situation 19990401 8 4 3 File Management To delete all programs 1 While the program list is on the display press F5 DEL A 2 Press g Yes to delete all the programs in the list or 9 to abort the operation without deleting anything You also can delete all programs by entering the SYSTEM Mode from the Main Menu and then pressing F1 Mem to display the memory management screen See 9 2 Memory Operations for details Registering a password When inputting a program you can protect it with a password that limits access to the program contents to those who know the password You do not need to input the password to run a program create a program file under the name AREA and protect it with the password CASIO 1 While the program list is on the display press F3 NEW and input the file name of the new program file FS NEW Program Hame A 8 E 2 Press F5 and then input the password F5 Froaram CAREA s CO 9 Password CRSIOA 1 The password input procedure is identical to that used for file name input 19990401 8 4 4 File Management 3 Press 59 to register the file name and password Now you can input the contents of the program file 4 After inputting the program press QUIT to exit the program file and return to t
26. he program list Files that are password protected are indicated by an asterisk to the right of the file name Proaram List Recalling a Password Protected Program recall the file named AREA which is protected by the password CASIO 1 In the program list use G to move the highlighting to the name of the program you want to recall 2 Press F2 EDIT Password 1 3 Input password and press 68 to recall the program Pressing 28 without inputting a password 3t Inputting the wrong password when recalling a while saving a new program causes the file to password protected program causes the be saved without a password Pressing Ex message Mismatch to appear Press 60 to without inputting a password registers the file return to the password input screen name only without a password 19990401 8 5 1 Command Reference 8 5 Command Reference Command Index 8 5 6 8 5 11 8 5 11 8 5 12 DispF Tbl DISPRETD 8 5 12 8 5 5 BAW DY 8 5 12 DrawFTG Con DraWFTG Plt 8 5 13 GIADA ee PS 8 5 13 DrawFH Con 8 5 13 DrawH sGoHl DIaWEDSPIE
27. ified Normal Distribution N Dist Broken line Broken The following is a typical graph condition specification for a regression graph S Gph1 DrawOn Linear List 1 List 2 List The same format can be used for the following types of graphs by simply replacing Linear in the above specification with the applicable graph type Linear Regression Linear Med Med Med Med Quadratic Regression Cubic Regression Cubic Quartic Regression Quart Logarithmic Regression Log Exponential Regression Exp Power Regression Power 19990401 8 6 11 Using Calculator Functions in Programs The following is a typical graph condition specification for a sinusoidal regression graph S Gph1 DrawOn Sinusoidal List 1 List 2 4 The following is a typical graph condition specification for a logistic regression graph S Gph1 DrawOn Logistic List 1 List 2 a Example Program 9 1 ClrGraph C D 8 F4 2 1 S Wind Auto 4 1 2 3 2 List 1 4 6 Fa 8 1 1 2 3 gt List 2 4 was F6 Fe F2 1 S Gph1 DrawOn Scatter List 1 List 2 1 Square DrawStat Executing this program produces the scatter diagram shown here Performing Statistical Calculations Single variable statistical
28. n here 19990401 8 6 4 Using Calculator Functions in Programs Syntax of other graphing functions V Window Zoom Pict Sketch View Window lt Xmin gt lt Xmax gt lt Xscale gt lt Ymin gt lt Ymax gt lt Yscale gt lt gt lt T dpitch gt StoV Win area of V Win gt area 1 to 6 RelV Win area of V Win gt area 1 to 6 Factor X factor Y factor ZoomAuto Non parameter StoPict area of picture area 1 to 20 RelPict area of picture area 1 to 20 PlotOn X coordinate lt Y coordinate gt PlotOff lt X coordinate gt lt Y coordinate gt PlotChg lt X coordinate gt lt Y coordinate gt PxlOn line number column number gt PxlOff lt line number column number gt PxlChg lt line number column number PxlITest line number column number gt F Line X coordinate 1 Y coordinate 1 X coordinate 2 Y coordinate 2 Text line number column numbers lt text gt Text line number column number expression Tangent function lt X coordinate gt Normal lt function gt lt X coordinate gt Inverse lt function gt Circle lt center point X coordinate gt lt center point Y coordinate gt lt radius R value gt Vertical lt X coordinate gt Horizontal lt Y coordinate gt 19990401
29. of A division operation does not produce a remainder the result of the operation 15 assigned to A The above procedure is repeated until B gt A 440730 2 x x 5 x 59 x 83 INPUT NUMBER 2 gt 22B4 Do While Frac 0 A B2A4 Whi leEnd If B 24 Then Else 2 gt IfEnd LpWhile B lt Ad END 19990401 8 8 2 Program Library HUMBER 4 8 2 68 HUMBER 462 Disr EXE HUMBER 462 Disr EXE Exe IMPLT HUMBER 462 1 Disr HUMBER 462 1 EME 19990401 5 8 8 3 Program Library Program Arithmetic Geometric Sequence Differentiation Description After input sequence terms 1 2 and 3 this program determines whether it is an arithmetic sequence or geometric sequence based on the differences and ratios of the terms Purpose This program determines whether a specific sequence is an arithmetic sequence or geometric sequence 1 5 10 15 Arithmetic sequence Example 2 5 10 20 Geometric sequence 1 2 gt gt gt If Then AN Al N 1 D 4 og D Locate 6 3 Ad Locate 6 4 04 I
30. pOn bnstrt bnStart CirGraph ZdispOff cnStrt enStart ClrList Result R Result CirMat_ S Rslt Sim Result DrawStat S Coef Sim_Coef DrawGraph P Rslt Ply_Result DrawDyna P Coef Ply_Coef DispF Tbl Mod H_Start H_pitch DrawFTG Con DrawFTG PIt DispR Thl DrawWeb_ DrawR Con DrawRz Con DrawR Plt 19990401 DrawRz Plt 8 7 3 Program Mode Command List BASE Program CTRL F3 SETUP key Level 3 Level 1 Level 2 Level 3 Command Level 1 Level 2 3 Command ViewWindow d d Dec StoV Win h h Hex RelV Win b b Bin 0 0 Oct LOG Neg_ Not Not_ and and or or xor xnor xnor DISP gt Dec gt Oct RS PRGM key Level 3 Command Prog_ Lbl_ Goto_ W Tiv 3E Tu 19990401 8 8 1 Program Library 8 8 Program Library Be sure to check how many bytes of unused memory is remaining before attempting to perform any programming Program Name Prime Factorization Description This program continually divides a natural number by factors until all its prime factors are produced Purpose This program accepts input of natural number A and divides it by B 2 3 5 7 to find the prime factors
31. responds to the last key pressed ss 29967676 A value of zero is returned no key was pressed previous to executing this command This command can be used inside of a loop 19990401 8 5 16 Command Reference Locate Function This command displays alpha numeric characters at a specific location on the text screen Syntax Locate column numbers line number value Locate column number line number numeric expression Locate column numbers line number string Example Locate 1 1 AB Parameters line number number from 1 to 7 column number number from 1 to 21 value and numeric expression string character string Description This command displays values including variable contents or text at a specific location on the text screen If there is a calculation input that calculation result is displayed The row is designated by a value from 1 to 7 which the column is designed by a value from 1 to 21 1 1 lt 21 1 1 7 21 7 Example 4 Locate 7 1 CASIO This program displays the text CASIO FX in the center of the screen In some cases the ClrText command should be executed before running the above program 19990401 8 5 17 Command Reference Receive Send Function
32. rtothe top of the program TAM a F1 JUMP 2 Bottom Moves the cursor tothe 0 bottom of the program eur E 19990401 8 3 2 Editing Program Contents Using an Existing Program to Create a New Program Sometimes you can input a new program by using a program already in memory as a base Simply recall the existing program make the changes you need and then execute it Example 2 To use the program page 8 1 2 to create program that calculates the surface area and volume of regular tetrahedrons when the length of one side is 7 10 and 15 cm Use TETRA as the file name and volume V of a regular tetrahedron for which the length of one The following the formulas used for calculating surface area 5 side A is known 43 Use the following key operations when inputting the program Length of One Side A m9 F3 2 x67 F9 gt gt Surface Area S 29 3 223 F6 gt Fa 4 Volume mA 2 17 2 484 Compare this with the program for calculating the surface area and volume of a regular octahedron Length of One Side A ARS PRGM F3 2 x67 F9 gt gt Surface Area S 2 9 sr 3
33. s long as its condition is true non zero Syntax Do lt statement gt LpWhile lt condition gt 4 d numeric expression Parameters expression Description This command repeats the commands contained in the loop as long as its condition is true non zero When the condition becomes false 0 execution proceeds from the statement following the LpWhile statement Since the condition comes after the LpWhile statement the condition is tested checked after all of the commands inside the loop are executed 19990401 8 5 6 Command Reference While WhileEnd Function This command repeats specific commands as long as its condition is true non zero Syntax While lt condition gt gt statement 4 gt WhileEnd numeric expression 4 4 Parameters expression Description This command repeats the commands contained in the loop as long as its condition is true non zero When the condition becomes false 0 execution proceeds from the statement following the WhileEnd statement Since the condition comes after the While statement the condition is tested checked before the commands inside the loop are executed E Program Control Commands CTL Break Function This command breaks execution of a loop and continues from the next command following the loop Syntax Break Description This command breaks execution of a loop and continues from the ne
34. s with the characters you input highlights If there is no program whose file name starts Not Found appears on the display If this with the characters you input the message happens press to clear the error message 19990401 8 4 2 File Management Editing a file name To change the name of a file from TRIANGLE to ANGLE 1 While the program list is on the display use and to move the highlighting to the file whose name you want to edit and then press gt F2 REN 1 2 Make any changes you want Rename 1 3 Press 59 to register the new name and return to the program list The program list is resorted according to the changes you made in the file name Deleting a Program To delete a specific program 1 While the program list is on the display use 2 and to move the highlighting to the name of the program you want to delete 2 Press F4 DEL 3 Press Yes to delete the selected program E amp No to abort the operation without deleting anything 3t If the modifications you make result in a file e Press to clear the error and return to the file name that is identical to the name of a name editing screen program already stored in memory the Press to clear the input file name and input message Already Exists appears When this a new one happens you can perform either of t
35. sor changes form 3 Pressing while the final result of a program to indicate alpha character input is on the display changes to the program list 2 following shows how the calculation ofthe You can also run a program while in the RUN surface area and volume of a regular MAT Mode by inputting Prog file name gt octahedron would be calculated using FRU manual calculation Pressing while the final result of a program executed using this method is on the displa S u B av oor re executes m program x value of A gt x ccs 2 2 3 59 if the program specified by Prog GAS 3 29 file name gt cannot be found 19990401 8 2 1 Program Mode Function Keys 8 2 Program Mode Function Keys NEW new program When you are registering a file name RUN BASE general calculation number base program input password registration SYBL symbol menu e When you are inputting a program F1 RUN default JUMP top bottom of program e SRC search MAT STAT LIST GRPH DYNA RECR matrix statistic list graph Dynamic Graph recursion menu e Pressing ars PRGM displays the following PRGM PROGRAM menu Prog program recall JUMP jump command menu 27104 input output comman
36. sult to row 3 The following is the syntax to use for this program Row 4 2 34 Rows to be added Row for which scalar product is to be calculated Matrix name Multiplier Mat A Executing this program produces the following result 19990401 8 6 3 Using Calculator Functions in Programs To add two rows Row Example 4 add Row 2 Row 3 of the matrix in Example 1 The following is the syntax to use for this program Row A 2 3 4 Rows be added Row for which scalar product is to be calculated Matrix name Mat Executing this program produces the following result Bl Using Graph Functions in a Program You can incorporate graph functions into a program to draw complex graphs and to overlay graphs on top of each other The following shows various types of syntax you need to use when programming with graph functions View Window View Window 5 5 1 5 5 1 4 Graph function input Y Specifies graph type X 3 Y1id Graph draw operation DrawGraph 4 Example Program ClrGraph 1 F6 F6 F1 2 59 View Window 10 10 2 120 150 50 4 2 sur F1 E9 F1 3 X 4 X 3 24X AX 80 gt 4 e 1 9G SelOn 1 4 6 F6 F1 1 6 DrawGraph F2 2 Executing this program produces the result show
37. t after pressing F2 BASE are indicated by to the right of the file name 19990401 8 3 1 Editing Program Contents 8 3 Editing Program Contents Debugging a Program A problem in a program that keeps the program from running correctly is called a bug and the process of eliminating such problems is called debugging Either of the following symptoms indicates that your program contains bugs that require debugging Error messages appearing when the program is run Results that are not within your expectations To eliminate bugs that cause error messages An error message like the one shown below appears whenever something illegal occurs during program execution ERROR Press CESC When such a message appears press to display the place in the program where the error was caused The cursor will be flashing at the location of the problem Check the Error Message Table page 1 1 for steps you should take to correct the situation Note that pressing does not display the location of the error if the program is password protected Instead it returns to the program list screen To eliminate bugs that cause bad results your program produces results that are not what you normally expect check the contents of the program and make necessary changes Fi JUMP key is also useful when editing program contents F1 JUMP 1 Moves the curso
38. the command 19990401 8 5 8 Command Reference Return Function This command returns from a subroutine Syntax Return Description Execution of the Return command inside a main routine causes execution of the program to stop Execution of the Return command within a subroutine terminates the subroutine and returns to the program from which the subroutine was jumped to Function This command terminates execution of a program Syntax Stop Description This command terminates program execution Execution of this command inside of a loop terminates program execution without an error being generated 19990401 8 5 9 Command Reference Jump Commands JUMP Dsz Function This command is a count jump that decrements the value of a control variable by 1 and then jumps if the current value of the variable is zero 052 variable name gt lt statement gt lt statement gt L 4 Variable Value 0 Syntax Variable Value 0 Parameters variable name A to Z 0 Example Dsz B Decrements the value assigned to variable B by 1 Description This command decrements the value of a control variable by 1 and then tests checks it If the current value is non zero execution continues with the next statement If the current value is zero execution jumps to the statement following the multi statement command displa
39. the next instance of the data you specified message Not Found appears when the search data you specify cannot be found in the program Once the contents of the program are on the screen you can use the cursor keys to move the cursor to another location before searching If there are no more instances of the data you for the next instance of the data Only the part of specified the search operation ends and the the program starting from the current cursor cursor returns to the point from which you location is searched when you press 59 started your search Once the search finds an instance of your data inputting characters or moving the cursor canno er causes the search operation to be cancelled display command 44 for the search data If you make a mistake while inputting characters to search for press to clear your input and re input from the beginning 19990401 8 4 1 File Management 8 4 File Management Searching for a File To find a file using initial character search Example To use initial character search to recall the program named OCTA 1 While the program list is on the display press F6 2 SRC and input the initial characters of the file you want to find gt Search For Praaram 2 Press to search Prosram List TRIANGLE 59 The that start
40. xt and calculation Inputting more than 21 characters causes the text to move down to the next line The screen scrolls automatically if the text causes the screen to become full Using Matrix Row Operations in a Program These commands let you manipulate the rows of a matrix in a program For this program enter the RUN MAT Mode and then use the MAT Editor to input the matrix and then enter the PRGM Mode to input the program To swap the contents of two rows Swap Example 1 To swap the values of Row 2 and Row the following matrix 1 2 Matrix 3 4 5 6 The following is the syntax to use for this program Swap A 2 34 Rows to be swapped Matrix name Mat A Executing this program produces the following result 19990401 8 6 2 Using Calculator Functions in Programs To calculate a scalar product Row Example 2 calculate the scalar product of Row 2 of the matrix in Example 1 multiplying by 4 The following is the syntax to use for this program Row 4 A 24 2 Row Matrix name Multiplier Mat A Executing this program produces the following result Hin 12 3 5 calculate scalar product and add the results to another row Row Example 3 To calculate the scalar product of Row 2 of the matrix in Example 1 multiplying by 4 and add the re
41. xt command following the loop This command can be used to break execution of a For statement Do statement and While statement 19990401 8 5 7 Command Reference Prog Function This command specifies execution of another program as a subroutine In the Mode this command executes a new program Syntax Prog file name Example Prog ABC Description Even when this command is located inside of a loop its execution immediately breaks the loop and launches the subroutine This command can be used as many times as necessary inside of a main routine to call up independent subroutines to perform specific tasks A subroutine can be used in multiple locations in the same main routine or it can be called up by any number of main routines Main Routine Subroutines Level Level2 Level3 Level4 Calling up a subroutine causes it to be executed from the beginning After execution of the subroutine is complete execution returns to the main routine continuing from the state ment following the Prog command Goto Lbl command inside of a subroutine is valid inside of that subroutine only cannot be used to jump to a label outside of the subroutine e f a subroutine with the file name specified by the Prog command does not exist an error occurs In the RUN MAT Mode inputting the Prog command and pressing Ex launches the program specified by
42. y command 4 or carriage return 1 19990401 8 5 10 Command Reference Goto Lbl Function This command performs an unconditional jump to a specified location Syntax Goto label name gt label name gt Parameters label name value 0 to 9 variable A to Z 7 0 Description This command consists of two parts Goto n where is a parameter as described above and 0 where is the parameter referenced by Goto This command causes program execution to jump to the Lbl statement whose n parameter matches that specified by the Goto statement This command can be used to loop back to the beginning of a program or to jump to any location within the program This command can be used in combination with conditional jumps and count jumps If there is Lbl statement whose value matches that specified by the Goto statement an error occurs 19990401 8 5 11 Command Reference Isz Function This command is a count jump that increments the value of a control variable by 1 and then jumps if the current value of the variable is zero Syntax Variable Value 0 157 lt variable name gt lt statement gt statement 44 3 Variable Value 0 Parameters variable name A to 2 0 Example 152 Increments the value assigned to variable by 1 Description This command increments the value of a control variable by 1 and then tests

Download Pdf Manuals

image

Related Search

Related Contents

Pennington 100509301 Use and Care Manual : Free Download, Borrow, and Streaming : Internet Archive  MANUALE TECNICO - Sfelettrici.it  Hydrodehn    Excella Two - ET シリーズは、初代 Excella シリーズの経験を  1 Installation Instructions  HP Officejet Pro 8100 User Guide - ENWW - Hewlett  レーザーマニピュレーションシステム 取扱説明書  HP ProBook 430 G2  Manual del Usuario  

Copyright © All rights reserved.
Failed to retrieve file