I found the derivation of finding the Volume of a cylinder using triple integral with Cartesian coordinates. However, I cant seem to find out how they got '2h' in here. Am I missing something?
The derivation can be found in the image below:
$$\iiint_{E}\,dV=\int_{-a}^{a} \int_{-\sqrt{a^2-x^2}}^{\sqrt{a^2-x^2}} \int_0^h\,1 dzdydx=\int_{-a}^{a} 2h \sqrt{a^2-x^2}\,dx=2h\dfrac12\pi a^2=\pi a^2h $$
Thank you so much.