Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: New at Mathematica, Need some help

  1. Jun 23, 2010 #1
    hi, I have two equations that I have used the Solve function in Mathematica to solve for A in both equations

    What I am having trouble with is trying to equate the results and solving for another variable J automatically

    Basically this is what I want to do:

    Solve[Eqn1, A]

    It gives {{A -> blah1}}

    Solve[Eqn2, A]

    It gives {{A -> blah2}}

    Then

    Solve[blah1=blah2, J]
    It gives J -> blah3

    automatically.


    THANKS!
     
  2. jcsd
  3. Jun 23, 2010 #2

    phyzguy

    User Avatar
    Science Advisor

    It will simultaneously solve for A consistent with both equations if you just input: Solve[{Eq1, Eq2},A].
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook