Given an initial gravity of un-fermented wort (OG) and a final gravity of fermented wort (FG), better known as beer, it is possible to get the general ABV (will be a %).
Note: Any wort that gets denser through fermentation will appear to have a negative ABV; in those cases the ABV should be marked as 0. Most brews do not have a lot of room on the label so round to the 2nd decimal place. Assume a constant of 131 is involved (this is why it is only a general ABV).
Example:
x = [OG FG] = [1.085 1.009]
ABV = (OG-FG)*131 = 9.96%
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers77
Suggested Problems
-
Getting the absolute index from a matrix
254 Solvers
-
Find out missing number from a vector of 9 elements
320 Solvers
-
360 Solvers
-
Sum of odd numbers in a matrix
614 Solvers
-
Find out sum of all elements of given Matrix
532 Solvers
More from this Author4
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!