Re: Re: (a/b)^2 when a/b is replaced by e won't yield e^2
- To: mathgroup at smc.vnet.net
- Subject: [mg61537] Re: [mg61524] Re: (a/b)^2 when a/b is replaced by e won't yield e^2
- From: Chris Chiasson <chris.chiasson at gmail.com>
- Date: Sat, 22 Oct 2005 00:35:21 -0400 (EDT)
- References: <dinvoj$s6i$1@smc.vnet.net> <200510150223.WAA17341@smc.vnet.net> <diskhc$m7i$1@smc.vnet.net> <200510180644.CAA11192@smc.vnet.net> <dj4on1$gkn$1@smc.vnet.net> <200510210438.AAA13451@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
I read the help documentation for PolynomialReduce and I am really confused...
On 10/21/05, Richard J. Fateman <fateman at eecs.berkeley.edu> wrote:
> What a bunch of literal-minded answers. Hacking on
> syntax or un-simplified forms is not going to get
> you anywhere but solving this one problem.
> You might as well tell Mike that the solution is the
> function foo[q_]:=e^2;
>
> then foo[(a/b)^2] becomes e^2.
>
> Here's a solution more in the spirit of solving the
> problem, which is to find occurrence of a/b mathematically.
>
> Try
> Last[PolynomialReduce[(a/b)^2, {e - a/b}, {a}]]
>
> RJF
>
>
>
> Andrzej Kozlowski wrote:
> > On 18 Oct 2005, at 15:44, mike_in_england2000 at yahoo.co.uk wrote:
> >
> >
> >>>HoldForm[(a/b)^2] /. (a/b) -> e
> >>>
> >>
> >>
> >
>
>
--
Chris Chiasson
http://chrischiasson.com/contact/chris_chiasson
- References:
- Re: (a/b)^2 when a/b is replaced by e won't yield e^2
- From: mike_in_england2000@yahoo.co.uk
- Re: (a/b)^2 when a/b is replaced by e won't yield e^2
- From: mike_in_england2000@yahoo.co.uk
- Re: (a/b)^2 when a/b is replaced by e won't yield e^2
- From: "Richard J. Fateman" <fateman@eecs.berkeley.edu>
- Re: (a/b)^2 when a/b is replaced by e won't yield e^2