master
suyi 4 years ago
parent 6449c0d6f1
commit 494a85dd7d

@ -1,5 +1,5 @@
package ; package collaboration;
import java.util.Scanner; import java.util.Scanner;
import java.math.*; import java.math.*;

@ -0,0 +1,24 @@
package collaborative;
/**
* @author suyi
* @version 1.0
* @date 2020/8/6 18:00
*/
public class ExFunction {
public double x;
public ExFunction(double x) {
this.x = x;
}
public static void main(String[] args) {
ExFunction exFunction = new ExFunction(0);
System.out.println(exFunction.index());
}
public double index() {
return Math.exp(x);
}
}

@ -1,4 +1,4 @@
package ; package collaboration;
import java.math.*; import java.math.*;
public class TrigonometricFunction { public class TrigonometricFunction {
Loading…
Cancel
Save