// Numbas version: exam_results_page_options {"name": "Molecular Weights", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Calculating molecular weights.

"}, "extensions": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"h_1": {"description": "", "name": "h_1", "definition": "random(1..12)", "group": "Ungrouped variables", "templateType": "anything"}, "ca": {"description": "

Standard atomic weight of calcium

", "name": "ca", "definition": "40.078", "group": "Ungrouped variables", "templateType": "anything"}, "o_1": {"description": "", "name": "o_1", "definition": "random(1..12)", "group": "Ungrouped variables", "templateType": "anything"}, "Molecule_weights": {"description": "", "name": "Molecule_weights", "definition": "[ 19, 12 ]", "group": "Ungrouped variables", "templateType": "list of numbers"}, "h": {"description": "

Standard atomic weight of hydrogen

", "name": "h", "definition": "1.008", "group": "Ungrouped variables", "templateType": "anything"}, "c": {"description": "

Standard atomic weight of carbon

", "name": "c", "definition": "12.011", "group": "Ungrouped variables", "templateType": "anything"}, "o": {"description": "

Standard atomic weight of oxygen

", "name": "o", "definition": "15.999", "group": "Ungrouped variables", "templateType": "anything"}, "Molecule_indices": {"description": "", "name": "Molecule_indices", "definition": "deal(2)", "group": "Ungrouped variables", "templateType": "anything"}, "c_1": {"description": "", "name": "c_1", "definition": "random(1..12)", "group": "Ungrouped variables", "templateType": "anything"}, "p": {"description": "

Standard atomic weight of phosporus

", "name": "p", "definition": "30.974", "group": "Ungrouped variables", "templateType": "anything"}, "Molecule_names": {"description": "", "name": "Molecule_names", "definition": "[ \"H_2O\", \"CO_2\" ]", "group": "Ungrouped variables", "templateType": "list of strings"}}, "preamble": {"js": "", "css": ""}, "variable_groups": [], "name": "Molecular Weights", "statement": "

Calculate the molecular weights of the following molecules. Use the standard atomic weights given below:

\n

Calcium ($Ca$): $\\var{ca}$

\n

Carbon ($C$): $\\var{c}$

\n

Hydrogen ($H$): $\\var{h}$

\n

Oxygen ($O$): $\\var{o}$

\n

Phosporus ($P$): $\\var{p}$

\n

Please enter your answers as decimals, not as fractions. Give your answers to 3 decimal places.

\n

If you would like to see how to do this question, click on 'Reveal answers' at the bottom of the page.

", "tags": ["molecular mass", "Molecular mass", "molecular weight", "Molecular weight", "Relative molecular mass", "RMM"], "ungrouped_variables": ["h_1", "ca", "o_1", "p", "Molecule_weights", "Molecule_indices", "c_1", "h", "o", "c", "Molecule_names"], "parts": [{"correctAnswerStyle": "plain", "showFeedbackIcon": true, "prompt": "

Water - $H_2O$.

", "variableReplacements": [], "showCorrectAnswer": true, "mustBeReduced": false, "maxValue": "2*h+o+0.0005", "allowFractions": false, "type": "numberentry", "correctAnswerFraction": false, "minValue": "2*h+o-0.0005", "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "marks": 1}, {"correctAnswerStyle": "plain", "showFeedbackIcon": true, "prompt": "

Methane - $CH_4$.

", "variableReplacements": [], "showCorrectAnswer": true, "mustBeReduced": false, "maxValue": "c+4*h+0.0005", "allowFractions": false, "type": "numberentry", "correctAnswerFraction": false, "minValue": "c+4*h-0.0005", "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "marks": 1}, {"correctAnswerStyle": "plain", "showFeedbackIcon": true, "prompt": "

Glucose - $C_6H_{12}O_6$.

", "variableReplacements": [], "showCorrectAnswer": true, "mustBeReduced": false, "maxValue": "6*c+12*h+6*o+0.0005", "allowFractions": false, "type": "numberentry", "correctAnswerFraction": false, "minValue": "6*c+12*h+6*o-0.0005", "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "marks": 1}, {"correctAnswerStyle": "plain", "showFeedbackIcon": true, "prompt": "

Calcium Phosphate - $Ca_3(PO_4)_2$.

", "variableReplacements": [], "showCorrectAnswer": true, "mustBeReduced": false, "maxValue": "3*ca+2*p+8*o+0.0005", "allowFractions": false, "type": "numberentry", "correctAnswerFraction": false, "minValue": "3*ca+2*p+8*o-0.0005", "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "marks": 1}], "advice": "

a) Water - $H_2O$.

\n

A water molecule has 2 hydrogen atoms ($H$) and 1 oxygen atom ($O$) so the molecular weight is

\n

$2 \\times \\var{h} + \\var{o} = \\var{2 * h + o}$.

\n

\n

b) Methane - $CH_4$.

\n

A methane molecule has 1 carbon atom ($C$) and 4 hydrogen atoms ($H$) so the molecular weight is

\n

$\\var{c} + 4 \\times \\var{h} = \\var{c + 4 * h}$.

\n

\n

c) Glucose - $C_6H_{12}O_6$.

\n

A glucose molecule has 6 carbon atoms ($C$), 12 hydrogen atoms ($H$) and 6 oxygen atoms ($O$) so the molecular weight is 

\n

$6 \\times \\var{c} + 12 \\times \\var{h} + 6 \\times \\var{o} = \\var{6 * c + 12 * h + 6 * o}$.

\n

\n

d) Calcium phospate - $Ca_3(PO_4)_2$.

\n

A calcium phosphate molecule has 3 calcium atoms ($Ca$) and 2 phosphate ions ($PO_4$). We don't need to worry too much about what an ion is here, we just need to know that $(PO_4)_2$ means there are 2 lots of $PO_4$ which means a total of 2 phosporus atoms ($P$) and $4 \\times 2 = 8$ oxygen atoms ($O$). Therefore, the molecular weight is 

\n

$3 \\times \\var{ca} + 2 \\times \\var{p} + 8 \\times \\var{o} = \\var{3 * ca + 2 * p + 8 * o}$.

", "rulesets": {}, "type": "question", "contributors": [{"name": "Jamie Antoun", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/266/"}]}]}], "contributors": [{"name": "Jamie Antoun", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/266/"}]}