The algebraic equation is
and
.
Substitute
in
.

Pythagorean identity :
.

The trigonometric equation is
.
Consider
.

The value of
is
.
Pythagorean identity :
.

The value of
is
.
The trigonometric equation is
, the value of
is
and the value of
is
.