QUOTE
# TITLE: Comparison of Integrating Methods
# AUTHOR: Roy F.A. Maclean
# EMAIL: rfam AT lycosmail.com
# WEB: http://members.tripod.co.uk/rfam
# DATE: 8Nov1995, 9850version:15Nov1996
# MAKE: CASIO
# MODEL: cfx-9850G
# SIZE: 95
#
# Store function to integrate as a function of x into f-memory 'f6'.
# Program prompts for 'a' and 'b' the lower and upper bounds of
# integration. Then for S - the number of sections to divide
# the interval into. The higher the number the more accurate.
# The result of the trapesium method, the simpson method and the inbuilt
# integrating will be displayed for comparison.
#
# Integrate |optn|f4|f4|
#
# Frac |optn|f6|f4|f3|
@@ Program "CMPARINT"
0->A~Z
"A"?->A:"B":?->B
"S"?->S:(B-X)/S->H
f6->T:T->U
Integrate(f6,A,B)->V
Lbl 1
X+H->H
C=S-1=>Goto 2
1-Frac (C/2)->W
T+4Wf6->T
U+2f6->U
Isz C:Goto 1
Lbl 2
"T":H(U+f6)/2_
"S":H(T+f6)/3_
"I":V
# AUTHOR: Roy F.A. Maclean
# EMAIL: rfam AT lycosmail.com
# WEB: http://members.tripod.co.uk/rfam
# DATE: 8Nov1995, 9850version:15Nov1996
# MAKE: CASIO
# MODEL: cfx-9850G
# SIZE: 95
#
# Store function to integrate as a function of x into f-memory 'f6'.
# Program prompts for 'a' and 'b' the lower and upper bounds of
# integration. Then for S - the number of sections to divide
# the interval into. The higher the number the more accurate.
# The result of the trapesium method, the simpson method and the inbuilt
# integrating will be displayed for comparison.
#
# Integrate |optn|f4|f4|
#
# Frac |optn|f6|f4|f3|
@@ Program "CMPARINT"
0->A~Z
"A"?->A:"B":?->B
"S"?->S:(B-X)/S->H
f6->T:T->U
Integrate(f6,A,B)->V
Lbl 1
X+H->H
C=S-1=>Goto 2
1-Frac (C/2)->W
T+4Wf6->T
U+2f6->U
Isz C:Goto 1
Lbl 2
"T":H(U+f6)/2_
"S":H(T+f6)/3_
"I":V
I cant seem to find the _ which follows the 2 and 3. Can someone tell me where this is? Also am I correct in just entering the letters like normal letters for all of them in the program apart from the f6 which I know is a function I have to store, and have to enter by using the f6 recall thing.
Thanks help will be much appreicated.