The speed of sound in air grows with the temperature: , with in . You will make the program find the speed at six temperatures, the time for sound to cross on the hottest day, and the first temperature on the list at which sound goes faster than . Then it draws the speed against the temperature.
Your tasks.
v, the speed of sound at the temperature T, in m/s.t_hot, the time for sound to travel at the last (hottest) temperature, in seconds.first, the first temperature on the list where the speed is more than .Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…