Minimum area of the triangle formed by any tangent to an ellipse with the coordinate axes | Java program for the above approach ; Function to find the minimum area of triangle formed by any tangent to ellipse with the coordinate axes ; Stores the minimum area ; Print the calculated area ; Driver Code
class GFG { static void minimumTriangleArea ( int a , int b ) { int area = a * b ; System . out . println ( area ) ; } public static void main ( String [ ] args ) { int a = 1 , b = 2 ; minimumTriangleArea ( a , b ) ; } }