matlab求解方程组 f1=1+2x++y+3xy+4x^2+2y^2-5, f2=1+x+5y+2xy+3X^2+7y^2-2;希望有详细过程。 40
我这样写的,不知对不对?>>symsxy;>>f1='1+2*x+y+3*x*y+4*x^2+2*y^2-5';>>f2='1+x+5*y+2*x*y+3*x^2+7*y...
我这样写的,不知对不对?
>> syms x y;
>> f1='1+2*x+y+3*x*y+4*x^2+2*y^2-5';
>> f2='1+x+5*y+2*x*y+3*x^2+7*y^2-2';
>> [x,y]=solve(f1,f2)
怎么解出来的结果是四组,而且数字超级长 展开
>> syms x y;
>> f1='1+2*x+y+3*x*y+4*x^2+2*y^2-5';
>> f2='1+x+5*y+2*x*y+3*x^2+7*y^2-2';
>> [x,y]=solve(f1,f2)
怎么解出来的结果是四组,而且数字超级长 展开
1个回答
展开全部
x =
0.93400589686140853772832804054421 - 0.10450168965488405315140496186855*i
0.10450168965488405315140496186855*i + 0.93400589686140853772832804054421
- 0.26527274372867079643847017343619*i - 1.15256877111290554371635199264
0.26527274372867079643847017343619*i - 1.15256877111290554371635199264
y =
0.37908468759170015458808198549576*i - 0.37531519208880339662704156437243
- 0.37908468759170015458808198549576*i - 0.37531519208880339662704156437243
0.5403720905187207142798635585864*i - 0.43007402946808283091786861526829
- 0.5403720905187207142798635585864*i - 0.43007402946808283091786861526829
0.93400589686140853772832804054421 - 0.10450168965488405315140496186855*i
0.10450168965488405315140496186855*i + 0.93400589686140853772832804054421
- 0.26527274372867079643847017343619*i - 1.15256877111290554371635199264
0.26527274372867079643847017343619*i - 1.15256877111290554371635199264
y =
0.37908468759170015458808198549576*i - 0.37531519208880339662704156437243
- 0.37908468759170015458808198549576*i - 0.37531519208880339662704156437243
0.5403720905187207142798635585864*i - 0.43007402946808283091786861526829
- 0.5403720905187207142798635585864*i - 0.43007402946808283091786861526829
追问
怎么求的,能贴出代码吗?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询