// Numbas version: exam_results_page_options {"name": "Calculate Empirical Mass Required for Given Number of Moles and Atomic Mass", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Calculate Empirical Mass Required for Given Number of Moles and Atomic Mass", "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "
Calculate the number of grams of {chemical_formula_compositions[chemical_formula_names[index]][\"symbolic_form\"]} required to comprise {mole_number} {mole_text[mole_number]}.
\nUse the atomic masses as given in the following table:
\n\n | m/z | \n
{atomic_mass_dictionary[chemical_formula_compositions[chemical_formula_names[index]][\"elements_involved\"][0]][\"symbol\"]} | \n{atomic_mass_dictionary[chemical_formula_compositions[chemical_formula_names[index]][\"elements_involved\"][0]][\"mass\"]} | \n
{atomic_mass_dictionary[chemical_formula_compositions[chemical_formula_names[index]][\"elements_involved\"][1]][\"symbol\"]} | \n{atomic_mass_dictionary[chemical_formula_compositions[chemical_formula_names[index]][\"elements_involved\"][1]][\"mass\"]} | \n
Recall that one mole of a substance, whose (average) atomic molecular mass is $X$, has an empirical mass of $X$g.
\nOne molecule of {chemical_formula_compositions[chemical_formula_names[index]][\"symbolic_form\"]} contains {chemical_formula_compositions[chemical_formula_names[index]][\"frequencies\"][0]} {atom_text[chemical_formula_compositions[chemical_formula_names[index]][\"frequencies\"][0]]} of {chemical_formula_compositions[chemical_formula_names[index]][\"elements_involved\"][0]} and {chemical_formula_compositions[chemical_formula_names[index]][\"frequencies\"][1]} {atom_text[chemical_formula_compositions[chemical_formula_names[index]][\"frequencies\"][1]]} of {chemical_formula_compositions[chemical_formula_names[index]][\"elements_involved\"][1]}, thus, based upon the above table, we have an overall atomic molecular mass of {chemical_formula_compositions[chemical_formula_names[index]][\"frequencies\"][0]} × {atomic_mass_dictionary[chemical_formula_compositions[chemical_formula_names[index]][\"elements_involved\"][0]][\"mass\"]} + {chemical_formula_compositions[chemical_formula_names[index]][\"frequencies\"][1]} × {atomic_mass_dictionary[chemical_formula_compositions[chemical_formula_names[index]][\"elements_involved\"][1]][\"mass\"]} = {chemical_formula_compositions[chemical_formula_names[index]][\"mass\"]}.
\nHence, one mole of {chemical_formula_compositions[chemical_formula_names[index]][\"symbolic_form\"]} itself weighs {chemical_formula_compositions[chemical_formula_names[index]][\"mass\"]}g, and so, {mole_number} {mole_text[mole_number]} of {chemical_formula_compositions[chemical_formula_names[index]][\"symbolic_form\"]} must weigh {mole_number} × {chemical_formula_compositions[chemical_formula_names[index]][\"mass\"]} = {ans}g.
", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"index": {"name": "index", "group": "Ungrouped variables", "definition": "random(0..9)", "description": "", "templateType": "anything", "can_override": false}, "mole_number": {"name": "mole_number", "group": "Ungrouped variables", "definition": "random(1..20)", "description": "", "templateType": "anything", "can_override": false}, "chemical_formula_names": {"name": "chemical_formula_names", "group": "Ungrouped variables", "definition": "[\"H2O\", \"H2O2\", \"MgO\", \"ZnO\", \"Al2O3\", \"SnO2\", \"C5H12\", \"C6H14\", \"C7H16\", \"C8H18\"]", "description": "", "templateType": "anything", "can_override": false}, "chemical_formula_compositions": {"name": "chemical_formula_compositions", "group": "Ungrouped variables", "definition": "[\"H2O\": [\"elements_involved\": [\"hydrogen\", \"oxygen\"], \"symbolic_form\": \"H$_2$O\", \"frequencies\": [2, 1], \"mass\": 18], \"H2O2\": [\"elements_involved\": [\"hydrogen\", \"oxygen\"], \"symbolic_form\": \"H$_2$O$_2$\", \"frequencies\": [2, 2], \"mass\": 34], \"MgO\": [\"elements_involved\": [\"magnesium\", \"oxygen\"], \"symbolic_form\": \"MgO\", \"frequencies\": [1, 1], \"mass\": 40], \"ZnO\": [\"elements_involved\": [\"zinc\", \"oxygen\"], \"symbolic_form\": \"ZnO\", \"frequencies\": [1, 1], \"mass\": 80], \"Al2O3\": [\"elements_involved\": [\"aluminium\", \"oxygen\"], \"symbolic_form\": \"Al$_2$O$_3$\", \"frequencies\": [2, 3], \"mass\": 102], \"SnO2\": [\"elements_involved\": [\"tin\", \"oxygen\"], \"symbolic_form\": \"SnO$_2$\", \"frequencies\": [1, 2], \"mass\": 152], \"C5H12\": [\"elements_involved\": [\"carbon\", \"hydrogen\"], \"symbolic_form\": \"H$_3$C(CH$_2$)$_3$CH$_3$\", \"frequencies\": [5, 12], \"mass\": 72], \"C6H14\": [\"elements_involved\": [\"carbon\", \"hydrogen\"], \"symbolic_form\": \"H$_3$C(CH$_2$)$_4$CH$_3$\", \"frequencies\": [6, 14], \"mass\": 86], \"C7H16\": [\"elements_involved\": [\"carbon\", \"hydrogen\"], \"symbolic_form\": \"H$_3$C(CH$_2$)$_5$CH$_3$\", \"frequencies\": [7, 16], \"mass\": 100], \"C8H18\": [\"elements_involved\": [\"carbon\", \"hydrogen\"], \"symbolic_form\": \"H$_3$C(CH$_2$)$_6$CH$_3$\", \"frequencies\": [8, 18], \"mass\": 114]]", "description": "", "templateType": "anything", "can_override": false}, "atomic_mass_dictionary": {"name": "atomic_mass_dictionary", "group": "Ungrouped variables", "definition": "[\"hydrogen\": [\"symbol\": \"H\", \"mass\": 1], \"oxygen\": [\"symbol\": \"O\", \"mass\": 16], \"magnesium\": [\"symbol\": \"Mg\", \"mass\": 24], \"zinc\": [\"symbol\": \"Zn\", \"mass\": 64], \"aluminium\": [\"symbol\": \"Al\", \"mass\": 27], \"tin\": [\"symbol\": \"Sn\", \"mass\": 120], \"carbon\": [\"symbol\": \"C\", \"mass\": 12]]", "description": "", "templateType": "anything", "can_override": false}, "ans": {"name": "ans", "group": "Ungrouped variables", "definition": "{mole_number} * {chemical_formula_compositions}[{chemical_formula_names}[{index}]][\"mass\"]", "description": "", "templateType": "anything", "can_override": false}, "atom_text": {"name": "atom_text", "group": "Ungrouped variables", "definition": "[\"atoms\", \"atom\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\", \"atoms\"]", "description": "", "templateType": "anything", "can_override": false}, "mole_text": {"name": "mole_text", "group": "Ungrouped variables", "definition": "[\"moles\", \"mole\", \"moles\", \"moles\", \"moles\", \"moles\", \"moles\", \"moles\", \"moles\", \"moles\", \"moles\", \"moles\", \"moles\", \"moles\", \"moles\", \"moles\", \"moles\", \"moles\", \"moles\", \"moles\", \"moles\"]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["index", "mole_number", "chemical_formula_names", "chemical_formula_compositions", "atomic_mass_dictionary", "ans", "atom_text", "mole_text"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": true, "customName": "Answer", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "ans", "maxValue": "ans", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}, {"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}, {"name": "Daniel Miles", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18158/"}]}]}], "contributors": [{"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}, {"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}, {"name": "Daniel Miles", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18158/"}]}