×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Plot x^2+y^2+xy+x+y=0 ?

Plot x^2+y^2+xy+x+y=0 ?

Plot x^2+y^2+xy+x+y=0 ?

(OP)
Do you know how I could go about plotting this function?

x^2 + y^2 + xy + x + y = 0

Thanks,
Brian

RE: Plot x^2+y^2+xy+x+y=0 ?

briglass, this looks suspiciously like a homework problem.

-Sam Boyce
Asst. Mechanical Engineer
www.AppleAid.com

RE: Plot x^2+y^2+xy+x+y=0 ?

(OP)
It's not. It's for psych research. The actual equation is more complicated, but I just wanted to know how to plot non-seperable equations in general.

Anyway, I ended up using ezplot, and it works well.

-Brian

RE: Plot x^2+y^2+xy+x+y=0 ?

Sorry then.

-Sam Boyce
Asst. Mechanical Engineer
www.AppleAid.com

RE: Plot x^2+y^2+xy+x+y=0 ?


Why wouldn’t you just find a series of solutions and plot the points in the plane?  If you want to plot line segments between points, I guess you could sort the data by x.

For this particular example I would be tempted to use an ad hoc method.

x^2+y^2+xy+x+y=0 can be re-written as

3/4x^2+1/2x+(y+1/2x)^2+(+y+1/2x)=0

Define u=y+1/2x then
3/4x^2+1/2 x +u^2+u=0  

For an array of u values one gets x values by the quadratic formula (Possibly 2 solutions.).  With the x values one gets the y values from the definition of u.  Plot the points.

Regards,

Bill

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources