Re: What is causing this error message?
- To: mathgroup at smc.vnet.net
- Subject: [mg57567] Re: [mg57537] What is causing this error message?
- From: Pratik Desai <pdesai1 at umbc.edu>
- Date: Wed, 1 Jun 2005 06:02:18 -0400 (EDT)
- References: <200505310900.FAA03456@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Bookreader wrote:
> NSolve[{x^3y + xy - 10 = 0, xy^2 - xy + 6 = 0}, {x, y}]
>
> Set::write: Tag Plus in -10 + x y + x^3 y is Protected. More?
>
> Please tell me how to correct this.
>
> Thanks.
>
>
>
Your equality should be given by "==" not "="
>>NSolve[{x^3*y + x*y - 10 == 0, x*y^2 - x*y + 6 == 0}, {x, y}]
>>{{x -> 1.3816668276027286 + 1.029524719266747*I, y ->
-0.10944924494990753 - 1.7069521833694496*I},
{x -> 1.3816668276027286 - 1.029524719266747*I, y ->
-0.10944924494990753 + 1.7069521833694496*I},
{x -> -0.5104130440730468 + 1.7207856329128628*I, y -> 2.020349031327641
+ 1.053973719710664*I},
{x -> -0.5104130440730468 - 1.7207856329128628*I, y -> 2.020349031327641
- 1.053973719710664*I},
{x -> -1.742507567059357, y -> -1.42179957275547}}
--
Pratik Desai
Graduate Student
UMBC
Department of Mechanical Engineering
Phone: 410 455 8134