Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using a sound level meter, the noise emanated from 10 Proton X50 at different frequency levels are measured and shown in Table-1. (a) (b) Write
Using a sound level meter, the noise emanated from 10 Proton X50 at different frequency levels are measured and shown in Table-1. (a) (b) Write a program in C to write the data into a binary file named proton.txt. Write a program that reads the data from the file proton.txt and find the car that emanates the minimum noise at 100Hz. Also write a program that reads the data from the file proton.txt and find the cars whose noise level is less than 60 dB at 400 Hz. Table-1 Car Noise Level (dB) Vehicle Number 50Hz 100Hz 200Hz 400Hz 800Hz AKU4444 52.4 55.7 63.1 60.3 63.5 BKT9876 51.5 46.3 49.6 50.3 48.4 CBU5971 56.3 61.2 60.3 59.7 58.1 CKD2813 57.9 58.6 63.2 65.3 64.9 DEL8690 53.0 59.2 60.5 62.4 63.1 JAP7561 51.2 52.4 54.7 58.3 60.9 KUL9781 55.8 58.1 59.6 61.8 62.5 MMA 1985 49.1 48.2 50.5 53.7 57.8 PPP8668 43.6 44.8 48.4 47.1 50.8 RAA6767 58.7 56.9 58.1 60.5 62.3
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started