Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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??


in reply to solving system of equations with complex expressions

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
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://933485]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2014-12-21 17:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (106 votes), past polls