Re: rearranging equations
- To: mathgroup at smc.vnet.net
- Subject: [mg22485] Re: rearranging equations
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 8 Mar 2000 02:22:25 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <89qich$ap2@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
a replacment like :
1.0 + y^2 - 0.125*y /. a_. + b_.*y + c_.y^2 :> {a, b, c}
will do it.
Regards
Jens
Chris Deacon wrote:
>
> I hope this is a simple problem -
>
> Suppose I take some data and use Fit or Regress to obtain values for
> a,b and in the equation y=a+bx+cx^2.
>
> Is there a simple Mathematica function that will let me rewrite the
> equation as x=A+By+Cy^2 and obtain values for A, B and C?
>
> Chris Deacon