×
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

MatLab contour plot help

MatLab contour plot help

MatLab contour plot help

(OP)
I have access to both MatLab and Maple, but don't really know how to use either that well.  I've been trying to solve the following problem for over a week now....and haven't got anywhere.  Any help would be much appreciated.

I need to make a contour plot, for points in the xy plane, of the electric potential of a system of three charges.  The charges are q, 2q, 3q located at the vertices of an equilateral triangle in the xy plane:
(a/2,0,0), (-a/2,0,0), and (0,(sqrt(3))*(a/2),0) respectively.  The potential is,

   V(x,y,0)= k*q*a*f(x,y)       where k = 8.99*10^9

where f(x,y) is a dimensionless function; set a=1 to make "a" the the unit of length. I need to use the countour plotting command, which can be used to plot contours of f(x,y) - which are the equipotentials of the system.

Thanks in advance,

Chris

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