// Numbas version: exam_results_page_options {"name": "2.5.1 Task 1", "extensions": ["jsxgraph"], "custom_part_types": [], "resources": [["question-resources/HELM2_4_1fig24.PNG", "/srv/numbas/media/question-resources/HELM2_4_1fig24.PNG"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "2.5.1 Task 1", "tags": [], "metadata": {"description": "

Describe the effect of changing the value of a constant term in a linear function. Part of HELM Book 2.5.1.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Refer to Example 11. Comment upon the effect of changing the value of the constant term of the linear function.

", "advice": "

As the constant term is varied, the line moves up or down the page always remaining parallel to its initial position.

", "rulesets": {}, "extensions": ["jsxgraph"], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"diagram1": {"name": "diagram1", "group": "Ungrouped variables", "definition": "jessiecode(\n 250,250,[-0.5,29, 6,-2],\n \"\"\"\n A= point(0,3) <> >>;\n B=point(5,23) <> >>;\n \n side_a = line(A,B);\n \n x=text(5.7,-1,\"x\"); // no idea how to get axis labels otherwise...\n y=text(-0.3,28,\"y\");\n \n \"\"\",\n [\n \"axis\": true\n ]\n)", "description": "", "templateType": "anything", "can_override": false}, "diagram2": {"name": "diagram2", "group": "Ungrouped variables", "definition": "jessiecode(\n 250,250,[-3,15, 3,-10],\n \"\"\"\n A= point(0,-3) <>,color:\"black\" >>;\n B=point(2,5) <>,color:\"black\" >>;\n line1 = line(A,B) <>;\n \n C= point(0,0) <>,color:\"blue\" >>;\n D=point(2,8) <>,color:\"blue\" >>;\n line1 = line(C,D) <>;\n \n E= point(0,5) <>,color:\"red\" >>;\n F=point(2,13) <>,color:\"red\" >>;\n line1 = line(E,F) <>;\n \n x=text(2.7,-2,\"x\"); // no idea how to get axis labels otherwise...\n y=text(-0.4,14,\"y\");\n \n \"\"\",\n [\n \"axis\": true\n ]\n)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "[random(1..9),\n random(1..9),\n 1/random(2..9),\n 1/random(2..9),\n random(1..9),\n random(1..9),\n random(-9..9 except 0)\n ]", "description": "

constants for task 2

", "templateType": "anything", "can_override": false}, "diagram3": {"name": "diagram3", "group": "Ungrouped variables", "definition": "jessiecode(\n 250,250,[-3,15, 3,-10],\n \"\"\"\n A= point(0,3) <>,color:\"black\" >>;\n B=point(1,6) <>,color:\"black\" >>;\n line1 = line(A,B) <>;\n \n C= point(0,3) <>,color:\"blue\" >>;\n D=point(1,8) <>,color:\"blue\" >>;\n line1 = line(C,D) <>;\n \n E= point(0,3) <>,color:\"red\" >>;\n F=point(1,1) <>,color:\"red\" >>;\n line1 = line(E,F) <>;\n \n x=text(2.7,-2,\"x\"); // no idea how to get axis labels otherwise...\n y=text(-0.4,14,\"y\");\n \n \"\"\",\n [\n \"axis\": true\n ]\n)", "description": "

Diagram for Example 12

", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "[\n random(2..9),\n random(1..9),\n 1/random(2..9),\n random(1..9),\n random(1..9),\n random(2..9),\n random(1..9)\n ]", "description": "

constants for task 3

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["diagram1", "diagram2", "c", "diagram3", "d"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "patternmatch", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Type your answer into the text box, then click \"show steps\" to see a suitable answer.

", "stepsPenalty": 0, "steps": [{"type": "information", "useCustomName": true, "customName": "A suitable answer", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

As the constant term is varied, the line moves up or down the page always remaining parallel to its initial position.

"}], "answer": ".*", "displayAnswer": "As the constant term is varied, the line moves up or down the page always remaining parallel to its initial position.", "matchMode": "regex"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}]}], "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}