Function/Curve that goes through certain points?

  • Context: High School 
  • Thread starter Thread starter Kepler_
  • Start date Start date
  • Tags Tags
    Points
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 1K views
Kepler_
Messages
4
Reaction score
0
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!
 
Mathematics news on Phys.org