早教吧 育儿知识 作业答案 考试题库 百科 知识分享

用matlab解这样一个方程组怎么解不出来啊[x,y,z]=solve('x^2+y^2+z^2=re','(x-x1)^2+(y-x1)^2+(z-x1)^2=d1','(x-x2)^2+(y-y2)^2+(z-z2)^2=d2')解出来是x=(-y^2-z^2+re)^(1/2)(-y^2-z^2+re)^(1/2)(-y^2-z^2+re)^(1/2)(-y^2-z

题目详情
用matlab 解这样一个方程组 怎么解不出来啊
[x,y,z] = solve('x^2 + y^2 + z^2 = re','(x-x1)^2 + (y-x1)^2 + (z-x1)^2 = d1','(x-x2)^2 + (y-y2)^2 + (z-z2)^2 = d2')
解出来是
x =
(-y^2-z^2+re)^(1/2)
(-y^2-z^2+re)^(1/2)
(-y^2-z^2+re)^(1/2)
(-y^2-z^2+re)^(1/2)
-(-y^2-z^2+re)^(1/2)
-(-y^2-z^2+re)^(1/2)
-(-y^2-z^2+re)^(1/2)
-(-y^2-z^2+re)^(1/2)
y =
1/3*y+1/3*z+1/3*(-y^2-z^2+re)^(1/2)+1/3*(2*y*z+2*y*(-y^2-z^2+re)^(1/2)+2*z*(-y^2-z^2+re)^(1/2)-2*re+3*d1)^(1/2)
1/3*y+1/3*z+1/3*(-y^2-z^2+re)^(1/2)-1/3*(2*y*z+2*y*(-y^2-z^2+re)^(1/2)+2*z*(-y^2-z^2+re)^(1/2)-2*re+3*d1)^(1/2)
1/3*y+1/3*z+1/3*(-y^2-z^2+re)^(1/2)+1/3*(2*y*z+2*y*(-y^2-z^2+re)^(1/2)+2*z*(-y^2-z^2+re)^(1/2)-2*re+3*d1)^(1/2)
1/3*y+1/3*z+1/3*(-y^2-z^2+re)^(1/2)-1/3*(2*y*z+2*y*(-y^2-z^2+re)^(1/2)+2*z*(-y^2-z^2+re)^(1/2)-2*re+3*d1)^(1/2)
1/3*y+1/3*z-1/3*(-y^2-z^2+re)^(1/2)+1/3*(2*y*z-2*y*(-y^2-z^2+re)^(1/2)-2*z*(-y^2-z^2+re)^(1/2)-2*re+3*d1)^(1/2)
1/3*y+1/3*z-1/3*(-y^2-z^2+re)^(1/2)-1/3*(2*y*z-2*y*(-y^2-z^2+re)^(1/2)-2*z*(-y^2-z^2+re)^(1/2)-2*re+3*d1)^(1/2)
1/3*y+1/3*z-1/3*(-y^2-z^2+re)^(1/2)+1/3*(2*y*z-2*y*(-y^2-z^2+re)^(1/2)-2*z*(-y^2-z^2+re)^(1/2)-2*re+3*d1)^(1/2)
1/3*y+1/3*z-1/3*(-y^2-z^2+re)^(1/2)-1/3*(2*y*z-2*y*(-y^2-z^2+re)^(1/2)-2*z*(-y^2-z^2+re)^(1/2)-2*re+3*d1)^(1/2)
z =
(-y^2-z^2+re)^(1/2)+(2*y*y2-y2^2-z^2-y^2-z2^2+d2+2*z*z2)^(1/2)
(-y^2-z^2+re)^(1/2)+(2*y*y2-y2^2-z^2-y^2-z2^2+d2+2*z*z2)^(1/2)
(-y^2-z^2+re)^(1/2)-(2*y*y2-y2^2-z^2-y^2-z2^2+d2+2*z*z2)^(1/2)
(-y^2-z^2+re)^(1/2)-(2*y*y2-y2^2-z^2-y^2-z2^2+d2+2*z*z2)^(1/2)
-(-y^2-z^2+re)^(1/2)+(2*y*y2-y2^2-z^2-y^2-z2^2+d2+2*z*z2)^(1/2)
-(-y^2-z^2+re)^(1/2)+(2*y*y2-y2^2-z^2-y^2-z2^2+d2+2*z*z2)^(1/2)
-(-y^2-z^2+re)^(1/2)-(2*y*y2-y2^2-z^2-y^2-z2^2+d2+2*z*z2)^(1/2)
-(-y^2-z^2+re)^(1/2)-(2*y*y2-y2^2-z^2-y^2-z2^2+d2+2*z*z2)^(1/2)
怎么右边还有x,y,z啊,
▼优质解答
答案和解析
LZ好,[aa,bb]=solve('14.14*a+11.22*a^2+222272*(0.015*a+1)^1.5-111136=7.07*b+5.61*b^2+111136*(0.015*b+1)^1.5+1800','7.07*a^2+7.486*a^3+11111111*(0.015*a+1)^1.5*(0.012*a-8/15)+1000=3.535*b^2+3.743*b^3+11111111*(0.015*b+1)^1.5*(0.006*b-4/15)','a','b')
我改了一点你的东西,你看一下是不是你的原意
直接就行.
你得多等等.注意左下角的状态,如果出现Busy的话,就说明还在算.18725希望对你有帮助!