Spark, Distributed Systems, Machine Learning, Hadoop, Scalability.
just run spark-submit pi-code.py Task 1: Estimate the value of Pi (π) Take a unit circle and consider a square circumscribing the circle. Area of unit square = 1 Since its a unit circle, the area of the circle = π The area of quarter arc = π/4 Thus, π = 4 * area of quarter arc Fig 4. Area of Circle