How to integrate SS y*exp(x) dxdy using matlab?
8 views (last 30 days)
Show older comments
Mathidiot Superfacial
on 11 Apr 2016
Edited: Roger Stafford
on 11 Apr 2016
As the title asks. the boundary is xmin=y/4 and xmax=6-0.5*y, ymin=0, and ymax=4
1 Comment
Roger Stafford
on 11 Apr 2016
Edited: Roger Stafford
on 11 Apr 2016
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.
Accepted Answer
jgg
on 11 Apr 2016
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 Comments
More Answers (0)
See Also
Categories
Find more on Calculus in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!