Начало
Калькуляторы
Кинетическая энергия
Решите любую из трех переменных в Кинетическом энергетическом уравнении, используя этот скрипт.
MASS (kg)
VELOCITY (m/s)
KINETIC ENERGY (joules)
JavaScript Calculators: кинетическая энергия
<!-- 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"> <! > <! > <!-- 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 -->