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

intercept. The equation of a line can be found if two points on the line are given. Line equation calculator is

the online tool which can calculate the equation of a line given the points.

The equation of any straight line is of the form y = mx + b.

Slope of the line, m = (4 - 3)/ (2 - 1) = 1/1 = 1.

The line is y = 1* x + b; y = x + b.

Now substituting (1,3) in the line,

This gives 3 = 1 + b<-b = 2.

m = 1 and b = 2.

The equation of any straight line is of the form y = mx + b.

Slope of the line = (7 - 3)/ (6 - 5) = 4/1 = 4.

The line is y = 4* x + b <- y = 4 x + b.

Now substituting (5, 3) in the line,

This gives 3 = 20 + b; b = -17.

m = 4 and b = -17.