You will write functions for the three standard defect sums: the share of in , the cation vacancies made by a doping, and the fraction of Schottky pairs from two densities.
The idea. In , per formula unit. One ion in a salt makes one vacancy. A Schottky pair removes mass but not volume, so the fraction missing is .
Your tasks.
ferric_share(x) so that it returns the fraction of the iron that is .vacancies(mol_dopant_per_mol) so that it returns the cation vacancies in one mole of salt.xray_density(Z, M, a) in g/cm³, with a in pm.schottky_fraction(measured, Z, M, a).Run your code once to unlock the worked solution.
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…