[Date Index]
[Thread Index]
[Author Index]
Re: Re: (a/b)^2 when a/b is replaced by e won't yield e^2
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
Prev by Date:
**Re: Circle equation problem**
Next by Date:
**tracking precision through ndsolve, findfit, regress, etc**
Previous by thread:
**Re: (a/b)^2 when a/b is replaced by e won't yield e^2**
Next by thread:
**Re: (a/b)^2 when a/b is replaced by e won't yield e^2**
| |