// Numbas version: exam_results_page_options {"name": "2.5.1 Task 2", "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 2", "tags": [], "metadata": {"description": "

Find the vertical intercept of 4 lines. Part of HELM book 2.5.1

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

State the vertical intercept of each of the following lines:

", "advice": "

When the line is written in the form $y=ax+b$, the constant $b$ term is the vertical intercept.

", "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": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

(a) $y=\\var{c[0]}x+\\var{c[1]},\\qquad$ vertical intercept = [[0]]

\n

(b) $y=\\var{expression(string(c[2]))}x-\\var{expression(string(c[3]))},\\qquad$ vertical intercept =[[1]]

\n

(c) $y=\\var{c[4]}-\\var{c[5]}x,\\qquad$ vertical intercept =[[2]]

\n

(d) $y=\\var{c[6]}x,\\qquad$ vertical intercept =[[3]]

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

In each case you need to identify the constant term.

"}], "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "(a)", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "c[1]", "maxValue": "c[1]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "(b)", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "-{c[3]}", "maxValue": "-{c[3]}", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "(c)", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{c[4]}", "maxValue": "{c[4]}", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "(d)", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0", "maxValue": "0", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "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/"}]}