Overall Gear Ratio Calculator

[insert_php]
//===============================================
//–Manual Transmission Overall Gear Ratio————————————–
//Manual Transmission Overall Gear Ratio = (tire diameter x rpm) / (340* mph)
if($_POST[‘a’] == “mtogr”)
{
$mtogr_tire_diameter = $_POST[‘mtogr_tire_diameter’];
$mtogr_rpm = $_POST[‘mtogr_rpm’];
$mtogr_mph = $_POST[‘mtogr_mph’];
$mtogr_errors = 0;
if($_POST[‘mtogr_tire_diameter’] == “”) {$mtogr_errors++;}
else { if(!is_numeric($_POST[‘mtogr_tire_diameter’])) {$mtogr_errors++;} }

if($_POST[‘mtogr_rpm’] == “”) {$mtogr_errors++;}
else { if(!is_numeric($_POST[‘mtogr_rpm’])) {$mtogr_errors++;} }

if($_POST[‘mtogr_mph’] == “”) {$mtogr_errors++;}
else { if(!is_numeric($_POST[‘mtogr_mph’])) {$mtogr_errors++;} }

if($mtogr_errors != 0) {$mtogr_error_msg = “Please enter proper values!”;}
else
{
$total_mtogr = ($_POST[‘mtogr_tire_diameter’] * $_POST[‘mtogr_rpm’]) / (340 * $_POST[‘mtogr_mph’]);
$view_total_mtogr = ”   RPM After Shift = “.$total_mtogr;
}
}
//–Automatic Transmission Overall Gear Ratio————————————–
//Automatic Transmission Overall Gear Ratio = (tire diameter x rpm / 335)* mph
if($_POST[‘a’] == “atogr”)
{
$atogr_tire_diameter = $_POST[‘atogr_tire_diameter’];
$atogr_rpm = $_POST[‘atogr_rpm’];
$atogr_mph = $_POST[‘atogr_mph’];
$atogr_errors = 0;
if($_POST[‘atogr_tire_diameter’] == “”) {$atogr_errors++;}
else { if(!is_numeric($_POST[‘atogr_tire_diameter’])) {$atogr_errors++;} }

if($_POST[‘atogr_rpm’] == “”) {$atogr_errors++;}
else { if(!is_numeric($_POST[‘atogr_rpm’])) {$atogr_errors++;} }

if($_POST[‘atogr_mph’] == “”) {$atogr_errors++;}
else { if(!is_numeric($_POST[‘atogr_mph’])) {$atogr_errors++;} }

if($atogr_errors != 0) {$atogr_error_msg = “Please enter proper values!”;}
else
{
$total_atogr = ($_POST[‘atogr_tire_diameter’] * $_POST[‘atogr_rpm’]) / (335 * $_POST[‘atogr_mph’]);
$view_total_atogr = ”   RPM After Shift = “.$total_atogr;
}
}
//===============================================
$content = ‘



Manual Transmission Overall Gear Ratio
$mtogr_error_msg
Tire Diameter:
RPM:
MPH:
$view_total_mtogr



Automatic Transmission Overall Gear Ratio
$atogr_error_msg
Tire Diameter:
RPM:
MPH:
$view_total_atogr

 

‘;

$content = addslashes($content);
$content = “\$result=\””.$content.”\”;”;
eval($content);
print stripslashes($result);
[/insert_php]

How to Guides

View All >
Roush Gives the 2024 Ford F-150 Visual and Performance Overhaul
Slideshow: Roush never disappoints when it comes to their takes on Ford vehicles.
Read It
Ford F-150 Lightning Purchase Turns Into a Nightmare for Owner
Slideshow: Luckily, the automaker was willing to help.
Read It
Top 10 WORST Excuses to NOT Buy a Ford Truck!
Slideshow: Ten worst excuses for not buying a Ford truck or SUV.
Read It
5 Reasons Why the Ford Bronco Is Experiencing a Sales Slump
Slideshow: For two straight quarters now.
Read It

All times are GMT -5. The time now is 09:51 AM.