Re: How to plot this

*To*: mathgroup at smc.vnet.net*Subject*: [mg64432] Re: How to plot this*From*: dh <dh at metrohm.ch>*Date*: Fri, 17 Feb 2006 04:11:39 -0500 (EST)*References*: <dt1coe$5j$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

Hi, I think you forgot to Solve command: This works eqn1 = x + y == 2*x*y; y[x_] = y /. Solve[eqn1, y, x][[1]]; Plot[y[x], {x, 1, 3}] Daniel siegmund natter wrote: > 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. > > (I am using Mathematica 5.1) >