
More JavaScript Calculators
5 Function | Ad Calculator | Adjusted Cost Base | Advanced | Age Calculator | Airport Distance | Armor | Atmosphere | Blood Alcohol Content | Basic | Beat Counter | Best Price | Binary Converter | Body Mass Index | Bubble Sort | Simple Calculator | Calories Burned | Circle Solver | Compound Interest | Cosine | Date Difference | Day Of Week | Distance Speed Time | Dog Years | Driving Distance | Expression Solver | Factors | Fibonacci Sequence | Field Depth | Function Grapher | GPA | Graphing Function | Group Work | Horsepower | Income | Interest Rate | Kinetic Energy | Lap Time | Lcm And Gcd | Leap Year | Male Body | Miles Per Gallon | Money Counter | Parabola Grapher | Paycheck | Percent | Percent Of Increase | Periodic Table | Phone Text | Phone Bill | Polygon | Pregnancy | Prime Number | Pythagorean | Quadratic Solver | Quadratic | Radioactive | Random Distribution | Room Size | Running | Savings Estimator | Scientific | Sine | Square Root | Stock | Straight Distance | Tangent | Tax | Top Speed Rpm | Wavelength | Win Calculator | Wind Chill | World Population | Simple Multiplication
Description
Enter a coordinate pair for each the starting and ending points according to the Cartesian coodinate system. The script will calculate the straight line distance between the two points....View A Script Demo
Enter a coordinate pair for each the starting and ending points according to the Cartesian coodinate system. The script will calculate the straight line distance between the two points....View A Script Demo
Do you find it confusing setting up these script?
Java Scripts Magic can do all the hard work for you all At The Touch Of A Button.
Java Scripts Magic can do all the hard work for you all At The Touch Of A Button.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="TextPad 4.4">
<LINK href="general.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Jay Kimmel (jaykimmel@bigplanet.com) -->
<!-- Web Site: http://www.jkimmel.com -->
<!-- Begin
function distance(form) {
var x1 = eval(form.x1.value);
var y1 = eval(form.y1.value);
var x2 = eval(form.x2.value);
var y2 = eval(form.y2.value);
var xdiff = x2 - x1;
var ydiff = y2 - y1;
form.answer.value = Math.pow((xdiff * xdiff + ydiff * ydiff), 0.5);
}
// End -->
</script>
</HEAD>
<BODY Background=../graphics/grayback.jpg>
<center><BR><BR><BR>
<form>
<table border=3 cellspacing=2 cellpadding=5>
<tr>
<td colspan=4 align=center>Distance Calculator: From point A to point B</td>
</tr>
<tr>
<td colspan=2 align=center>Point A</td>
<td colspan=2 align=center>Point B</td>
</tr>
<tr>
<td align=center>(x<sub>A</sub>,</td>
<td align=center>y<sub>A</sub>)</td>
<td align=center>(x<sub>B</sub>,</td>
<td align=center>y<sub>B</sub>)</td>
</tr>
<tr>
<td align=center><input type=text name=x1 size=5></td>
<td align=center><input type=text name=y1 size=5></td>
<td align=center><input type=text name=x2 size=5></td>
<td align=center><input type=text name=y2 size=5></td>
</tr>
<tr>
<td colspan=4 align=center><input type=button value="Solve Distance" onClick="distance(this.form)"></td>
</tr>
<tr>
<td colspan=4 align=center><input type=text name=answer size=20></td>
</tr>
</table>
</form>
</center>
</BODY>
</HTML>
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="TextPad 4.4">
<LINK href="general.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Jay Kimmel (jaykimmel@bigplanet.com) -->
<!-- Web Site: http://www.jkimmel.com -->
<!-- Begin
function distance(form) {
var x1 = eval(form.x1.value);
var y1 = eval(form.y1.value);
var x2 = eval(form.x2.value);
var y2 = eval(form.y2.value);
var xdiff = x2 - x1;
var ydiff = y2 - y1;
form.answer.value = Math.pow((xdiff * xdiff + ydiff * ydiff), 0.5);
}
// End -->
</script>
</HEAD>
<BODY Background=../graphics/grayback.jpg>
<center><BR><BR><BR>
<form>
<table border=3 cellspacing=2 cellpadding=5>
<tr>
<td colspan=4 align=center>Distance Calculator: From point A to point B</td>
</tr>
<tr>
<td colspan=2 align=center>Point A</td>
<td colspan=2 align=center>Point B</td>
</tr>
<tr>
<td align=center>(x<sub>A</sub>,</td>
<td align=center>y<sub>A</sub>)</td>
<td align=center>(x<sub>B</sub>,</td>
<td align=center>y<sub>B</sub>)</td>
</tr>
<tr>
<td align=center><input type=text name=x1 size=5></td>
<td align=center><input type=text name=y1 size=5></td>
<td align=center><input type=text name=x2 size=5></td>
<td align=center><input type=text name=y2 size=5></td>
</tr>
<tr>
<td colspan=4 align=center><input type=button value="Solve Distance" onClick="distance(this.form)"></td>
</tr>
<tr>
<td colspan=4 align=center><input type=text name=answer size=20></td>
</tr>
</table>
</form>
</center>
</BODY>
</HTML>
If you have a Business Proposal that you think may be of interest to us here at Best Download Sites please contact us to discuss the matter in further detail

