Graphs of trignometric functions from segments
Author: Susan Addington

sin(P)

cos(P)

sec(P)

csc(P)

cot(P)

tan(P)

Show sine

Show tangent

Show secant

Show cosine

Show cotangent

Show cosecant

A = Intersect(xAxis, yAxis)
c = Circle(A, 1)
P = Point(c)
d = Line(A, P)
C = Intersect(a, d)
e = OrthogonalLine(P, xAxis)
D = Intersect(e, xAxis)
E = Intersect(xAxis, a)
F = Intersect(b, d)
G = Intersect(b, yAxis)
f = OrthogonalLine(P, yAxis)
H = Intersect(f, yAxis)
h = Segment(D, P)
i = Segment(E, C)
j = Segment(C, A)
k = Segment(G, F)
l = Segment(F, A)
m = Segment(H, P)
p = CircleArc(A, E, P)
B = Point(h)
J = Point(m)
L = Point(l)
M = Point(j)
N = Point(b)
O = Point(i)
o = false
q = false
r = false
s = false
t = false
u = false
α = Angle(E, A, P)
Q: (p, 0)
a1 = Segment(A, Q)
R: (x(Q), y(P))
b1 = Segment(R, Q)
f1(x) = sin(x)
I: (x(Q), x(P))
g = Segment(I, Q)
g1(x) = cos(x)
K: (x(Q), y(C))
n = Segment(K, Q)
h1(x) = tan(x)
S: (x(Q), x(F))
c1 = Segment(S, Q)
f2(x) = 1 / tan(x)
T: (x(Q), sgn(x(P)) j)
d1 = Segment(T, Q)
g2(x) = 1 / cos(x)
U: (x(Q), sgn(y(P)) l)
e1 = Segment(U, Q)
h2(x) = 1 / sin(x)