square root




JavaScript Source Code 3000: Calculators: Square Root Calculator









































Square Root Calculator







Allows you to find the value of a number squared or that number's square root. Easy!



























JavaScript Source Code 3000: Calculators: Square Root Calculator
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!





    





<!-- TWO STEPS TO INSTALL SQUARE ROOT CALCULATOR:

1. Copy the coding into the HEAD of your HTML document
2. Add the last code into the BODY of your HTML document -->

<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Adam Hinz (ajhinz@zworg.com) -->
<!-- Web Site: http://www3.cybercities.com/a/ajhinz -->
<!-- Modified By: Ronnie T. Moore -->

<! >
<! >

<!-- Begin
function sqRt(form) {
var number = form.num.value;
var ans = Math.sqrt(number);
form.answer.value = ans;
}
function sqIt(form) {
var number = form.num.value;
var ans = eval(number * number);
form.answer.value = ans;
}
// End -->
</script>
</HEAD>

<!-- STEP TWO: Copy this code into the BODY of your HTML document -->

<BODY>

<center>
<form>
<table border=1>
<tr>
<td>
<input type=text name=num size=10>
</td>
<td>
<input type=button value="Sq. Root" onClick="sqRt(this.form)"><br>
<input type=button value="Square It" onClick="sqIt(this.form)">
</td>
<td>
<input type=text name=answer size=15><br>
<input type=button value="<-- copy back" onClick="this.form.num.value = this.form.answer.value">
</td>
</tr>
</table>
</form>
</center>



<!-- Script Size: 1.36 KB -->










Wyszukiwarka

Podobne podstrony:
Sutter Sharing is root of all contention
H P Lovecraft At the Root
FIDE Trainers Surveys 2013 04 01, Georg Mohr Bobby Fischer and the square d5
root raid howto 2 uoehwgadfxgkqgcprixxuvqv3otu7rfuc5mte4i uoehwgadfxgkqgcprixxuvqv3otu7rfuc5mte4i
arm cmplx mag squared q15? source
nfs root client pl 1
squares
[5] Root Locus Design
nfs root 2 kz5wszui24iee4hdudlvapjuh2nz4jthzoaolcq kz5wszui24iee4hdudlvapjuh2nz4jthzoaolcq
loopback root fs 3 j2vta45dohnv5ggrmcededvgf5xoqa754o2uzxi j2vta45dohnv5ggrmcededvgf5xoqa754o2uzxi
Stitch Basic Square Stitch
nfs root 3gj7prowkt75rf3asoqka3okydpr477ncbfls6q 3gj7prowkt75rf3asoqka3okydpr477ncbfls6q
Starter Strip Information Square Stitch
root raid howto 7 ijpvzmvcbdgtkizjbb4p2bo4ukgo7wqavd4yghi ijpvzmvcbdgtkizjbb4p2bo4ukgo7wqavd4yghi
Root of All Evil Pt1 The God Delusion 2006 TVRip RMVB ZG
arm cmplx mag squared ?2? source
root raid howto 8 q3z2ujnafdumlqku2cbujfxw2o6oddofetfqwdi q3z2ujnafdumlqku2cbujfxw2o6oddofetfqwdi
square

więcej podobnych podstron