de.hska.java.aufgaben.suchen
Class EinPolynom

java.lang.Object
  extended by de.hska.java.aufgaben.suchen.EinPolynom
All Implemented Interfaces:
Funktion

public class EinPolynom
extends java.lang.Object
implements Funktion

Implementiert das Polynom 2x3 - 5x2 + 7x + 2. Es gilt f(1) = 2 - 5 + 7 = 6 und f(-1) = -2 - 5 - 7 = -14.

Zurück zum Aufgabentext

Author:
pape

Constructor Summary
EinPolynom()
           
 
Method Summary
 double f(double x)
          Gibt den Funktionwert f(x) = 2x3 - 5x2 + 7x + 2 zurück.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EinPolynom

public EinPolynom()
Method Detail

f

public double f(double x)
Gibt den Funktionwert f(x) = 2x3 - 5x2 + 7x + 2 zurück.

Specified by:
f in interface Funktion


(c) Prof. Dr. Christian Pape --- Übersicht aller Java-Programmieraufgaben