Suppose we have a uniformly charged hollow cone(ice cup) of surface charge density σ, slant height L and the half-angle at the vertex is θ. I want to calculate the electric field at its tip using Gauss law. I have done the calculation using Coulomb's Law by dividing the cone into rings of thickness dx and integrating over x and I have obtained:
$$E = \sigma \frac{\sin \theta \cos \theta}{2 \epsilon_0} \int_0^L \frac{1}{x}dx$$
which diverges. Can I do the same using Gauss law?