drawing exercise: line
Introduction
Drawing lines as an exercise can be used to draw lines with a given equation, symmetry lines, asymptotes etc. Since we can make drawing exercises with points, you can also make drawing exercises with lines.
How to do this?
- solution: Define the line
sol: y = a x b
with previously defined random numbers a and b. - answer: Create the line ans
P = (-14, 2) Q = (-12, 2) ans = Line(P, Q)