Class Exp

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

public class Exp
extends java.lang.Object
implements Funcao


Field Summary
(package private)  int n
           
 
Constructor Summary
Exp(int n)
           
 
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

n

int n
Constructor Detail

Exp

public Exp(int n)
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