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)}}