Page 3 - INTRODUCTION; Entering a Program
Barry Kissane INTRODUCTION The Casio fx-7400G PLUS does not have all the capabilities of larger, more sophisticated (and considerably more expensive) graphics calculators. This booklet contains examples of programs that you can use to extend its capabilities in various ways. Some of the programs all...
Page 4 - Running a program
Programming your calculator commands that are used almost exclusively for programming. These are accessed by first accessing ( ). The inside back cover of the User's Guide shows where all programming commands are, while Chapter 8 describes in detail how each command works. When you have finished ent...
Page 5 - Deleting programs
Barry Kissane Deleting programs Programs remain in your calculator until you delete them. They are not affected by turning the calculator off. To permanently delete a program, go to the program listwith , and press the continuation key. Use and to select the program name from the list, and then pres...
Page 7 - INDEX OF PROGRAMS; Page
Barry Kissane INDEX OF PROGRAMS Page Calendar ..............................................................................................1 Heron.....................................................................................................2 Zero.................................................
Page 9 - CALENDAR
Barry Kissane 1 CALENDAR Purpose Gives the week day for any date, according to the Gregorian calendar, which is in everyday use today in western countries. The program evaluates a formula that takes leap years appropriately into account. Operation Enter the day, month number and year (all four digit...
Page 10 - HERON
Programming your calculator 2 HERON Purpose Uses the lengths of the three sides of a triangle to calculate the area of any triangle, using Heron's formula, known since ancient times. Operation Enter the length of each side, followed by . Both numbers and expressions (such as √ 2) are permitted. The ...
Page 11 - ZERO; Operation
Barry Kissane 3 ZERO Purpose The program finds approximately a zero of a function, i.e. a value of the variable for which the function has zero value. Operation The function must be entered as in the function list and then graphed. Trace to a point near a zero you want to find and then activate the ...
Page 12 - Purpose
Programming your calculator 4 2 X 2 EQ Purpose Solving a set of two simultaneous linear equations, by entering only the coefficients of each. Operation The program reminds you of the form for the equations: a 11 x + a 12 y = b 1 a 21 x + a 22 y = b 2 You may have to rewrite your equations into this ...
Page 14 - QUADEQTN
Programming your calculator 6 QUADEQTN Purpose Finding the roots of a quadratic equation, using the quadratic formula. Operation The program reminds you of the form of the equation: ax 2 + bx + c = 0. You may have to rewrite your equations into this form before entering them. Input the three coeffic...
Page 15 - INTRSECT
Barry Kissane 7 INTRSECT Purpose To find the coordinates of a point of intersection of the graphs of two functions. This can be used to solve a pair of simultaneous equations. Operation Start by graphing the two functions, using Y1 and Y2. Trace to a point close to the point of intersection. Then ac...
Page 16 - MINIMUM
Programming your calculator 8 MINIMUM Purpose Find the coordinates of a relative minimum of a function. Operation The function must be in Y1 in the list. Draw a graph of the function and trace to a point near a minimum point. Activate the program, which will give the coordinates of the minimum point...
Page 17 - MAXIMUM
Barry Kissane 9 MAXIMUM Purpose Find the coordinates of a relative maximum of a function. Operation The function must be in Y1 in the list. Draw a graph of the function and trace to a point near a maximum point. Activate the program, which will give the coordinates of the maximum point, correct to t...
Page 18 - SEARCH
Programming your calculator 10 SEARCH Purpose To search systematically through a range of values in order to solve a problem. Operation In its present form, the program checks each of the numbers from 10 to 100 in turn to see whether any of them satisfy the following condition: The product of the te...
Page 19 - INTEGRAL
Barry Kissane 11 INTEGRAL Purpose To find the area under a curve and above the x-axis between two points, using the integral of a function. Operation The program reminds you that the function must be in Y1. Enter the function in Graph mode and then start the program in Program mode. Enter the x-valu...
Page 20 - DECIMAL
Programming your calculator 12 DECIMAL Purpose To give the decimal expansion of a fraction to as many decimal places as desired. Operation Enter the numerator and the denominator, both whole numbers, pressing after each. Each time you press , the next digit in the decimal expansion will be given. Re...
Page 21 - FACTORS
Barry Kissane 13 FACTORS Purpose To find all the prime factors of a positive integer. Operation Enter an integer at the prompt and press to start. Each time you press , another prime factor will be displayed. To test the program, enter 234 and check that the prime factors are 2 x 3 x 3 x 13.
Page 22 - DICE
Programming your calculator 14 DICE Purpose To simulate rolling a standard six-sided die, for which each of the six possible scores are equally likely. Operation Enter the number of rolls required. (The maximum is 255.) Press to start. The program will display the mean score of the simulated dice ro...
Page 23 - TWODICE
Barry Kissane 15 TWODICE Purpose To simulate rolling two standard six-sided die, for which each of the six possible scores are equally likely on each die. The two die rolls are added each time to produce a score. Operation Enter the number of rolls required. (The maximum is 255.) The program will di...
Page 24 - COIN
Programming your calculator 16 COIN Purpose Simulate tossing a coin and counting how often a head is obtained. Operation Enter the (whole) number of tosses. There is no limit on the number, except your time and batteries. With fresh batteries, the calculator will need about 30 seconds for each thous...
Page 25 - FREQDIST
Barry Kissane 17 FREQDIST Purpose To generate a frequency distribution from raw data. Operation The first two lines of the program remind you that the data must be in List 1 and must all be integers. Press to continue the program after the messages. The frequency distribution will be placed into Lis...
Page 26 - DIFFLIST
Programming your calculator 18 DIFFLIST Purpose Find the first and second differences for a sequence. Operation Delete the contents of List 1 and then enter your sequence into List 1. The program will store the first differences between elements of the sequence into List 2 and the second differences...
Page 27 - LONGRUN
Barry Kissane 19 LONGRUN Purpose To illustrate what happens in the long run when events with a certain probability are generated. For example, to see what happens when a fair coin is tossed repeatedly, by plotting the proportion of the heads after various numbers of tosses. Operation Enter the proba...
Page 28 - SRANSAMP
Programming your calculator 20 SRANSAMP Purpose Take a simple random sample of a certain size from a population. A simple random sample is one for which each element of the population has the same chance of being chosen. Notice that it is possible for the same elements to be chosen more than once. (...
Page 29 - NORMAL
Barry Kissane 21 NORMAL Purpose To generate values for areas between two values of a normal probability distribution with mean M and standard deviation S. Operation Enter the mean and standard deviation, each followed by . (For the standard normal (z) distribution, enter M = 0 and S = 1.) Then enter...
Page 30 - BINOMIAL
Programming your calculator 22 BINOMIAL Purpose To simulate a binomial random variable, consisting of a number of trials each of which has the same probability of success. For example, tossing a set of 12 coins, each of which has a probability of 0.5 of landing 'heads', and counting how many of the ...
Page 31 - BINPROB
Barry Kissane 23 BINPROB Purpose To generate values for the binomial and cumulative binomial probability distributions. Operation Enter the number of trials (N) and the probability of success for each (P), followed by in each case. The probability of zero successes is displayed on the screen. Write ...
Page 32 - CMPNDINT
Programming your calculator 24 CMPNDINT Purpose To explore various compound interest situations involving a Principal, an Amount, an interest rate, a number of years of investment and a number of compounding periods per year. If all except one of these variables is known, the other one is calculated...