Area of Circumcircle of an Equilateral Triangle using Median | C ++ implementation to find the equation of circle which inscribes equilateral triangle of median M ; Function to find the equation of circle whose center is ( x1 , y1 ) and the radius of circle is r ; Function to find the equation of circle which inscribes equilateral triangle of median M ; Util Function to find the circle equation ; Driver code ; Function Call
#include <iostream> NEW_LINE const double pi = 3.14159265358979323846 ; using namespace std ; void circleArea ( double r ) { cout << ( pi * r * r ) ; } void findCircleAreaByMedian ( double m ) { double r = 2 * m / 3 ; circleArea ( r ) ; } int main ( ) { double m = 3 ; findCircleAreaByMedian ( m ) ; return 0 ; }