I was trying to evaluate the volume of a cone with height $h$ and width $2a$. My limits were as follows (which are wrong):
$$0 \le r \le a $$ $$0 \le \theta \le 2\pi$$ $$0 \le z \le h$$
And the main flaw is that the lower bound for $z$ should be $\frac{h}{a}r$ instead of $0$. Now, this makes since to me since my logic would be scaling a circle up in $z$ forming a cylinder. Here, we need to have the radius of the circle being scaled up to decrease with height. So, why does $\frac{h}{a}r$ satisfy this?
You need to think of the "side" of the cone (when you see it as a triangle) as a line that is $0$ when $r=0$ and $a$ when $r=h$. For any $r$, the side of the cone is at a height $z_0$; and the square triangle with sides $h$ and $a$ will be similar to the square triangle with sides $z_0$ and $r$. So $$ \frac ha=\frac{z_0}r, $$ and so $$ z_0=\frac{hr}a. $$