matlab 求两个曲线的交线
y=0.0211x^2+0.006x+11.689与y=0.01x^4-0.8242x^3+25.065x^2-333.54x+1650...
y=0.0211x^2+0.006x+11.689
与
y=0.01x^4-0.8242x^3+25.065x^2-333.54x+1650 展开
与
y=0.01x^4-0.8242x^3+25.065x^2-333.54x+1650 展开
2个回答
展开全部
[X,Y,Z]=sphere(50);
mesh(5*X,5*Y,5*Z)%画球面
hold on;
ezmesh('0-x-y',[-5 5])%画平面
[x,y,z]=meshgrid(linspace(-5,5));
contourslice(x,y,z,x+y+z,5*X,5*Y,5*Z,[0 0])%画交线
axis equal
view(135,20)
%只显示出这条圆曲线
figure
contourslice(x,y,z,x+y+z,5*X,5*Y,5*Z,[0 0])%画交线
axis equal
view(135,20)
求采纳为满意回答。
mesh(5*X,5*Y,5*Z)%画球面
hold on;
ezmesh('0-x-y',[-5 5])%画平面
[x,y,z]=meshgrid(linspace(-5,5));
contourslice(x,y,z,x+y+z,5*X,5*Y,5*Z,[0 0])%画交线
axis equal
view(135,20)
%只显示出这条圆曲线
figure
contourslice(x,y,z,x+y+z,5*X,5*Y,5*Z,[0 0])%画交线
axis equal
view(135,20)
求采纳为满意回答。
推荐于2017-09-22
展开全部
>> syms x
>> y1=0.0211*x^2+0.006*x+11.689;
>> y2=0.01*x^4-0.8242*x^3+25.065*x^2-333.54*x+1650;
>> z=solve(y1-y2==0)
z =
29.078
13.976
19.683 - 3.964*i
19.683 + 3.964*i
>> y1=0.0211*x^2+0.006*x+11.689;
>> y2=0.01*x^4-0.8242*x^3+25.065*x^2-333.54*x+1650;
>> z=solve(y1-y2==0)
z =
29.078
13.976
19.683 - 3.964*i
19.683 + 3.964*i
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询