From a1b061df785e3e1772c5f7b30fe4e825c21d2401 Mon Sep 17 00:00:00 2001 From: ssd-0ss Date: Fri, 21 Jun 2024 12:02:48 +0530 Subject: [PATCH] Update DelG_to_Ki_converter.py --- DelG_to_Ki_converter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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