khkwang
- 57
- 0
I don't know the beginning part of the question is relevant, so I'll leave it out unless requested.
At the point of:
\intsin\varthetad\varthetad\phi
Which is to be integrated over a sphere, when integrating from 0 to pi for \vartheta and then from 0 to 2pi for \phi, we get 4pi, which is the answer I'm looking for.
But if I integrate \vartheta from 0 to 2pi first, then \phi from 0 to pi, I get 0, which is definitely not the answer I'm looking for.
Can someone tell me why this is? And how I know which to integrate over pi and which to integrate over 2pi generally?
At the point of:
\intsin\varthetad\varthetad\phi
Which is to be integrated over a sphere, when integrating from 0 to pi for \vartheta and then from 0 to 2pi for \phi, we get 4pi, which is the answer I'm looking for.
But if I integrate \vartheta from 0 to 2pi first, then \phi from 0 to pi, I get 0, which is definitely not the answer I'm looking for.
Can someone tell me why this is? And how I know which to integrate over pi and which to integrate over 2pi generally?