| java.lang.Object edu.hws.jcm.draw.Drawable edu.hws.jcm.draw.DrawGeometric edu.hws.jcm.draw.TangentLine
TangentLine | public class TangentLine extends DrawGeometric (Code) | | A Tangent line is a line that is tangent to the graph of a specified function of one argument
at a specified value of its argument. If added to a CoordinateRect, it will appear
as a line.
A TangentLine is a Computable object, so should be added to a Controller to be
recomputed when the Value or Function changes.
|
Constructor Summary | |
public | TangentLine(Value x, Function f) Create a tangent line to the graph of a function.
Parameters: x - The x-coordinate where the tangent is drawn. Parameters: f - The line is tangent to the graph of this function. |
TangentLine | public TangentLine(Value x, Function f)(Code) | | Create a tangent line to the graph of a function.
Parameters: x - The x-coordinate where the tangent is drawn. Parameters: f - The line is tangent to the graph of this function. This should be a function of one variable. |
|
|