Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*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 2006

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

Search the Archive

Re: How to plot this

  • To: mathgroup at smc.vnet.net
  • Subject: [mg64457] Re: How to plot this
  • From: Renan <renan.birck at gmail.com>
  • Date: Fri, 17 Feb 2006 04:12:51 -0500 (EST)
  • References: <dt1coe$5j$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

siegmund natter escreveu no grupo comp.soft-sys.math.mathematica:
> Hello
> 
> Can anyone tell why this is wrong?
> 
> eqn1 = x + y == 2*x*y;
> eqn1 /.y -> y[x];
> Plot[y[x], {x, 1, 3}]
> 
> How do I do it correctly? (This is just an example; I want to do this 
> with a much more difficult equation)
> Thanks a lot.

So, what is y[x]?

(>> means input here)

>> eqn1 = x+y == 2 x y

x+y == 2 x y

>> eqn1 /. y -> y[x]

x+y[x] == 2 x y[x]

Maybe you want this:

Solve[%,y[x]] //InputForm

{{y[x] -> x/(-1 + 2*x)}}


  • Prev by Date: Re: How to do a SQL type operation???
  • Next by Date: Re: How to plot this
  • Previous by thread: Re: How to plot this
  • Next by thread: Re: How to plot this