← Main
Python Ref
Programming in Geometry
Plotting Points and Relations
Two Points Assignment
Learn to plot points in 3d using
vpython
(see
Glowscript.org
)
Two Points and Lines
Finding the equation of a line between two points.
Finding the slope-intercept form of the straight line equation using two points.
Linear Relations
Determine if a Relation is Linear
Graphically and programatically determine if a relation between x and y is linear.
Logical Statements
Logic
Using logical statements in programming: If ... Then ... Else
Functions
Learn to write mathematical functions.
Program mathematical functions, combine them (add, subtract, chain), and pass them to other functions.
Functions (for two points)
Functions for working with two points.
Write and use functions to calculate stuff you can find if given two points (x
1
, y
1
) and (x
2
, y
2
). For example, midpoints, slope of the line between the points, distance between the points.
Application: Distance from Point to Line
Determine the perpendicular distance between a point and a line.
Explanation of the math (with the algebra and with an example) of the problem.