Question
Two chemists at a local brewery are having a dispute over some measurements. The most recent batches of beer are done brewing and they have
Two chemists at a local brewery are having a dispute over some measurements. The most recent batches of beer are done brewing and they have collected some data to determine the final alcohol content of the different beers. However, their calculations don't agree with one another.
Using the measurements that they took for the specific gravity (SG) of the beers before and after they were done brewing, calculate the alcohol by volume for each beer, round it to 3 decimal places, and use this to determine which chemist was correct in their analysis. In order to determine who was right, print the real value and the value that each chemist claimed was correct. Then in the markdown cell below, explain which chemist was right for each beer. If neither are correct, you should also indicate that!
In order to compute the ABV, you will need to use the following formula:
All of the data are stored in the dictionary below called beers. Make sure your code includes the correct print statements and that you explain who was right in the Markdown cell!
beers = {"chemist 1": [5.264, 3.983, 4.101, 7.216, 2.313, 4.876, 2.255, 8.991, 5.537, 4.251], "chemist 2": [5.211, 3.008, 4.117, 3.843, 5.168, 5.511, 3.110, 8.903, 5.538, 4.255], "SG": [1.050, 1.031, 1.077, 1.032, 1.042, 1.055, 1.019, 1.089, 1.100, 1.032], "FG": [1.010, 1.001, 1.044, 1.003, 1.003, 1.013, 1.002, 1.020, 1.056, 1.000]}
Gfinal) 100 SGfinal SGstart 0.79
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