Biggest Reuleaux Triangle within A Square | C # program to find area of the biggest Reuleaux triangle that can be inscribed within a square ; Function to find the area of the reuleaux triangle ; Side cannot be negative ; Area of the reauleaux triangle ; Driver code
using System ; class GFG { static double reuleauxArea ( double a ) { if ( a < 0 ) return - 1 ; double A = 0.70477 * Math . Pow ( a , 2 ) ; return A ; } static public void Main ( ) { double a = 6 ; Console . WriteLine ( reuleauxArea ( a ) ) ; } }