Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: controllers/calculator.php

Line Number: 37

- 1-800-665-6601
- info@tutorpace.com

1. Area of a triangle = ½ Base x Height

2. Heron’s formula = √[s +(s-x1) + (s-x2) + (s-x3)], where s = semi-perimeter = perimeter/2

For a given question

Area of a triangle = ½ x base x height = ½ x B x H

Base = B = 30 cm; Height = H = 40 cm

Replace the values into the formula we get,

Area of the triangle = ½ x 30 cm x 40 cm = ½ x 1200 cm

The perimeter = 3+4+5 = 12

Semi-perimeter = perimeter/2 = 12/2= 6

Using heron’s formula,

Area = √[s x (s-a) x (s-b) x (s-c)],

Area = √[6 cm x (6-3 cm) x (6-4 cm) x (6-5 cm)]

= √[6 x (3) x (2) x (1)] cm

= √36 cm

Answer = 6cm