Finds the points of a line from a user given function.