Find the distance covered to collect items at equal distances | function to calculate the distance ; Driver program
< ? php function find_distance ( $ n ) { return $ n * ( ( 3 * $ n ) + 7 ) ; } $ n = 5 ; echo " Distance = " ? >