Published in: PHP
URL: http://reusablecode.blogspot.com/2008/05/tractive-effort.html
Only works for non-compound locomotives. (ie. single cylinder)
<?php /* Copyright (c) 2008, reusablecode.blogspot.com; some rights reserved. This work is licensed under the Creative Commons Attribution License. To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. */ // Calculates the tractive effort of a non-compound steam locomotive. function $tractiveEffort($cylinderDiameter, $stroke, $pressure, $wheelDiameter) { return $cylinderDiameter ^ 2 * $stroke * $pressure * 0.85 / $wheelDiameter; } ?>
You need to login to post a comment.
