Class Table

Solve Linear System w/Graphing Calulator Program



Resources
Table of Contents for CALCULATORing
Linear System Solver


If  
Ax +By= C
Dx +Ey= F
    then    
CE-BF
x=
AE-BD
    and    
AF-CD
y =
AE-BD


Program SYST completes the computation.
 
PROGRAM:SYST
:Input "A",A
:Input "B",B
:Input "C",C
:Input "D",D
:Input "E",E
:Input "F",F
:C*E-B*F G
:A*F-C*D H
:A*E-B*D I
:G/I X
:H/I Y
:Disp X
:Disp Y
 


Notes
  • You must Create then Edit the program before you run it.
    1st: Press [PRGM], [NEW], 1:Create New
    2nd: On Name=, type the name using the [ALPHA] shift key and the desired letters.
        Note that the curser is already in the [ALPHA] mode.
    3rd: In editing mode, find programing keys in [PRGM] [CTL] and [I/O] and [EXEC].

     
  • The is not a programming key but the [STO] button.
     
  • All the info you really need is G, H, I.
    With this X and Y can be computed even if program crashes because of coincident or parallel lines.
    :C*E-B*F G
    :A*F-C*D H
    :A*E-B*D I
     
  • Computing X and Y is just to make the user's life easier.
    That's what programming if for.
    :G/I X
    :H/I Y

     
  • In summary,
    (C*E-B*F)/(A*E-B*D) is G/I is X
    (A*F-C*D)/(A*E-B*D) is H/I is Y


 
 
[MC,i. Home] [Good Stuff] Classes [Words]
© 2007, A. Azzolino
www.mathnstuff.com/math/spoken/here/2class/400/solvsys.htm