beautypg.com

HP 38g Graphing Calculator User Manual

Page 97

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

background image

Sequence

Generate a sequence to calculate the square root of 2 using

Example

the iterative relationship

)

X ) =

\{Ul, +a),

where

a = 2.

Define this sequence in the HP 38G as

U1(N) = (Ul(N-iy + A)/(2*U1(N-1)) ,andstore2 in/t.

The Sequence aplet finds the square root by evaluating this

expression with successive values of N until the value for U1

stops changing. In this case, the sequence converges at a

value for

-Jl

starting with

.

Start the sequence by setting U1 (1) and U1 (2) to 1.

I

Select

Sequence

{{START}}

11 ENTER I 1 [

enter

!

G]{{U1}}{{N-1}} ■ {X^} 0

0] 0 0 2 0 {{ui}}

{{N-1}} i)10^

^^SEOyENCE SYMEDLIC VIEM^

v^uia>=i

•/UK2>=1
v'Ul

usa:)=

U2<2>=

nail Banal

iBangmaB

Store the value 2 in the real variable A.

1

HOME I

2 {{STO^}} iA...Z|A I ENTER I

Set up a stairstep plot.

m

{SETUP-PLOT]

Check that the default values

are set, including

stairstep.

(Press

■ [CLEAR]

to reset

default values.)

SEQUENCE nOT SETUP

SEQPLDT: BWemWtggg
NRNQ: 1

24

XRNG; -2

24

TRNGi -2

10.6

CHOOSE SEQUENCE PLOT TVPE

Plotting and Exploring Functions 3-33