Project 2: Equation of a Line
Project 2: The variables 'x1', 'x2', 'y1', and 'y2' have been initialized. This means they already have a value (but the value is unknown)
x1 is the x-coordinate of the first point (4 for the example above)
y1 is the y-coordinate of the first point (4 for the example above)
x2 is the x-coordinate of the second point (3 for the example above)
y2 is the y-coordinate of the second point (2 for the example above)
Task: correctly initialize the variables 'm' and 'b' which correspond to the slope and y-intercept of the line, respectively.
**If your code works for 5 test cases, you can enter your e-mail address
Universal Computational Math Methods:
pow(5,2) returns 25.0
abs(-3.0) returns 3
sqrt(49.0) returns 7.0