Time required to meet in equilateral triangle | function to calculate time to meet ; Driver Code
function timeToMeet ( s , v ) { var V = 3 * v / 2 ; var time = s / V ; document . write ( time . toFixed ( 6 ) ) ; } var s = 25 , v = 56 ; timeToMeet ( s , v ) ;