EasyManua.ls Logo

Sharp PC-1500 - PC-1500 I;O Port Interfaces (LH5811 & LH5810); LH5811 I;O Port Overview and Functions

Sharp PC-1500
222 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
A
ll
and more
abo
ut Sharp PC
-1
500 at http://www.PC-1500.info
PROGRAM
TITLE
SHARP
ROOT
OF
AN EQUATION
[ Outline I (Mathematics)
PROGRAM NO.
PS
- A- I
Finding the root
of
an
equation is generally a
time
consuming task. Herc
is
a
method
of
root
approximation using Newton's
Method
.
When a
root
is
found,
the
starting point automatic.ally varies with the designated
interval according
to
Newton
's Method. A quadratic equation has been chosen
as
an example:
[ Operating Guide
I
Input: Starting point
Minute value
Interval
y
I
~
'1Gf"'
X
>;
:x;
:
-.
: Interval
Starting
Point
© @ © ® ® - Section N
o.
Ou
tput
: Root value (Press
the
I ENTER I key
to
find a
root
for
the
next
interval.)
[E
xample I
x
3
-
2x
2
- x + 2 = O {Root = - 1, 1, 2)
Calculation
is
made
with
th
e starting
point
being 0,
the
minute
va
lue being Io-
and the interval being 0.5.
Write
a function
as
a
subrou
tine
after
line
500
.
How
to
write a subroutine (in the above example):
I.
Set
the
"PRO"
mode
by pressing
the
~
ke
y.
2.
SOOD
=
((x
- 2) * x - I) * x + 2 l ENTER I
510 RETURN I EN
TER
f
[Contents
I ( Formula)
, f (
Xn
)
X.
, 1=
Xn
-
j'
(
Xn
)
When
the
absolute value
of
th
e difference between Xn and
Xn+I
becomes less
than
10-
8
,
Xn
is displayed as a
root
. The differential
r(x)
is
defined as follows:
f,
(x) = f ( x + h ) - f ( x )
h
(h: minute value)
To
vary 10-
s,
change
IE
- 8
of
the
340
line.
Do
not
sale this PDF !!! - 5 -
1

Other manuals for Sharp PC-1500

Related product manuals