<?php function max_weight($thrust, $surface_gravity) { return $thrust / $surface_gravity; } echo max_weight( 30000, 9.81 ), "\n"; ?>