Best Download Sites Login
Site Login

Pythagorean

Description
One of geometry's most useful formulas, the Pythagorean Theorem, can be applied to the numbers you enter in JavaScript! Just enter 'A' and 'B' and the script solves for 'C.' ...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.


<!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">
<!-- Begin
function solvepy(form) {
a = parseInt(form.a.value);
b = parseInt(form.b.value);
form.c.value = Math.sqrt(a*a + b*b);
}
//  End -->
</script>


</HEAD>

<BODY Background=../graphics/grayback.jpg>
<center><BR><BR><BR>
<form>
The Pythagorean Theorem
<p>
<tt>( a<sup>2</sup> + b<sup>2</sup> = c<sup>2</sup> )</tt>
<p>
<input type=text name=a size=3><sup>2</sup> +
<input type=text name=b size=3><sup>2</sup> =
<input type=text name=c size=8>
<p>
<input type=button value="Solve" onClick="solvepy(this.form)">
</form>

</center>
</BODY>
</HTML>

Business Proposal 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