click on contents to go to codefiles
Contents:
- Area of intersection of a circle and a rectangle
- Area of union of n circles
- By integration between intersection points and end points
(runs in O(n^3log(n))
- By using Green's Theorem
(runs in O(n^2log(n)))
- By integration between intersection points and end points
- Prime Checker
implementation of Miller-Rabin Deterministic Algorithm (runs in O(log(n)^3))
- Area of union of annuli or circular rings
(runs in O(n^2log(n)))