Calculation using base and height