Function/Curve that goes through certain points?

  1. Is there a simple way to make a function go through a set of points?

    Something similar to what I'm looking for is this; a function that creates a smooth curve crossing y=0 at a list of x-coordinates

    This will cross y=0 at x=-10, x=-2, and x=5
    f(x)=(x-(-10))(x-(-2))(x-(5))

    This is simple and infinitely expandable. Thanks!
     
  2. jcsd
  3. micromass

    micromass 18,846
    Staff Emeritus
    Science Advisor
    Education Advisor

Know someone interested in this topic? Share a link to this question via email, Google+, Twitter, or Facebook

Have something to add?

0
Draft saved Draft deleted