MATLAB Answers

How to integrate SS y*exp(x) dxdy using matlab?

6 views (last 30 days)
Mathidiot Superfacial
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
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.

Sign in to comment.

Accepted Answer

jgg
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

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!