File-By-File
Equation

Equation

This interface defines a contract for mathematical equations, allowing for the retrieval of a Y-value given an X-value, and the creation of a PointXY from an X-value.

Methods

getY(double x)

Returns the Y-value of the equation at a specific X-value.

getPoint(double x)

Returns a PointXY object representing a point on the equation, given an X-value. The Y-value of the point is determined by calling getY(x).