matlab,设f(x)=x5+5x3-x+4,g(x)=x3+2x2+1,求 (1)f(x)+g(x), 5
展开全部
syms x real
f(x)=x^5+5*x^3-x+4;g(x)=x^3+2*x^2+1;a=f(x)+g(x),b=f(x)*g(x),c=f(x)/g(x),d=subs(f(x),x,2),e=vpasolve(g(x)==0,x)
结果是:
a =
x^5 + 6*x^3 + 2*x^2 - x + 5
b =
(x^3 + 2*x^2 + 1)*(x^5 + 5*x^3 - x + 4)
c =
(x^5 + 5*x^3 - x + 4)/(x^3 + 2*x^2 + 1)
d =
74
e =
-2.2055694304005903117020286177838
0.10278471520029515585101430889191 + 0.66545695115281347670619061162908i
0.10278471520029515585101430889191 - 0.66545695115281347670619061162908i
f(x)=x^5+5*x^3-x+4;g(x)=x^3+2*x^2+1;a=f(x)+g(x),b=f(x)*g(x),c=f(x)/g(x),d=subs(f(x),x,2),e=vpasolve(g(x)==0,x)
结果是:
a =
x^5 + 6*x^3 + 2*x^2 - x + 5
b =
(x^3 + 2*x^2 + 1)*(x^5 + 5*x^3 - x + 4)
c =
(x^5 + 5*x^3 - x + 4)/(x^3 + 2*x^2 + 1)
d =
74
e =
-2.2055694304005903117020286177838
0.10278471520029515585101430889191 + 0.66545695115281347670619061162908i
0.10278471520029515585101430889191 - 0.66545695115281347670619061162908i
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询