Message Boards Message Boards

1 Reply
1 Total Likes
View groups...
Share this post:

How to find interior points in Limacon

Posted 10 years ago


i need correction in my Codes for finding the interior points of Limacon. Please see the file in attachment.


POSTED BY: Kashif Nazar

That's a longish notebook filled with redundant code, unused code, and very little to explain what is going on. The description of what is going wrong is also seriously lacking (I could not understand it).

Start from basic principles. A limacon has an implicit equation in cartesian coordinates, that is, a quartic of the form p(x,y)=0. A point is inside or outside depending on whether p evalautes to less than or greater than zero. If there is an inner loop you may need to decide whether you want to regard points therein as inside or outside, and adjust accordingly.

At a minimum, pare down the code to essentials and explain very clearly what it is that's wanted.

POSTED BY: Daniel Lichtblau
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract