submit the ExFunction.java

master
suyi 4 years ago
parent 494a85dd7d
commit f3efdd2032

@ -12,11 +12,6 @@ public class ExFunction {
this.x = x; this.x = x;
} }
public static void main(String[] args) {
ExFunction exFunction = new ExFunction(0);
System.out.println(exFunction.index());
}
public double index() { public double index() {
return Math.exp(x); return Math.exp(x);
} }

Loading…
Cancel
Save