How to derive formula of a circle (PDF)