From: Trevor Rabey on
I am new to Mathematica and going at snail's pace.
I would like to plot:

8x - x^2 + 14y - y^2 = 49

Anyone?

--
Trevor Rabey

From: Murray Eisenberg on
It's really a question of what kind of plot you want, since you do not
have either x or y as an explicit function of x. Moreover, it's unclear
whether you want to regard this as a 2-dimensional curve or as a
3-dimensional surface. In either case, some version of a contour plot
will directly give what I think you are asking for:

ContourPlot[8x -x^2 + 14y - y^2 == 49, {x, 0, 12}, {y, 0, 12},
Frame->False, Axes->True, AxesLabel->{x,y}]

ContourPlot3D[8x - x^2 + 14y - y^2 == 49, {x,0,10}, {y,0,12}, {z,-5,5},
AxesLabel->{x,y,z}]


On 5/4/2010 6:30 AM, Trevor Rabey wrote:
> I am new to Mathematica and going at snail's pace.
> I would like to plot:
>
> 8x - x^2 + 14y - y^2 = 49
>
> Anyone?
>
> --
> Trevor Rabey
>

--
Murray Eisenberg murray(a)math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 545-2859 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305

From: Laszlo Sturmann on
Trevor Rabey wrote:
> I am new to Mathematica and going at snail's pace.
> I would like to plot:
>
> 8x - x^2 + 14y - y^2 = 49
>
> Anyone?
>
> --
> Trevor Rabey
>
>
>
The points which satisfy the condition obviously lay on a circle

(x-4)^2+(y-7)^2=16 and you can plot it with

ContourPlot[8 x - x^2 + 14 y - y^2 == 49, {x, -5, 10}, {y, 0, 15}]

LS




From: Alois Steindl on
Am 04.05.2010 12:31, schrieb Trevor Rabey:
> I am new to Mathematica and going at snail's pace.
> I would like to plot:
>
> 8x - x^2 + 14y - y^2 = 49
>
> Anyone?
>
> --
> Trevor Rabey
>
Hello,
in order to accelerate your progress, you could think of buying a book
about Mathematica.
Also the Help pages, which come with the program, contain a lot of
useful informations.
Of course these are not intended to serve as introductions.
In your case ContourPlot might help.

Alois

From: Bill Rowe on
On 5/4/10 at 6:30 AM, trevorATperfectproject.com.au(a)giganews.com
(Trevor Rabey) wrote:

>I am new to Mathematica and going at snail's pace. I would like to
>plot:

>8x - x^2 + 14y - y^2 = 49

Here is one way to plot it:

sol = Solve[8 x - x^2 + 14 y - y^2 == 49, y];
curve = {{x, y /. First(a)sol}, {x, y /. Last(a)sol}};
ParametricPlot[curve, {x, -1, 8}, PlotStyle -> ColorData[1][1]]

Another way would be to use ContourPlot


 |  Next  |  Last
Pages: 1 2 3
Prev: FortranForm
Next: Parallelize NonlinearModelFit