Download Print this page

Sharp PC-1500 Applications Manual page 32

Hide thumbs Also See for PC-1500:

Advertisement

All
and
more
about Sharp PC-1500
at
http://www.PC-1500.info
SHARP
PROGRAM
T I
T
LE
DETERMINANT
PROGRAM
NO.
P5-
A-
10
[
Outl
ine
I
CE-150 required
Based on the sweeping-out
method
,
this program
calculates
the
determinant of a
matrix wi
th
n
orders.
Processing includes:
I.
Data
input
2.
Data verification and
correction
3. Output of
input
data and calculation
results
after
program
execution
4
.
Output of calculation
result~
only,
after program
execution
[
Operating
Gu
ide
I
Processing
selection
'
° ' '
'
0
.
l•EF
]
CD
.
l•••I
0
Data
input
of elements of
the matrix.
Data
verification
and correction
ol.
data.
Output
of input
data
and
calculati·
O n
results
(Execution
of
the determinant.)
Output
of calculation
results only.
The l•EF
I
0
prints
out the
input data
.
The order
is possible
up
to 12
.
I
Examp le]
r4
7
I
8-
5
-
I
2
-
4
-
3276
=
3
12 -5
6
L
I
4
7
2
_
[Contents] (Formulas)
This
program
converts
the matrix
into
a
triangular matrix
by
using
the
sweeping--0ut method,
then
gets
the
answer.
Assume
that
a matrix
is l•
;;
f (
;,
j
=
I
-
"
)
I'
=
a
mm
(
ti1
=
2
-
n
)
q.
=
a;m/P
(
i
=
l
-
m
-
1
)
a
;;
=
a
1;-q,
·
a
...
;
(
j
=
l
-
"1
)
On calculation, the following
is
obtained
:
a;j
=
0
for
i
<
j
T
his results
in:
det
=
a
11
a.
2 2
·
a
33
·
· •
3nn
With
P
"' 0,
however, during
computation,
resulting
in
:an
error,
since
it's
impossi-
ble
to
calculate.
Do not sale this PDF !!!
-
26
-
1

Advertisement

loading