integration over a circle VS rectangle

8 visualizzazioni (ultimi 30 giorni)
Capture11111.JPG
I have entered a function (fun), converted it to the polar domain (polarfun)
q0 is the function integration over a circle with radius 400um centered in the origin
q3 is the function integration over a square with dimensions 800*800 um*um
q3 is expected to be greater than q0 as the square has a greater area. However, the results are as shown!
what could be the mistake in my code?

Risposta accettata

Bjorn Gustavsson
Bjorn Gustavsson il 6 Giu 2019
Dont forget the basics:
dxdy = rdrdtheta
HTH

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by