A
ll
and more
abo
ut Sharp P
C-
1500 at http://www.PC-1500.info
SHARP
PROGRAM
T I T
LE
DET
ER
MINA
NT
PROGRAM N
O.
P5- A- 10
[
Ou
tline I
CE-150
requir
ed
Based
on
the
sweeping-out
me
thod, this program calculates the determinant
of
a
matrix
wi
th n orders.
Processing includes:
I.
Da
ta 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
exec
ution
[
Operating Guide I
Processing selection
'
°''
' 0 .
l
•EF
]
CD
.
l•••I 0
Data i
npu
t
of
elements
of
the matrix.
Data
ve
rification and correction ol. data.
Output
of
input data and calculati·
On
results
(Execution
of
the
determinant.)
Output
of
c
al
cul
at
ion results only.
The
l
•EF
I 0 p
ri
nts
ou
t the input data.
The
or
der
is
possible up to
12
.
I Exampl
e]
r4
7 I
8-
5 - I 2 - 4
-
32
76 =
3 12
-5
6
L I
4 7 2 _
[Co
nt
en
ts]
(Formulas)
This program converts the matrix
into
a triangular matrix
by
using the
sweeping--0ut
method,
th
en gets t
he
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
calcul
at
i
on,
the following
is
obtained:
a;j
= 0
for
i < j
This results in:
det
= a
11
• a.
22
· a
33
• • · · •
3nn
With P
"'
0, however, during computation, resulting in
:a
n error, since
it's
impossi-
ble to calculate.
Do
not
sale this PDF !!!
-
26
-
1