Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python3
- # ****************************************************************************
- # Inputs: Original Salinity and Final Salinity (both in % solute by weight)
- # Output: Final ABV
- # Produced 2026-06-02
- # Author: Sachin (Chino) Darji, adopted from other code.)
- # Original author: unknown, from 2016-09-24
- # ****************************************************************************
- def salinity2brix(salinity):
- Brix = 1.187*salinity
- return Brix
- OS = int(input('What was your original salinity reading?'))/10 # Original Salinity
- FS = int(input('What is your final salinity reading?'))/10 # Final Salinity
- OE = salinity2brix(OS) # Original Extract (Brix)
- AE = salinity2brix(FS) # Apparent Extract (Brix)
- OG = (OE / (258.6-((OE / 258.2)*227.1))) + 1
- FG = 1.001843 - 0.002318474*OB - 0.000007775*OB*OB - 0.000000034*(OE**3) + 0.00574*AE + 0.00003344*(AE**2) + 0.000000086*(AE**3)
- abv = (OG - FG) *131.25100
- print("your ABV is ~", abv)
- print("Your original extract (Brix) was: ", OE,"\nGiving an original gravity of ", OG, "\nYour apparent extract (Brix) was: ", AE, "\nGiving a final Gravity of ", FG)
Advertisement
Comments
-
- ⭐ Changelly Profit Exploit Documentation ⭐
- https://docs.google.com/document/d/1MzFoZVdCI0pv3Bkf4dAe-WjfaXKLNbI90hzSGKBqn9M/edit?usp=jiqmvpaxye
- This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
- The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader.
- Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment