If I've made any mistakes, please point them out in the comments
Find electric potential at a point at the edge of a charged disc of uniform surface charge density
I started by setting up a curved charge element(an Arc), and took the point about which I want to find the potential as Origin
Let the angle the point at which the arc touches either end of the disc be $\theta$ and the distance between the point and the ends of each element vary from $r$ to $R$
First to find the area of the element $dQ=r \sigma dr d({\theta})$
where r varies from r to R and the angle varies from $0$ to $\theta $
that gives $\sigma \frac{(R^2-r^2)}{2}\theta $ as the charge on a given charge element
now $dV =\frac{kQ}{r}$
so here $$dV=\sigma \frac{(R^2-r^2)}{2}\theta $$
so not too sure how to proceed from here
Alternatively, starting by finding the Potential due to an arc at a distance $x$ from its midpoint
so that would be
$dV=\frac{\sigma xdxd\theta}{x}$
which would mean the potential would be
$$dV=\int_0^\theta \int_r^R\sigma dxd theta $$
which simply is $\sigma (R-r)\theta $
Edit:- If possible, I would like to stick to Cartesian coordinates and single integrals