Computing Double integrals with ymax

2 visualizaciones (últimos 30 días)
Ikenna Iwudike
Ikenna Iwudike el 22 de Abr. de 2022
Respondida: Torsten el 22 de Abr. de 2022
F = @(x,y) y*sqrt(x.^2 - y.^2);
ymax = @(x)x;
q = integral2(F,1,2,0,ymax)
I need help with computing this double integral. my bounds for y are 0 and x, but it won't work even when I make ymax a function handle.

Respuesta aceptada

Torsten
Torsten el 22 de Abr. de 2022
F = @(x,y) y.*sqrt(x.^2 - y.^2);
instead of
F = @(x,y) y*sqrt(x.^2 - y.^2);

Más respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by