Post Reply 
Memory Reallocation
12-08-2018, 06:30 PM (This post was last modified: 12-08-2018 06:57 PM by Thomas Klemm.)
Post: #3
RE: Memory Reallocation
(12-08-2018 05:00 PM)Dieter Wrote:  So let's hear what the 15C users have to say.

Here's a program that allows to enter the elements of matrix A and calculates the determinant:
Code:
001-42,21,11    LBL A
002-      36    ENTER
003-42,23,11    DIM A
004-42,16, 1    MATRIX 1 ; 1 → R₀, 1 → R₁
005-42,21, 0    LBL 0
006-      31    R/S
007-u  44 11    STO A ; enter in USER mode
008-   22  0    GTO 0
009-45,16,11    RCL MATRIX A
010-42,16, 9    MATRIX 9 ; |A|
011-   43 32    RTN

Example:

\(\begin{vmatrix}
6 & 2 & -4 \\
5 & 6 & -2 \\
5 & 2 & -3
\end{vmatrix}=6\)

3 A
6 R/S
2 R/S
-4 R/S
5 R/S
6 R/S
-2 R/S
5 R/S
2 R/S
-3 R/S
6

It can also be used for matrices of dimensions other than \(3\times3\).
Don't forget to enter line 007 in USER mode!

Cheers
Thomas
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Memory Reallocation - Gamo - 12-08-2018, 02:24 PM
RE: Memory Reallocation - Dieter - 12-08-2018, 05:00 PM
RE: Memory Reallocation - Sylvain Cote - 12-09-2018, 03:50 AM
RE: Memory Reallocation - Thomas Klemm - 12-08-2018 06:30 PM
RE: Memory Reallocation - Gamo - 12-09-2018, 02:54 AM
RE: Memory Reallocation - Gamo - 12-09-2018, 05:28 AM



User(s) browsing this thread: 1 Guest(s)