You will write three small functions of valence bond theory. One counts the unpaired electrons of a free ion. One turns a count into the spin-only moment. One names the hybridisation of an octahedral complex.
The idea. Electrons go into five orbitals one at a time, and then pair up. . A strong ligand with six or fewer d electrons frees two 3d orbitals and gives .
Your tasks.
unpaired(d_count) so that it returns the unpaired electrons of a free ion: the count itself up to 5, and 10 minus the count after that.moment(n) so that it returns the spin-only moment in BM.hybridisation(d_count, strong) so that it returns "d2sp3" for a strong ligand with six or fewer d electrons, and "sp3d2" otherwise.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…