- #1

- 4

- 0

## Main Question or Discussion Point

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!

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!