Line Equation - Online Code


This code calculates the Equation of Line from its given coordinates.

Source Code



<!-- Begin

function calculate() {

var y = new Array();

y[0] = null;

y[1] = document.calculator.y1.value;

y[2] = document.calculator.y2
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.


Prateek Srivastava on 2009-04-06 08:42:23 wrote,

good basic level code frequently needed..