public class Polynom extends DifferenzierbareFunktion
Modifier and Type | Field and Description |
---|---|
private double[] |
koeffizienten
Polynomkoeffizienten.
|
Constructor and Description |
---|
Polynom() |
Modifier and Type | Method and Description |
---|---|
boolean |
konsolenEingabe()
Polynomeingabe ueber Konsole.
|
boolean |
setPolynom(double[] koeff)
Setzt Polynomkoeffizienten fest.
|
java.lang.String |
toString()
Darstellung eines Polynoms.
|
double |
wert(double arg)
Berechnen eines Funktionswertes nach HORNER.
|
double |
wertErsteAbleitung(double arg)
Berechnen einer Ableitung nach erweitertem HORNER.
|
tabellieren
public boolean setPolynom(double[] koeff)
koeff
- Koeffizienten des Polynomspublic boolean konsolenEingabe()
konsolenEingabe
in class Funktion
public double wert(double arg)
public double wertErsteAbleitung(double arg)
wertErsteAbleitung
in class DifferenzierbareFunktion
arg
- Argument