How to integrate SS y*exp(x) dxdy using matlab?
1 次查看(过去 30 天)
显示 更早的评论
As the title asks. the boundary is xmin=y/4 and xmax=6-0.5*y, ymin=0, and ymax=4
1 个评论
Roger Stafford
2016-4-11
编辑:Roger Stafford
2016-4-11
This is a problem you can work by hand using ordinary methods of integral calculus to get a precise answer. Probably the symbolic toolbox can do the same.
采纳的回答
jgg
2016-4-11
I think this should work; you want the integral2 function.
fun = @(x,y)(x.*exp(y));
ymin = @(x)(x/4);
ymax = @(x)(6 - 0.5*x);
q = integral2(fun,0,4,ymin,ymax)
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!