MathGroup Archive 2006

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

Search the Archive

Re: Is mathematica able to transform formula


On 1 Dec 2006, at 20:22, ajikoe at gmail.com wrote:

> Hello,
>
> I have a question:
> if I have a symbolic expression:
> f  = a * b + 5
> c = a * b
>
> Can Mathematica builds f = c + 5 for me ?
>
>
> Sincerely Yours,
> pujo
>

There are lots of essentially equivalent ways, e.g.



Solve[{f == a*b + 5, c == a*b}, f, {a, b}]

{{f -> c + 5}}

Eliminate[{f == a*b + 5, c == a*b}, {a, b}]

f - 5 == c

GroebnerBasis[{f-a *b-5,c-a*b},{f,c},{a,b}]

{c-f+5}

and so on.

Andrzej 


  • Prev by Date: Re: Problem with Minimize function
  • Next by Date: RE: Is mathematica able to transform formula
  • Previous by thread: Is mathematica able to transform formula
  • Next by thread: Re: Is mathematica able to transform formula