Cálculo del área del triángulo, rectángulo y polígono regular