Diamond, graphite and fullerene are all carbon, at for every mole of atoms. You will count the atoms in samples of carbon, count the molecules in a sample of , and find the atoms in a small diamond.
The idea. Atoms mass . A molecule of has a molar mass of .
Your tasks.
atoms, return the number of carbon atoms in a mass of carbon, in grams.c60_molecules, return the number of molecules in a mass.ring_atoms, the atoms in a diamond of carat. One carat is .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…