You will write functions for the calculations of electrolysis. One finds the moles of electrons, one the mass deposited and one the time needed. The checker tests them with new numbers.
The idea. , the moles of electrons are , and the mass is . When the time is the unknown, .
Your tasks.
moles_of_electrons(current, seconds) so that it returns the moles of electrons.mass_deposited(molar_mass, z, current, seconds) so that it returns the mass in grams.time_needed(molar_mass, z, current, grams) so that it returns the time in seconds.current_efficiency(actual, expected) so that it returns the percentage.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…