EL-9900 Graphing Calculator
Heron's Formula
Use Heron's formula to find the area of a triangle when the sides (A,B,C) of the
triangle are known.
Calculation
S = D (D - A) (D - B) (D - C)
D =
(A + B + C)
2
A
C
B
FLOWCHART
PARAMETERS
PROGRAMME LIST
(REAL MODE)
Calculation of area
Display of area
Calculation of D
Entry of sides
Start
End
Enter sides A, B and C.
Value of D calculated.
Area of triangle
displayed.
Area S calculated.
Title : HERON
Print "Input LENGTH
Input A
Input B
Input C
(A+B+C)/2 D
(D (D-A) (D-B) (D-C) ) S
Print "S =
Print S
End
Name of parameter
A
B
C
Content
value of side A
value of side B
value of side C
Name of parameter
D
S
Content
value of D
area
Exercise
Find the area of a triangle when sides A, B and C are 20, 35 and 40cm respectively.
Key OperationStep
Display
1
2
Specify the programme
mode.
Select the title HERON.
The area is approximately
350cm
2
.
3
(Display of area)
Enter the values A, B and C.
1
2
ENTER
ENTER ENTER
035
40
PRGM
A