public class Tool4RootFunction
extends java.lang.Object
Tool4RootFunction
class calculates the root function.Constructor and Description |
---|
Tool4RootFunction()
Konstruktor der Klasse
|
Modifier and Type | Method and Description |
---|---|
double |
calcFunction(double x)
The method
calcFunction calculates the root function. |
double |
getA()
get field: Koeffizient.
|
double |
getB()
get field: Koeffizient.
|
java.lang.String |
getCorrelationCoefficient()
The method
getCorrelationCoefficient returns the correlations coefficient. |
java.lang.String |
getRootFunction(java.util.Vector points)
Die Methode
getRootFunction berechnet eine WurzelFunktion. |
java.lang.String |
getRootFunction(java.util.Vector points,
int digits)
Die Methode
getRootFunction berechnet eine WurzelFunktion. |
public double getA()
public double getB()
public java.lang.String getRootFunction(java.util.Vector points) throws java.lang.Exception
getRootFunction
berechnet eine WurzelFunktion.
y = a + b * sqrt(x), bestimmt werden die Koeffizienten a und b.
Im Test-Modus wird nur eine Zahlungsreihe von 3 Zahlungen ber�cksichtigt.points
- Punkte in der Ebenejava.lang.Exception
- if errorpublic java.lang.String getRootFunction(java.util.Vector points, int digits) throws java.lang.Exception
getRootFunction
berechnet eine WurzelFunktion.
y = a + b * sqrt(x), bestimmt werden die Koeffizienten a und b.
Im Test-Modus wird nur eine Zahlungsreihe von 3 Zahlungen ber�cksichtigt.points
- Punkte in der Ebenedigits
- dezimalzahlen.java.lang.Exception
- if errorpublic double calcFunction(double x)
calcFunction
calculates the root function.x
- the parameterpublic java.lang.String getCorrelationCoefficient()
getCorrelationCoefficient
returns the correlations coefficient.