public class Principal {

 public double calcularValor(double original, double numAns, double tasa) { 
 	return original/ Math.pow((1+ tasa),numAns);
 }
}
