You must have heard about the Body Mass Index (BMI). It is very useful for monitoring a person's health, especially in the cases of obesity and diabetes. You might have already undergone a process to determine your BMI during a routine medical checkup. BMI can also be quite significant in understanding other medical conditions. It is calculated as follows:
So, we divide the person's weight in kilograms by their squared height (in meters).
Now, suppose we have a database of millions of people with a record of their weights, along with their corresponding heights. Through GPU-accelerated computing, we can conveniently deduce the average BMI in a particular region.
Before you try to computationally solve the problem, remember to follow the four steps we discussed earlier for computing the solution.
So, our first dataset...