import math as mt
pi = mt.pi

class GeometryFormula():
    def square(a):
        return a * a
    
    def triangle(a, b):
        return a * b / 2
    
    def circle(r):
        return pi * r * r
    
    def rectangle(a, b):
        return a * b