当前位置:   article > 正文

用matlab求带参数d积分,现在想用matlab指令dblquad计算一个二重积分,被积函数中除了u,v之外还有其他参数,但是已经提前给出。...

已知二重积分值求其中参数matlab代码

满意答案

clc, clear

syms u v

% 对D004 D013 D022 D031 D040 D103 D112 D121 D130 D202 D211 D220 D301 D310 D400将其赋值

fun=(cos(u))^4*D004+(cos(u))^3*sin(v)*sin(u)*D013+(cos(u)*sin(v)*sin(u))^2*D022+cos(u)*(sin(v)*sin(u))^3*D031+(sin(v)*sin(u))^4*D040+(cos(u))^3*cos(v)*sin(u)*D103+(cos(u)*sin(u))^2*sin(v)*cos(v)*D112+cos(u)*(sin(v))^2*(sin(u))^3*cos(v)*D121 + (sin(v))^3*(sin(u))^4*cos(v)*D130+(cos(u)*cos(v)*sin(u)).^2*D202+cos(u)*sin(v)*(sin(u))^3*(cos(v))^2*D211+(sin(v)*cos(v))^2*(sin(u))^4*D220+cos(u)*(cos(v)*sin(u))^3*D301+sin(v)*(sin(u))^4*(cos(v))^3*D310+(cos(v)*sin(u))^4*D400;

int(int(fun,u,[0,pi]),v,[-pi,pi])

10分享举报

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/盐析白兔/article/detail/608814
推荐阅读
相关标签
  

闽ICP备14008679号