MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Manupulation of equations in Mathematica


displayRule[x_Rule]:=
    ToString[x[[1]]] <> " = " <>
      ToString[TraditionalForm[x[[2]]]];

eqn=2 + R Cc + R Bc == Ac R ;

Using Solve

soln1=Solve[eqn,R][[1]];

eqn/.soln1//Simplify

displayRule[soln1[[1]]]

Using Reduce

soln2=ToRules[Last[Reduce[eqn,R]]];

eqn/.soln2//Simplify

displayRule[soln2[[1]]]


Bob Hanlon

---- G de Graaf <ger__removethis__ at ipact.nl> wrote: 
> Hello,
> 
> I have a question about the presentation 
> of equations:
> 
> As the result of a large set of equations 
> I get a complicated eqn.
> 
> Let's assume a simple one:
> 
>   2 + R Cc + R Bc == Ac R
> 
> Now I want to tell Mathematica to write 
> this equation in a readable form for me:
> 
> R = ..........
> 
> Any idea how to do this ??
> 
> Thanx,
> 
> Ger de Graaf
> Delft University of Technology
> 



  • Prev by Date: v.6 RevolutionPlot3D
  • Next by Date: Re: Re: v. 6, third argument to rectangle
  • Previous by thread: Re: Manupulation of equations in Mathematica
  • Next by thread: Re: Manupulation of equations in Mathematica