function calculator

Straight Line Calculator

Calculates the formula of a straight line from any pair of coordinates on that line.

Also gives the formula of a parallel line, and of a perpendicular line.

 

 

Enter coordinate values (x1, y1) and (x2,y2):
x1:
y1:
x2:
y2:


Formula:
Slope:
Y-Intercept:


Formula of a Parallel Line :
Perpendicular Line Formula:

Click Get Results again to get different values for constants.

Home

Original by: Abraham I. (abraham_824@hotmail.com)
This script and many more are available free online at
 The JavaScript Source!! http://javascript.internet.com