Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: controllers/calculator.php

Line Number: 37

- 1-800-665-6601
- info@tutorpace.com

Slope m = rise /run (or)

Slope m = (y2-y1)/(x2-x1)

Slope m = (y2-y1)/(x2-x1)

Solution: Write the given equation in y =mx +b form.

Given that 2x+ y =4

Subtract 2x on each side

2x + y -2x =4 -2x

y = 4 -2x

Rewrite the equation as y = -2x +4

Given equation is in y = mx +b form

Finally, slope m = -2 is answer.

Solution: If two points (x1, y1) and (x2, y2) is given, then the point slope intercept form will be

as shown below.

Slope m = (y2-y1)/(x2-x1)

Substitute the given points in the above formula.

Here x1= 4, y1=3, x2=5 and y2 =8.

Slope m = (8-3) / (5-4)

= 5/1

= 5.

Finally, Slope m =5 is answer.