Shift Points Calculator

[insert_php]
//===============================================
//–RPM After Shift————————————–
//rpm after shift = ratio shift into / ratio shift from x rpm before shift
if($_POST[‘a’] == “rpmas”)
{
$rpmas_ratio_shift_into = $_POST[‘rpmas_ratio_shift_into’];
$rpmas_ratio_shift_from = $_POST[‘rpmas_ratio_shift_from’];
$rpmas_rpm_before_shift = $_POST[‘rpmas_rpm_before_shift’];
$rpmas_errors = 0;
if($_POST[‘rpmas_ratio_shift_into’] == “”) {$rpmas_errors++;}
else { if(!is_numeric($_POST[‘rpmas_ratio_shift_into’])) {$rpmas_errors++;} }

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

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

if($rpmas_errors != 0) {$rpmas_error_msg = “Please enter proper values!”;}
else
{
$total_rpmas = $_POST[‘rpmas_ratio_shift_into’] / $_POST[‘rpmas_ratio_shift_from’] * $_POST[‘rpmas_rpm_before_shift’];
$view_total_rpmas = ”   RPM After Shift = “.$total_rpmas;
}
}
//–Drive Shaft Torque————————————–
//drivehsaft torque = flywheel torque x transmission ratio
if($_POST[‘a’] == “dst”)
{
$dst_flywheel_torque = $_POST[‘dst_flywheel_torque’];
$dst_transmission_ratio = $_POST[‘dst_transmission_ratio’];
$dst_errors = 0;
if($_POST[‘dst_flywheel_torque’] == “”) {$dst_errors++;}
else { if(!is_numeric($_POST[‘dst_flywheel_torque’])) {$dst_errors++;} }

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

if($dst_errors != 0) {$dst_error_msg = “Please enter proper values!”;}
else
{
$total_dst = $_POST[‘dst_flywheel_torque’] * $_POST[‘dst_transmission_ratio’];
$view_total_dst = ”   Drive Shaft Torque = “.$total_dst;
}
}
//===============================================
$content = ‘



RPM After Shift
$rpmas_error_msg
Ratio Shift Into:
Ratio Shift From:
RPM Before Shift:
$view_total_rpmas



Drive Shaft Torque
$dst_error_msg
Flywheel Torque:
Transmission Ratio:
$view_total_dst

 

‘;

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

How to Guides

View All >
Top 10 Fords from a Secret Museum You’ve Never Heard Of
Slideshow: Ten of the best Fords on display at a museum you never heard of.
Read It
The Pros & Cons of Ford’s Most Popular F-Series Engines (2.7L, 3.5L, 5.0L, 6.7L, 7.3L)
Slideshow: Pros and cons of the most popular Ford F-series truck engines you can buy today.
Read It
Twin Turbocharged 1971 Ford F-100 Looks Rough, Goes Like Hell
Slideshow: A seriously quick, heavily patina'd vintage hauler.
Read It
This 1986 Ford Bronco Has an F-150 Raptor R Powerplant Underhood
Slideshow: Not exactly something you see every day.
Read It

All times are GMT -5. The time now is 06:13 PM.