Post Reply 
(15C) 3 Equations with 3 Unknowns
03-17-2024, 03:21 PM
Post: #7
(15C CE) n Equations with n Unknowns
I had no intention of using the HP15C CE for matrix calculations, as the HP Prime is better in that regard. But on the way home from a business trip I was bored (as a passenger of course) so I read the HP15C CE manual and its matrix capabilities. Then when I opened this forum at home, this new thread jumped out at me. :-)

Here is a program to solve n linear equations:
1) type n and press A
2) entering the elements of matrix A and then matrix B using R/S
3) after entering all elements of both matrices, cycle through the resulting matrix C using R/S.

Code:
001    42,21,11    LBL A
002    42,16,0     MATRIX 0
003    36          ENTER
004    42,23,11    DIM A
005    1           1
006    42,23,12    DIM B
007    42,26,13    RESULT C
008    42,16,1     MATRIX 1
009    42,21,1     LBL 1
010    45,16,11    RCL MATRIX A
011    31          R/S
012    u 44 11     STO A
013    22 1        GTO 1
014    42,21,2     LBL 2
015    45,16,12    RCL MATRIX B
016    31          R/S
017    u 44 12     STO B
018    22 2        GTO 2
019    45,16,12    RCL MATRIX B
020    45,16,11    RCL MATRIX A
021    10          รท
022    45 26       RCL RESULT
023    42,21,3     LBL 3
024    31          R/S
025    u 45 13     RCL C
026    22 3        GTO 3
027    22 3        GTO 3

Prime G2, 15C CE
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(15C) 3 Equations with 3 Unknowns - Gamo - 03-15-2024, 06:43 AM
(15C CE) n Equations with n Unknowns - chromos - 03-17-2024 03:21 PM



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