The Museum of HP Calculators

HP Forum Archive 18

[ Return to Index | Top of Index ]

50G solving simultaneous equations with fraction coefficients
Message #1 Posted by Meursault on 28 Sept 2008, 11:33 a.m.

Hello all, I am trying to solve (numerically) simultaneous equations that contain fractions as coefficients. I am using NUM.SLV > solve lin systems. However, on the matrix editor, I am unable to enter fractions as coefficient. What puzzles me more is that the matrix editor, when not in 'solve lin systems' menu, DOES let me enter fractions when I do 'a/b'... It's kind of annoying to convert all the fractions to decimals. Is there any way around this? Thanks a lot..

      
Re: 50G solving simultaneous equations with fraction coefficients
Message #2 Posted by Rodger Rosenbaum on 28 Sept 2008, 12:43 p.m.,
in response to message #1 by Meursault

The lin sys solver solves a matrix system, A*x=B.

Just type the A and B matrices without using the numeric solver.

Make sure the calculator is in exact mode.

Use the matrix editor, MTRW, to enter the B matrix. Leave it on the stack. Enter the A matrix which will then be on the stack below the B matrix. Press the divide key. Problem solved.

      
Re: 50G solving simultaneous equations with fraction coefficients
Message #3 Posted by Juan J on 29 Sept 2008, 11:52 a.m.,
in response to message #1 by Meursault

Hello,

If you are trying to enter fraction elements in the Matrix Writer, you have to set the 50G in RPN mode, enter the matrix editor and input the fraction as a division. For instance, if your matrix has a row like 1/2, 3/8 and 5/16, you just type 1 [spc] 2 [/] [ENTER] 3 [spc] 8 [/] [ENTER] 5 [spc] 16 [/] [ENTER] The Matrix Writer will perform the division and put the fraction in the matrix as a real number.

Hope this helps.

            
Simultaneous (Linear) Equations with fraction coefficients.
Message #4 Posted by Chotkeh Software Corporation on 30 Sept 2008, 1:29 p.m.,
in response to message #3 by Juan J

Contact our support department. They may help you out on this matter. I know there is an example of SLE on the site but the coefficients are either decimals or fractions. They may have a solution to this problem. Owner.

Edited: 30 Sept 2008, 3:50 p.m.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall