GnitGnit
ContestsProblemsBlogSubmit a ProblemMy PageSign In

© 2026 Gnit. All rights reserved.

Terms of ServicePrivacy PolicyThird-Party SoftwareContactOfficial X
Contests/Gnit Weekly Challenge Beginner 003 (GWCB003)/Problem 3 The frequencies of two sound waves compared using the scale on the screen
Problem 3

The frequencies of two sound waves compared using the scale on the screen

Finished
300 ptsLv.3 ElementaryWaves
2026/07/08 21:00〜2026/07/08 21:30
Author: admin02

Problem Statement

Two different sounds were generated in a laboratory, and the sound waves from each were captured by a microphone and displayed on a computer screen. The screen was marked with vertical grid lines at equal intervals, and the time represented by one grid square was the same for both waves.

When the first sound wave was displayed on the screen, it was found that the length of one cycle of the wave (from one peak to the next) corresponded exactly to N1N_1N1​ grid squares on the screen. Let the frequency of this sound wave be f1f_1f1​. Next, when the second sound wave was displayed on the screen, it was found that the length of one cycle of the wave corresponded exactly to N2N_2N2​ grid squares on the screen. Let the frequency of this sound wave be f2f_2f2​.

The unit of frequency fff is hertz (Hz\mathrm{Hz}Hz), and the relationship between frequency and period (the time taken for one cycle) TTT is given by f=1Tf = \frac{1}{T}f=T1​.

Find the difference between the frequencies of the two sound waves (f2−f1f_2 - f_1f2​−f1​), which is the larger frequency minus the smaller one, and determine the natural number that conforms to the following input format.

Constraints

  • Time represented by one unit on the screen: Δt=0.00100 s\Delta t = 0.00100\text{ }\mathrm{s}Δt=0.00100 s
  • Number of grid squares in one period of the first wave: N1=5N_1 = 5N1​=5
  • Number of grid squares in one period of the second wave: N2=2N_2 = 2N2​=2

Input Format

Let AAA be the numerical value of the difference in frequencies f2−f1f_2 - f_1f2​−f1​. Enter the value of AAA as a natural number.

Submit Answer

Please sign in to submit an answer

Sign In

Calculator

0
View Scoreboard
1234
Read Solution Blog