Explanation:
how many average length songs will fit into 3 hours and 20 minutes ?
3 hours = 3×60 minutes = 3×60×60 = 3×3600 =
= 10800 seconds
20 minutes = 20×60 = 1200 seconds
the whole flight lasts 10800 + 1200 = 12000 seconds.
the average song is
4 minutes = 4×60 = 240 seconds
and 3 seconds
= 243 seconds
how many songs ?
12000 / 243 = 49.38271605... songs
so, we need to round up to avoid any silent gaps.
if he does not want any repetitions, he needs to put at least 50 songs on his playlist.