Class Constante

java.lang.Object
  extended by Constante
All Implemented Interfaces:
Funcao

public class Constante
extends java.lang.Object
implements Funcao


Field Summary
(package private)  double c
           
 
Constructor Summary
Constante(double c)
           
 
Method Summary
 java.lang.String formula()
           
 double valor(double x)
           
 
Methods inherited from class
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

c

double c
Constructor Detail

Constante

public Constante(double c)
Method Detail

formula

public java.lang.String formula()
Specified by:
formula in interface Funcao

valor

public double valor(double x)
Specified by:
valor in interface Funcao