简单lingo程序有错误,求大神帮忙,在线等!
代码如下:data:x=0;y=0;xa=300;ya=300;x0=80;y0=210;v0=5;enddatamin=t1+t2+t3;t1=@sqrt((x1)^2...
代码如下:
data:
x=0;y=0;
xa=300;ya=300;
x0=80;y0=210;
v0=5;
enddata
min=t1+t2+t3;
t1=@sqrt((x1)^2+(y1)^2)/v0;
t2=r*a/v;
t3=@sqrt((x2-xa)^2+(y2-ya)^2)/v0;
a=@acos(((x1-x0)*(x2-x0)+(y1-y0)*(y2-y0))/r);
(x1-x0)^2+(y1-y0)^2=r^2;
(x2-x0)^2+(y2-y0)^2=r^2;
(x1-x)*(x1-x0)+(y1-y)*(y1-y0)=0;
(x2-x0)*(x2-xa)+(y2-y0)*(y2-ya)=0;
v=v0/(1+@exp(10-0.1*r^2));
a>=0;
a<=@pi();
r>=10;
r<=55;
x1>=0;
y1>=0;
x2>=0;
y2>=0;
错误:Error Code:69 Error Text:undefined arithmetic operation.The error occurred in row :5 展开
data:
x=0;y=0;
xa=300;ya=300;
x0=80;y0=210;
v0=5;
enddata
min=t1+t2+t3;
t1=@sqrt((x1)^2+(y1)^2)/v0;
t2=r*a/v;
t3=@sqrt((x2-xa)^2+(y2-ya)^2)/v0;
a=@acos(((x1-x0)*(x2-x0)+(y1-y0)*(y2-y0))/r);
(x1-x0)^2+(y1-y0)^2=r^2;
(x2-x0)^2+(y2-y0)^2=r^2;
(x1-x)*(x1-x0)+(y1-y)*(y1-y0)=0;
(x2-x0)*(x2-xa)+(y2-y0)*(y2-ya)=0;
v=v0/(1+@exp(10-0.1*r^2));
a>=0;
a<=@pi();
r>=10;
r<=55;
x1>=0;
y1>=0;
x2>=0;
y2>=0;
错误:Error Code:69 Error Text:undefined arithmetic operation.The error occurred in row :5 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询