So I've taken Calculus 1-3 and am taking 4 when I came across a problem that required me to know the surface area of a right circular cone. It is obviously trivial to search this up so I thought it would be more fun to come up with it on my own when I came up with the following method.
A cone is a stack of continuously expanding circles. By taking the lowest point of the cone to the highest point and adding the circumferences you would get the surface area given. This would look like
$$\int_{0}^{R}2\pi r\,dr$$
where $R$ represents the largest radius of the cone. This simplifies to the area of the circle with radius $R$ but that is clearly not the correct answer.
I'm pretty sure that my problem is that I'm not accounting for the slant of the cone but I'm failing to see how that slant affects the argument. Where am I going wrong?