Начало
Калькуляторы
Максимальная скорость оборотов в минуту
Внесите диаметр шины и показатели ОБОРОТА двигателя, и скрипт покажет Вам максимальную скорость веса на Tires.
Diameter of Tire (in Inches)
RPM Value
Top Speed with no Weight
JavaScript Calculators: Максимальная скорость оборотов в минуту
<!-- TWO STEPS TO INSTALL TOP SPEED BY RPM: 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 calculate() { var pi = 3.14159265359; var radius = document.rpmForm.diameter.value / 2; var circ = 2 * pi * radius; var totlength = circ * .00001578; var totrpm = document.rpmForm.rpm.value * 60; var total = totrpm * totlength; document.rpmForm.topSpeed.value = total; } // End --> </script> </HEAD> <!-- STEP TWO: Copy this code into the BODY of your HTML document --> <BODY> <form name="rpmForm"> <table border=0> <tr> <td> Diameter of Tire (in Inches) </td> <td> <input type=text name=diameter value=18> </td> </tr> <tr> <td> RPM Value </td> <td> <input type=text name=rpm value=2000> </td> </tr> <tr> <td colspan=2> <input type=button value="Calculate Top Speed" onClick="calculate()"> </td> </tr> <tr> <td> Top Speed with no Weight </td> <td> <input type=text name=topSpeed> </td> </tr> </table> </form> <!-- Script Size: 1.66 KB -->