Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: transposing an equation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg26295] Re: transposing an equation
  • From: adam_smith at my-deja.com
  • 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/
Before you buy.


  • Prev by Date: Graphics3D[Plot3D[]] vs. ParametricPlot3D[]
  • Next by Date: Re: transposing an equation
  • Previous by thread: Re: transposing an equation
  • Next by thread: Re: transposing an equation