Plot a smiley face function in C#

What do the graphs of the following two equations look like?

    [x^2 + y^2 - 225] *
[x^2 + y^2 - 10000] *
[(x - 45)^2 + (y - 35)^2 - 225] *
[(x + 45)^2 + (y - 35)^2 - 225] = 0

[y + Sqrt(16 - x^2)] = 0

To find out, you can use the examples:

This example uses the PlotFunction method from the first of the previous examples in the following calls:

PlotFunction(gr, F1, -6, -6, 6, 6, dx, dy);
PlotFunction(gr, F2, -6, -6, 6, 6, dx, dy);

Here F1 and F2 are simply methods that return the values of the two functions.

   

 

What did you think of this article?




Trackbacks
  • No trackbacks exist for this post.
Comments
  • No comments exist for this post.
Leave a comment

Submitted comments are subject to moderation before being displayed.

 Name

 Email (will not be published)

 Website

Your comment is 0 characters limited to 3000 characters.