Page 7-10
The cosine law indicates that:
a
2
= b
2
+ c
2
– 2
⋅
b
⋅
c
⋅
cos
α
,
b
2
= a
2
+ c
2
– 2
⋅
a
⋅
c
⋅
cos
β
,
c
2
= a
2
+ b
2
– 2
⋅
a
⋅
b
⋅
cos
γ
.
In order to solve any triangle, you need to know at least three of the following
six variables:
a, b, c,
α, β, γ
.
Then, you can use the equations of the sine law,
cosine law, and sum of interior angles of a triangle, to solve for the other three
variables.
If the three sides are known, the area of the triangle can be calculated with
Heron’s formula
,where
s
is known as the
semi-perimeter of the triangle, i.e.,
Triangle solution using the Multiple Equation Solver (MES)
The Multiple Equation Solver (MES) is a feature that can be used to solve two or
more coupled equations. It must be pointed out, however, that the MES does
not solve the equations simultaneously. Rather, it takes the known variables,
and then searches in a list of equations until it finds one that can be solved for
one of the unknown variables. Then, it searches for another equation that can
be solved for the next unknowns, and so on, until all unknowns have been
solved for.
Creating a working directory
We will use the MES to solve for triangles by creating a list of equations
corresponding to the sine and cosine laws, the law of the sum of interior angles,
and Heron’s formula for the area. First, create a sub-directory within HOME
that we will call TRIANG, and move into that directory. See Chapter 2 for
instructions on how to create a new sub-directory.
Entering the list of equations
Within TRIANG, enter the following list of equations either by typing them
directly on the stack or by using the equation writer. (Recall that
~‚a
produces the character
α
, and
~‚b
produces the character
β
. The
character
γ
needs to be
@ECHO
ed from
‚±
):
)
(
)
(
)
(
c
s
b
s
a
s
s
A
−
⋅
−
⋅
−
⋅
=
.
2
c
b
a
s
+
+
=
Summary of Contents for 50G
Page 1: ...HP g graphing calculator user s guide H Edition 1 HP part number F2229AA 90006 ...
Page 130: ...Page 2 70 The CMDS CoMmanDS menu activated within the Equation Writer i e O L CMDS ...
Page 206: ...Page 5 29 LIN LNCOLLECT POWEREXPAND SIMPLIFY ...
Page 257: ...Page 7 20 ...
Page 383: ...Page 11 56 Function KER Function MKISOM ...
Page 715: ...Page 21 68 Whereas using RPL there is no problem when loading this program in algebraic mode ...
Page 858: ...Page L 5 ...