Skip to content

Instantly share code, notes, and snippets.

@FriesischScott
Last active April 20, 2021 11:16
Show Gist options
  • Save FriesischScott/6760a5548c6ebb0bb4e1e9faf0b85213 to your computer and use it in GitHub Desktop.
Save FriesischScott/6760a5548c6ebb0bb4e1e9faf0b85213 to your computer and use it in GitHub Desktop.
CO2 content of the beer based on the beer temperature and CO2 head pressure
function carbonation(P, T) {
return (P + 1.013) * Math.exp(-10.73797 + (2617.25 / (T + 273.15))) * 10
}
@FriesischScott
Copy link
Author

Very cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment