Php Code for Engine Horsepower

This php programming code is used to find the engine horsepower . You can select the whole php code by clicking the select option and can use it. When you click text, the code will be changed to text format. This php program code will be opened in a new pop up window once you click pop-up from the right corner. You can just copy, paste this php code and use it to find the engine horsepower .

<?php 
  $weight=23;
  $velocity=34; 
  $HP=$weight * pow(($velocity/234),3);
  $HP=round($HP*10000000)/10000000;
  echo sprintf("<br>Weight :".$weight);
  echo sprintf("<br>Velocity :".$velocity);
  echo sprintf("<br>Horse Power (HP) :".$HP);
?>
Other Programming Codes
Online Calculator : Engine Horsepower Calculator
Click on the select code link to copy and paste this free php program code for engine horsepower calculator.

english Calculators and Converters


Sitemap