4 megabytes.
Working:
File size in bytes = sample rate × duration × bytes per sample
File size = 40,000 Hz × 50 s × 2 bytes
File size = 4,000,000 bytes
To convert bytes to megabytes, divide by 1000 twice (or by 1,000,000).
File size = 4,000,000 / 1,000,000 = 4 MB.
The file size of a digital audio file can be calculated using the following formula:
`File Size = Sample Rate × Duration × Sample Resolution`
1. **Identify the given values:**
* Sample Rate = 40,000 Hz
* Duration = 50 seconds
* Sample Resolution = 2 bytes per sample
2. **Calculate the file size in bytes:**
File Size (bytes) = 40,000 × 50 × 2
File Size (bytes) = 2,000,000 × 2
File Size (bytes) = 4,000,000 bytes
3. **Convert the file size from bytes to megabytes (MB):**
For GCSE, it is standard to use the conversion 1 MB = 1,000 KB = 1,000,000 Bytes.
File Size (MB) = 4,000,000 / 1,000,000
File Size (MB) = 4 MB.