Re: Is mathematica able to transform formula
- To: mathgroup at smc.vnet.net
- Subject: [mg71875] Re: [mg71864] Is mathematica able to transform formula
- From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
- Date: Sat, 2 Dec 2006 05:10:42 -0500 (EST)
- References: <200612011122.GAA25919@smc.vnet.net>
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
- References:
- Is mathematica able to transform formula
- From: "ajikoe@gmail.com" <ajikoe@gmail.com>
- Is mathematica able to transform formula