Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Numerical Integration Program For The TI 82 and 83

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Numerical Integration Program for the TI 82 and 83.

It is possible that your screen may appear a little different from


the screen dumps that follow. If so, try to find equivalent
commands on your calculator.
This program will calculate left, right Riemann sums, and the
trapezoidal, midpoint and Simpson’s approximations.

To enter the program.


• Press the Pgrm key and arrow over and highlight New
and press Enter.
• Type in a name, say Integral and press Enter.
• Now to enter a command so the calculator will ask for the
lower limit of integration, press Pgrm, then highlight I/O
by arrowingover and press 3 for Disp.
• Press the Alpha key and then the key to give you
quotations, then press 2nd alpha key and type in
Lower limit, and end it with a quotation mark as shown , and
press Enter. [if you want to put in a space, it is associated with
the 0 key]

• The next command is an input command. Press Prgm,


highlight I/O and Press 1 for Input. Then press Alpha A
and Enter
• Now press Pgrm, highlight I/O, press 3 for Disp, then press
2nd Alpha and type “upper limit” [including quotes] and
press Enter.
• Now press Pgrm, highlight I/O,
press 1 for input and press
Alpha B, Enter.




• Press Pgrm, highlight I/O, press 3 for Disp, and press 2nd
Alpha and type “divns” [including quotes] Press Enter.

• Press Pgrm, highlight I/O, press 1 for Input and press


Alpha N, Enter.
• Type in (B – A)/N , then Press Sto, and press H. Enter.
Remember you have to use the alpha key to enter letters
and the slash key is the division key.
Type in the following lines:
• A Sto X Enter
• 0 Sto L Enter (this is zero, not the letter O).
• 0 Sto M Enter
• 1 Sto I Enter

• Press Prgm, stay on CTL and press 9 for Lbl and type
P and press Enter
• Type in L + H * Y1 Sto L. press Enter. [the * symbol
is a times symbol, and you access the Y1 by pressing
VARS, highlight Y-Vars, press 1 for Function, , and 1
for Y1.

• Type in X + 0.5 H Sto X press Enter


• Type in M + H * Y1 Sto M press Enter
• Type in X + 0.5H Sto X press Enter

• Press Pgrm, stay on CTL and press A for


Is > ( . Then type in I, N) and press Enter.
• Go to Prgm, stay on CTL and press ) 0 for Goto and
type P and press Enter

• Press Pgrm, highlight I/O and press 3 for Disp, type


“left right” and press Enter
• Press Pgrm, highlight I/O and press 3 for Disp, type
L. Enter.

• Type in L + H *Y1 Sto R press Enter


• A Sto X press Enter
• R – H * Y1 Sto R press Enter
• Disp R press Enter
Now enter the following lines:
• (L + R)/2 Sto T press Enter
• Disp “ Trap Mid Simp” Press Enter
• Disp T press Enter
• Disp M press Enter
• (2M + T)/3 Sto S press Enter
• Disp S

Then press 2nd Quit to return to the homescreen. Now try your program to approximate
3

∫ x dx = 20 . **(if you encounter problems with your program, see


3
this definite integral
1
below).
Enter the function y = x3 at the Y1 position (see below if you do not know how to do
this.) [Note: The function you want to approximate a definite integral for will always
have to be at the y1 position (see the program to see why).
There is a Y= button below the screen of your calculator. Press that and a window will
open up where you can enter functions to be graphed. Use the X key to enter an x and
then type ^ 3. Then press second Quit to go back to the home screen.
Then press Pgrm, have EXEC highlighted and press 1 for your program Integral. Press
Enter again. Enter a lower limit of 1 and press enter, an upper limit of 3, press enter. For
number of subdivisions – enter 100. It will take your calculator a few seconds and you
should get this screen:
The first value is the left Riemann sum
The second value is the right Riemann sum
Then the values for the trapezoid
Midpoint and
Simpson rule appear. Note that Simpson’s rule gives us a
value that matches the exact value of the integral.

** If your program seems to have problems you can press 2nd Quit to exit it. Press Pgrm,
then highlight Edit and choose the program Integral to edit. Make any necessary
changes. You can delete lines by using the DEL key and you can insert lines by pressing
2nd INS (insert) Enter to enter a line above where your cursor is located.

You might also like