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

2 visualizzazioni (ultimi 30 giorni)
As the title asks. the boundary is xmin=y/4 and xmax=6-0.5*y, ymin=0, and ymax=4
  1 Commento
Roger Stafford
Roger Stafford il 11 Apr 2016
Modificato: Roger Stafford il 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.

Accedi per commentare.

Risposta accettata

jgg
jgg il 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)

Più risposte (0)

Categorie

Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by