• find the distance of the line
• equation of the line
• Midpoint of the line
• Plot the graph of the line
• find the slope/gradient
Code:
with(Student:-Precalculus):
with(Plot):
a := [0, 7];
b := [3, 19];
Distance(a, b)
Line(a, b)
Midpoint(a, b)
Line(a, b, output = plot)
Plot2D(4*x + 7, x = -12 .. 12)
Slope(a, b)