Jack P. Oakley Portfolio Game Programmer/Designer

Simpson’s Rule

After getting used to using TI-Basic, I decided to tackle a much more complex problem.  Simpson’s Rule from Calculus was way too complicated to remember forever, so I designed and entered a program into my calculator to do it for me with appropriate prompts.  It was typed directly into the calculator and not downloaded through any GUI program.  Because of this, the version of TI-Basic I have does not have a modulus operator, so I had to design one using a for loop/if statement combination.  I do not have a downloadable version at this time, sorry for the inconvenience.

How To Use:

This program can be used with any TI graphing calculator.  Once the program is entered into the calculator, you have two options to run it. 

  1. The first option is to enter an equation in the Y0 slot of the equations list, then activate the program.  Then enter [Y] when prompted if the equation is already in Y0.  This makes it convenient if you have to use the same equation for the Trapezoid Rule and Simpson’s Rule as you do not have to re-enter the equation.
  2. The second option is to activate the program and enter [N] when prompted if the equation is already in Y0.  When prompted to enter Y0, remember to enter the entire equation in quotes.  Ex: “8X^3+2X^2-4X+3”