// Numbas version: exam_results_page_options {"name": "Simon's copy of Summation notation 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "statement": "

Six adults spent {x1}, {x2}, {x3}, {x4}, {x5} and {x6} euros on lottery tickets last month. Let $y$ denote last month's lottery ticket expenses for an adult.

", "parts": [{"showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "type": "gapfill", "variableReplacements": [], "scripts": {}, "gaps": [{"minValue": "{x1}+{x2}+{x3}+{x4}+{x5}+{x6}", "correctAnswerFraction": false, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "type": "numberentry", "scripts": {}, "showPrecisionHint": false, "allowFractions": false, "marks": "2", "maxValue": "{x1}+{x2}+{x3}+{x4}+{x5}+{x6}"}, {"minValue": "({x1}+{x2}+{x3}+{x4}+{x5}+{x6})^2", "correctAnswerFraction": false, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "type": "numberentry", "scripts": {}, "showPrecisionHint": false, "allowFractions": false, "marks": "2", "maxValue": "({x1}+{x2}+{x3}+{x4}+{x5}+{x6})^2"}, {"minValue": "{x1}^2+{x2}^2+{x3}^2+{x4}^2+{x5}^2+{x6}^2", "correctAnswerFraction": false, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "type": "numberentry", "scripts": {}, "showPrecisionHint": false, "allowFractions": false, "marks": "2", "maxValue": "{x1}^2+{x2}^2+{x3}^2+{x4}^2+{x5}^2+{x6}^2"}], "marks": 0, "prompt": "

Find

\n

$\\sum y = $  [[0]]

\n

$(\\sum y)^2 = $ [[1]]

\n

$\\sum y^2 = $ [[2]]

"}], "variablesTest": {"condition": "", "maxRuns": 100}, "type": "question", "preamble": {"js": "", "css": ""}, "tags": ["rebel", "Rebel", "REBEL", "rebelmaths", "summation"], "functions": {}, "advice": "

The symbol $\\Sigma$ means 'sum of' or 'total'.

\n

\n

$\\sum y  $ means add up the $y$ values.  

\n

$(\\sum y)^2  $  means add up the $y$ values and then square your answer.

\n

$\\sum y^2  $ means square each of the $y$ values then add them up.

\n

", "question_groups": [{"questions": [], "pickingStrategy": "all-ordered", "name": "", "pickQuestions": 0}], "name": "Simon's copy of Summation notation 2", "rulesets": {}, "metadata": {"description": "

Summation Notation

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "showQuestionGroupNames": false, "extensions": [], "ungrouped_variables": ["x2", "x3", "x1", "x6", "x4", "x5"], "variables": {"x6": {"definition": "random(5..20#1)", "description": "", "group": "Ungrouped variables", "templateType": "randrange", "name": "x6"}, "x3": {"definition": "random(2..10#1)", "description": "", "group": "Ungrouped variables", "templateType": "randrange", "name": "x3"}, "x4": {"definition": "random(5..15#1)", "description": "", "group": "Ungrouped variables", "templateType": "randrange", "name": "x4"}, "x1": {"definition": "random(1..30#1)", "description": "", "group": "Ungrouped variables", "templateType": "randrange", "name": "x1"}, "x2": {"definition": "random(10..20#1)", "description": "", "group": "Ungrouped variables", "templateType": "randrange", "name": "x2"}, "x5": {"definition": "random(2..10#1)", "description": "", "group": "Ungrouped variables", "templateType": "randrange", "name": "x5"}}, "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Simon Vaughan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1135/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Simon Vaughan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1135/"}]}