use the Hendeson-Hasselbalch equatio. To calculator the pH of a solution at is

A) 0.15 M on C5H5N and 0.10M in C5H5NHCl.
Kb:1.7x10^-9

B) 15.0 g of HF and 25.0g of NaFin 125 ml of a solution.
Ka 3.5x10^-4

What's the problem. Just plug and chug.

pH = pKa + log (base)/(acid)

I guess I am still stuck on problem a. I know I have to calculate Ka from Kb in order to calculate pH. When I do that, I get a pH over 14 which cannot be. What am I doing wrong?

Here is what I would do. Convert Kb to pKb. That is pKb = -logKb = -log 1.7E-9 = 8.77, then

pKa + pKb = pKw. You know pKw and pKb, solve for pKa.

To calculate the pH of a solution using the Henderson-Hasselbalch equation, we need to know the pKa (negative logarithm of the acid dissociation constant), the concentrations of the acid and its conjugate base, and the pH of the solution.

A) Let's calculate the pH of a solution with 0.15 M C5H5N (base) and 0.10 M C5H5NHCl (conjugate acid), given Kb = 1.7x10^-9.
The Henderson-Hasselbalch equation for a base-conjugate acid pair is:
pH = pKa + log ([conjugate acid] / [base])

First, we need to find pKa from Kb using the relationship:
Ka x Kb = Kw (water autoprotolysis constant = 1.0 x 10^-14)
pKa + pKb = pKw = 14
pKb = 14 - pKa
pKb = 14 - log(Kb)

Given Kb = 1.7x10^-9,
pKb = 14 - log(1.7x10^-9)

Next, substitute the values into the Henderson-Hasselbalch equation:
pH = pKa + log ([C5H5NHCl] / [C5H5N])
pH = (14 - log(1.7x10^-9)) + log (0.10 / 0.15)

Now you can use a calculator or software to perform the logarithmic calculations and solve for pH.

B) Let's calculate the pH of a solution containing 15.0 g of HF (acid) and 25.0 g of NaF (conjugate base) in 125 ml of solution. Given Ka = 3.5x10^-4.
To use the Henderson-Hasselbalch equation, we need to convert the masses of HF and NaF to moles.

First, calculate the number of moles:
moles = mass / molar mass

The molar mass of HF can be found in the periodic table, and the molar mass of NaF can be calculated by summing the atomic masses of Na and F.

Next, determine the concentrations of the acid and its conjugate base in the solution:
[H+] = [HF]
[F-] = [NaF]

Now, apply the Henderson-Hasselbalch equation:
pH = pKa + log ([F-] / [HF])
pH = -log(Ka) + log ([NaF] / [HF])

Substitute the values and solve for pH. Remember to convert from ml to L (divide by 1000) to get concentrations in M (moles per liter).

Note: The Henderson-Hasselbalch equation assumes that the concentration of water is constant, which is approximately true for dilute solutions.