There's more than one way to do things PerlMonks

### Re: solving system of equations with complex expressions

by bluescreen (Friar)
 on Oct 24, 2011 at 21:31 UTC ( #933485=note: print w/replies, xml ) Need Help??

Hi, how do you pass from 2x1+3x2-7x3+7x5 = 7 to [-7,2,3,-7,0,7] also the first equation seems to be wrong given you have 22 = 7. Then you show an equation with variables. I'm not clear what are you looking for: a symbolic evaluator? an equation parser? both?

Maybe if you explain your problem domain a little bit more people will be able to help you better

• Comment on Re: solving system of equations with complex expressions

Replies are listed 'Best First'.
Re^2: solving system of equations with complex expressions
by ForgotPasswordAgain (Deacon) on Oct 24, 2011 at 21:38 UTC

It seems he meant the numbers after the x to be exponents. Move 7 over to the left side, you have

-7*x0 + 2*x1 + 3*x2 - 7*x3 + 0*x4 +7*x5 = 0

this is what I meant

Create A New User
Node Status?
node history
Node Type: note [id://933485]
help
Chatterbox?
and one hand claps...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2018-04-25 22:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
Voting Booth?
My travels bear the most uncanny semblance to ...

Results (94 votes). Check out past polls.

Notices?