Quest 4 | Triangle Center Generator
Objective
Write functions on Snap! that accept the coordinates of a triangle’s three vertices as input and, as output, produce the coordinates of the triangle’s four centers.
Goals
COMPUTER SCIENCE
Create novel function block definitions that perform complex operations.
Write a script that finds the centers of any triangle given the locations of its vertices.
GEOMETRY
Construct angle bisectors, perpendicular bisectors, altitudes, and medians and their associated triangle centers (incenter, circumcenter, orthocenter, and centroid, respectively).
Standards
GEOMETRY
CCSSM
G.CO.9, G.CO.10, G. CO.12, G.C.3, G.MG.2, G.MG.3
COMPUTER SCIENCE
CSTA
3A-AP-17, 2-AP-13
Hyperlinked Materials
STUDENT-FACING
Slides (PDF)
Part 3 Starter Code (Snap! link)
FACILITATOR RESOURCES
Part 1 Solution Code (Snap! link)
Part 2 Solution Code (Snap! link)
Part 3 Solution Code (Snap! link)