sin

cos

tan

cot

csc

sec

tan (alternate)

tangent

sec (alternate)

1

secant

csc (alternate)

cot (alternate)

cotangent

cosecant

O = Intersect(xAxis, yAxis)
one = Point(xAxis)
unitcircle = Circle(O, one)
C = Point(unitcircle)
vertline = OrthogonalLine(C, xAxis)
CosPt = Intersect(vertline, xAxis)
angleRay = Line(O, C)
θ = Angle(one, O, C)
sine = Segment(C, CosPt)
cosine = Segment(O, CosPt)
sinbox = true
cosbox = true
opposite = Segment(CosPt, C)
tanline = OrthogonalLine(C, angleRay)
TanPt = Intersect(tanline, xAxis)
tangent = Segment(C, TanPt)
tanbox = false
cotbox = false
secant = Segment(TanPt, O)
cscbox = false
secbox = false
CotPt = Intersect(tanline, yAxis)
cotangent = Segment(CotPt, C)
CscPt = Intersect(tanline, yAxis)
cosecant = Segment(CscPt, O)
SecPt = Intersect(tanline, xAxis)
altTanbox = false
AltTanline = OrthogonalLine(one, xAxis)
AltTanPt = Intersect(AltTanline, angleRay)
tangentAlt = Segment(AltTanPt, one)
altSecbox = false
radius = Segment(O, C)
AltSecPt = Intersect(angleRay, AltTanline)
secantAlt = Segment(O, AltSecPt)
altCscbox = false
altCotbox = false
oneY = Intersect(unitcircle, yAxis, 2)
AltCotanline = OrthogonalLine(oneY, yAxis)
AltCotPt = Intersect(angleRay, AltCotanline)
cotangentAlt = Segment(oneY, AltCotPt)
AltCscPt = Intersect(angleRay, AltCotanline)
cosecantAlt = Segment(O, AltCscPt)
sineText: "sin(Θ)=" + (sin(θ)) + ""
cosText: "cos(Θ)=" + (cos(θ)) + ""
RadToDegree(x) = x * 180 / 3.141592654
RadToHalfTurns(x) = x / 3.14159265
θText: "Θ = " + θ + "  =  " + (RadToHalfTurns(θ)) + "π rad  =  " + (RadToDegree(θ)) + "°"
tanText: "tan(Θ)=" + (tan(θ)) + ""
cscText: "csc(Θ)=" + (csc(θ)) + ""
secText: "sec(Θ)=" + (sec(θ)) + ""
cotText: "cot(Θ)=" + (cot(θ)) + ""