How to Equate Two Solutions in Mathematica for Variable J?

  • Thread starter Thread starter BustedBreaks
  • Start date Start date
  • Tags Tags
    Mathematica
Click For Summary
SUMMARY

This discussion focuses on solving two equations in Mathematica to find a variable J by equating the results for A. The user successfully utilizes the Solve function to derive A from both equations, resulting in two expressions: {{A -> blah1}} and {{A -> blah2}}. To find J, the user aims to equate these two results and solve for J automatically. The solution is simplified by using the command Solve[{Eqn1, Eqn2}, A], which allows for simultaneous resolution of A consistent with both equations.

PREREQUISITES
  • Familiarity with Mathematica's Solve function
  • Understanding of symbolic equations
  • Knowledge of variable substitution in equations
  • Basic grasp of simultaneous equations
NEXT STEPS
  • Explore advanced features of Mathematica's Solve function
  • Learn about symbolic manipulation in Mathematica
  • Research methods for solving simultaneous equations in Mathematica
  • Investigate variable dependencies and substitutions in Mathematica
USEFUL FOR

Mathematics students, researchers, and professionals using Mathematica for solving equations, particularly those interested in symbolic computation and variable manipulation.

BustedBreaks
Messages
62
Reaction score
0
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!
 
Physics news on Phys.org
It will simultaneously solve for A consistent with both equations if you just input: Solve[{Eq1, Eq2},A].
 

Similar threads

Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 19 ·
Replies
19
Views
3K
Replies
20
Views
4K