${}$
Solution via Context Panel

Tools≻Load Package: Student Precalculus

Loading Student:Precalculus

Slope

•

Context Panel: Student Precalculus≻Lines And Segments≻Slope


$\left[3\,5\right]\,\left[7\,2\right]$$\stackrel{\text{slope through points}}{\to}$${}\frac{{3}}{{10}}$

Midpoint

•

Context Panel: Student Precalculus≻Lines And Segments≻Midpoint


$\left[3\,5\right]\,\left[7\,2\right]$$\stackrel{\text{midpoint of points}}{\to}$$\left[{2}{\,}\frac{{7}}{{2}}\right]$

Length of line segment (distance between endpoints)

•

Context Panel: Student Precalculus≻Lines And Segments≻Distance


$\left[3\,5\right]\,\left[7\,2\right]$$\stackrel{\text{distance between points}}{\to}$$\sqrt{{109}}$

Equation of line

•

Context Panel: Student Precalculus≻Lines And Segments≻Line≻Equation


$\left[3\,5\right]\,\left[7\,2\right]$$\stackrel{\text{equation of line}}{\to}$${y}{\=}{}\frac{{3}}{{10}}{}{x}{\+}\frac{{41}}{{10}}$



${}$
There are Task templates for each of these tasks, obtained with the following paths:
In addition there are Task templates for the pointslope and slopeintercept forms of the straight line:
For example, with the template for the distance between two points, we obtain
Distance between Two Real Points

Enter points as lists or vectors:

Point 1:

Point 2:

=




${}$${}$
Similarly, with the template for the equation of a line through two points, we obtain
Compute the Equation of the Line Passing through 2 Points

Enter the first point:

>

$\left[3\,5\right]$

$\left[{}{3}{\,}{5}\right]$
 (1) 

Enter the second point:

>

$\left[7\,2\right]$

$\left[{7}{\,}{2}\right]$
 (2) 

Compute the equation of the line passing through the two points:

>

$\mathrm{Student}\left[\mathrm{Precalculus}\right]\left[\mathrm{Line}\right]\left(\,\right)\left[1\right]$

${y}{\=}{}\frac{{3}}{{10}}{}{x}{\+}\frac{{41}}{{10}}$
 (3) 



${}$
The functionality of the Line command is captured in the
tutor in the Precalculus grouping of tutors. Figure A6.1(a)${}$ provides a screenshot of the Line tutor initialized for this example.

Figure A6.1(a) Line tutor initialized for this example


