The Slope Intercept form of a Line utility provides the slope-intercept form of a line based on the value of two points (x1 , y1 and x2 , y2).
INSTRUCTIONS: Enter the following:
Slope Intercept form of a Line: The utility returns a string with the slope-intercept form of the line.
The slope intercept form gives the equation of a line, using the(m) and a point on the y-axis (b) as follows:
y = mx + b
The algorithm looks for the following special cases:
With theand intercept (b) from the , you can .