Re: transposing an equation

• To: mathgroup at smc.vnet.net
• Subject: [mg26295] Re: transposing an equation
• Date: Sun, 10 Dec 2000 00:20:05 -0500 (EST)
• References: <90kq3d\$r25@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```Chris,

Try the sample below.

In Mathematica you use a double equal sign (==)to represent an
equation.  The single equal (=) assigns the results to a variable.  In
the following code, the solutions of "x" are assigned to the name "sol"

In[4]:=
sol = Solve[y == A*x^2 + B*x + C, x]

Out[4]=
2
-B + Sqrt[B  - 4 A C + 4 A y]
{{x -> -----------------------------},
2 A

2
B + Sqrt[B  - 4 A C + 4 A y]
{x -> -(----------------------------)}}
2 A

In article <90kq3d\$r25 at smc.vnet.net>,
"Christopher Deacon" <cdeacon at physics.mun.ca> wrote:
> Suppose y=a x^2+b x +c.
>
> How can I get Mathematica to solve for x (i.e., x=Ay^2+By+C) and give
me the
> values for the constants A,B,C?
>
> Chris
>
> --
> +-----------------------------+----------------------------+
> |       Christopher Deacon    |         (709) 737-7631
> | Dept of Physics and Physical|   cdeacon at physics.mun.ca
> |         Oceanography
> | Memorial University of Nfld
> +----------------------------+-----------------------------+
> |                http://www.physics.mun.ca/~cdeacon
> +----------------------------------------------------------+
>
>

Sent via Deja.com http://www.deja.com/