first commit

master
冯世纪 4 years ago
parent 33761b70b6
commit 7fbaa2a76e

@ -1,5 +1,16 @@
package fengshiji;
import java.math.*;
public class fengshiji1
{
public double duishu(double a,double b)
{
double res = log(a, b);
return res;
}
public class fengshiji1 {
private double log(double a, double b) {
double h=Math.log10(b)/Math.log10(a);
return h;
}
}

Loading…
Cancel
Save