Problem 56623. Acid-Base Chemistry: Which side of the reaction is more favorable?
In an Acid-Base reaction, there is always going to be an acid, a base, a conjugate acid, and a conjugate base. When provided with the pKa values for the acid and the conjugate acid, it is possible to determine which side will exist in a greater concentration, i.e. is more favorable.
To determine which side is more favorable, use the equation:
If the products are favored, then K > 1. If the reactants are favored, the K < 1. If neither side is favored, the K = 1.
Write a function that recieves the pKa values of the acid and conjugate acid, respectively, as an array and outputs which side of the reaction is more favorable. If the reactants are favored, the function should yield "reactants", and vise versa. If the pKa for both the acid and the conjugate acid are equal, the the function should output "neither side is favored"
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers14
Suggested Problems
-
166 Solvers
-
130 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
606 Solvers
-
Vectorize the digits of an Integer
321 Solvers
-
6189 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!