kinetic energy




JavaScript Source Code 3000: Calculators: Kinetic Energy






































Kinetic Energy







Solve any of three variables in a Kinetic Energy equation using this script. Simply enter two of the three values and submit to find the value of the third variable. Neat!








MASS (kg)
VELOCITY (m/s)
KINETIC ENERGY (joules)


















JavaScript Source Code 3000: Calculators: Kinetic Energy
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 Command-s). The script is yours!!!





    





<!-- TWO STEPS TO INSTALL KINETIC ENERGY:

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: David K (davidwkjr@hotmail.com) -->

<! >
<! >

<!-- Begin
function a_times_b(form) {
a = eval(form.a.value);
b = eval(form.b.value);
c = 1 / 2 * a * b * b;
form.c.value = c;
}
function c_div_b(form) {
c = eval(form.c.value);
b = eval(form.b.value);
a = c / (b * b);
form.a.value = a * 2;
}
function c_div_a(form) {
c = eval(form.c.value);
a = eval(form.a.value);
b = c / (1 / 2 * a);
form.b.value = Math.sqrt(c / (1 / 2 * a));
}
// End -->
</script>
</HEAD>

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

<BODY>

<center>
<table width=300 border=0>
<form name="fromcal">
<tr>
<td><center>MASS (kg)</td>
<td><center>VELOCITY (m/s)</td>
<td><center>KINETIC ENERGY (joules)</td>
</tr>
<tr>
<td><input type=number name="a" value=" " size=10></td>
<td><input type=number name=b value=" " size=10></td>
<td><input type=number name="c" value=" " size=10></td>
</tr>
<tr>
<td><input type=button value="Find Mass" onClick="c_div_b(this.form)"></td>
<td><input type=button value="Find Velocity" onClick="c_div_a(this.form)"></td>
<td><input type=button value="Find KE" onClick="a_times_b(this.form)"></td>
</tr>
</form>
</table>
</center>



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











Wyszukiwarka

Podobne podstrony:
Tracklista Energy 2000 08 05 2009
Energy Mix Special Hardstyle?ition Volume0 11 www energy2000 eu
Kundalini Yoga Basic Spinal Energy Series
Glow Worm installation and service manual Energy Saver 40 UI
A ZVS PWM Inverter With Active Voltage Clamping Using the Reverse Recovery Energy of the Diodes
Energy 2000 Mix Vol 26 Special Hardstyle Edition 2011 Tracklista
free energy
Tracklista Energy Mix Volume 29 2011
(ebook free energy) 50000 vdc power supply
07P ENERGY
energy3 recipe corner cooking vocab
Energy 2000 Mix Vol 12 Tracklista
2012 vol 07 Geopolitics and energy security in the Caspian region
Energy and security

więcej podobnych podstron