# Count a number of points on graph  that pass through the origin

**URL:** <https://community.wolfram.com/t/count-a-number-of-points-on-graph-that-pass-through-the-origin/4243>\
**Category:** Questions\
**Created:** [December 5, 2014, 1:45pm UTC](https://community.wolfram.com/t/count-a-number-of-points-on-graph-that-pass-through-the-origin/4243 "2014-12-05T13:45:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![krirkfah](https://avatars.discourse-cdn.com/v4/letter/k/7ea924/32.png) [@krirkfah](https://community.wolfram.com/u/krirkfah)\
**Post date:** [December 5, 2014, 1:45pm UTC](https://community.wolfram.com/t/count-a-number-of-points-on-graph-that-pass-through-the-origin/4243/1 "2014-12-05T13:45:21Z")

</div>

How do I key the codes for count a number of points on graph (Complex function(left side)) that pass the origin?

 ![ScreenShot2014-12-05at8.40.49PM.png](https://global.discourse-cdn.com/wolfram/original/2X/e/e506f5f7e7667523170f6822171acc6afade9f71.png)

---

<div class="post-metadata">

**Author:** ![danl](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/danl/32/41267_2.png) [@danl](https://community.wolfram.com/u/danl)\
**Post date:** [December 5, 2014, 3:03pm UTC](https://community.wolfram.com/t/count-a-number-of-points-on-graph-that-pass-through-the-origin/4243/2 "2014-12-05T15:03:43Z")

</div>

Do you mean actually hitting the origin? Or some form of containment? For that latter you’d really want a closed curve and also you would need to determine whether you want a direct hit to count as inside or outside.
