diff --git a/DelG_to_Ki_converter.py b/DelG_to_Ki_converter.py index 12ba0c0..8e408ba 100644 --- a/DelG_to_Ki_converter.py +++ b/DelG_to_Ki_converter.py @@ -3,9 +3,9 @@ import math # This will import math module delg = float(input("What is your DelG in kcal/mol?" )) -Ki_value = math.exp((delg*1000)/(1.9882*298.15)) # this will calculate the dissociation constant from the Gibbs free energy of binding -Ki_value1 = (math.exp((delg*1000)/(1.9882*298.15)))*1000000 # this will calculate the dissociation constant from the Gibbs free energy of binding -Ki_value2 = (math.exp((delg*1000)/(1.9882*298.15)))*1000000000 # this will calculate the dissociation constant from the Gibbs free energy of binding +Ki_value = math.exp((delg*1000)/(1.985*298.15)) # this will calculate the dissociation constant from the Gibbs free energy of binding +Ki_value1 = (math.exp((delg*1000)/(1.985*298.15)))*1000000 # this will calculate the dissociation constant from the Gibbs free energy of binding +Ki_value2 = (math.exp((delg*1000)/(1.985*298.15)))*1000000000 # this will calculate the dissociation constant from the Gibbs free energy of binding print("Ki =", Ki_value, "M") # this will print out the results in M print("Ki =", Ki_value1, "microM") # this will print out the results in microM print("Ki =", Ki_value2, "nM") # this will print out the results in nM