public static boolean 公式(double y,double x,double t) {
//传入y,x,t
//第一部分
double one = Math.pow(y*t*x+x*t*y,2)/50*x*y*y*t*x;
//第二部分
double two = x*y*(t*x+t*y)/((y*t*x)+(x*t*y))*0.0138;
//如果等式成立返回true,不成立返回false
if(y-x >= one+two) {
return true;
}else {
return false;
}
}
这个你可以试试MATLAB
妈耶 写代码没问题 但是这个玩意怎么解