α
-16
Program name: TRIANGLE
Function: Area of Triangle
Y
X
(
X
3
, Y
3
)
(
X
2
, Y
2
)
(
X
1
, Y
1
)
Input:
(
X
1
,
Y
1
), (
X
2
,
Y
2
), (
X
3
,
Y
3
)
Output:
S
Formula:
S
=
Program name: QUADRANG
Function: Area of Quadrangle
Y
X
(
X
3
, Y
3
)
(
X
2
, Y
2
)
(
X
1
, Y
1
)
(
X
4
, Y
4
)
Input:
(
X
1
,
Y
1
), (
X
2
,
Y
2
), (
X
3
,
Y
3
), (
X
4
,
Y
4
)
Output:
S
Formula:
Program name: HERON
Function: Heron Formula
a
b
c
Input:
a
,
b
,
c
Output:
S
Formula:
S
=
s
=
(
X
1
–
X
2
)(
Y
3
–
Y
1
) + (
X
1
–
X
3
)(
Y
1
–
Y
2
)
2
©
©
¸
¸
(
X
1
–
X
2
)(
Y
3
–
Y
1
) + (
X
1
–
X
3
)(
Y
1
–
Y
2
)
2
©
©
¸
¸
(
X
1
–
X
2
)(
Y
3
–
Y
1
) + (
X
1
–
X
3
)(
Y
4
–
Y
2
) + (
X
1
–
X
4
)(
Y
1
–
Y
3
)
2
©
©
¸
¸
S
=
(
X
1
–
X
2
)(
Y
3
–
Y
1
) + (
X
1
–
X
3
)(
Y
4
–
Y
2
) + (
X
1
–
X
4
)(
Y
1
–
Y
3
)
2
©
©
¸
¸
S
=
s
(
s
–
a
)(
s
–
b
)(
s
–
c
)
s
(
s
–
a
)(
s
–
b
)(
s
–
c
)
2
a
+
b
+
c
a
+
b
>
c
> 0
b
+
c
>
a
> 0
c
+
a
>
b
> 0
¥
¦
§
´
µ
¶
2
a
+
b
+
c
a
+
b
>
c
> 0
b
+
c
>
a
> 0
c
+
a
>
b
> 0
¥
¦
§
´
µ
¶
Program name: STADIA
Function: Stadia Calculation
S
l
H
f
c
F
α
i
A
B
Input:
K
f
i
¥
§
´
¶
=
,
C
(=
c
+
f
),
l
,
α
Output:
S
,
H
Formula:
S
=
Kl
cos
2
α
+
C
cos
α
H
=
1
2
Kl
sin 2
α
+
C
sin
α
However,
0°
α
90°