Linear Equation: Slope Intercept Form
Author: Robert Laurie

Change the  slope (m) and y-intercept (b) by moving the sliders for both linear equations Line1 and Line 2.

Problem 1: Adjust sliders so that you have two parallel lines. Record the numerical values for slope and y-intercept for each line. Print the graph. 

Problem 2: Adjust sliders so that you have two perpendicular lines. Record the numerical values for slope and y-intercept for each line. Print the graph. Determine and record the point of intersection for the two perpendicular lines.

Line 1 Equation: Slope Intercept Form

Line 2 Equation: Slope Intercept Form

c = NaN (slider from -4 to 4, step 1)
a = 1 (slider from -5 to 5, step 0.2)
LineEq1: "y = " + c + "x + " + a
d = NaN (slider from -10 to 10, step 0.25)
b = 2 (slider from 0 to 5, step 0.2)
text3: "y = " + d + "x + " + b
f(x) = (a * b^(x))
g(x) = (a * log(b, x))