Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ub!boulder!frechett From: frechett@boulder.Colorado.EDU (-=Runaway Daemon=-) Newsgroups: comp.sys.handhelds Subject: Re: Eq. Lib. Multiple Eq. Solver --> junk? Message-ID: <27260@boulder.Colorado.EDU> Date: 30 Sep 90 03:28:00 GMT References: <3343@mindlink.UUCP> Sender: news@boulder.Colorado.EDU Reply-To: frechett@snoopy.Colorado.EDU (-=Runaway Daemon=-) Organization: University of Colorado, Boulder Lines: 53 In article <3343@mindlink.UUCP> a309@mindlink.UUCP (George Lin) writes: >This seems like a very simple question, but I have tried for the last 2 days to >get my 48SX w/ Equation Card (& Multiple Equation Solver) to solve a >simultaneous equation. I can't get the thing to work. >simple example: > > 'A': '1*X+2*Y=3' > 'B': '4*X-5*Y=6' > 'EQ' { A B } > Simple solution for this problem. I have been doing these for the last week with great success. Use the matrix writer. Make these two matrixes. [3 6] [[1 2] [4 -5]] And then simple hit / and boom it gives you [2.07692307692 .461538461538] Do a 2D to dump to stack... (OBJ-> works too ;) then ->Q SWAP ->Q SWAP and I now have '27/13' '6/13' Slick as sh*t. I have been hashing through matrixes in circuits and have managed to do a few good 6 X 6. > Ok, the correct solution is X=27/13, Y=6/13. yep > >But it gets harder to do when the 2 eqation with 2 unknows are like this: Yes and I Don't know what to do with this one because you can only input numeric values into the matrix writer. > > 'A': '1*SIN(X)+2*COS(Y)=3' > 'B': '4*SIN(Y)-5*COS(X)=6' > 'EQ': { A B } > >(well, Ok, it's still not too hard to rearrange, but you know what I mean) > >So, any HP gods out there know how to solve simultaneous equations (on the HP >that is)? I have not run into this type of problem but I would still be interested in the solution. Fun fun fun... > >-------------------------------- >George Lin >a309@mindlink >uunet!van-bc!rsoft!mindlink!George_Lin ian -- -=Runaway Daemon=-