// Numbas version: finer_feedback_settings {"name": "Ida's copy of Equations of straight lines MCQ", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": [], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Match up equations with the corresponding lines on a graph.

"}, "advice": "

All but one of the straight lines above follow the general formula $y=mx+c$ where $m$ is a constant denoting the gradient of a line and $c$ is a constant denting the $y$-intercept of a line. 

\n

The gradient (given by $m$), indicates the slope of a straight line. Where this is positive, the $y$-coordinate along the line increases by $m$ for every increase in the value of $x$ by $1$. For example, $y=3x$ indicates that for every increase in the value of $x$ by $1$, the value of $y$ increases by $3$. Where there is no $m$ (i.e. $y=c$), the line is straight and horizontal as the value of $y$ has no dependence on the value of $x$.

\n

The $y$-intercept (given by $c$), indicates the point where the line passes through the $y$-axis. If the line equation has no $c$ (i.e. $y=mx$), the line has a $y$ intercept of $0$ (passing through the origin).

\n

We can use our knowledge of the slope of the line and the $y$-intercept to then judge which points on the graph correspond to which equations.

\n

A:

\n

$y=\\simplify{{m1}x+{c1}}$  gives us $m=\\var{m1}$ and $c=\\var{c1}$.

\n

B:

\n

$y=\\simplify{{m2}x+{c2}}$  gives us $m=\\var{m2}$ and $c=\\var{c2}$.

\n

C:

\n

$y=\\simplify{{m3}x+{c3}}$  gives us $m=\\var{m3}$ and $c=\\var{c3}$.

\n

D:

\n

$y=\\simplify{{c4}}$  gives us $m=0$ and $c=\\var{c1}$.

\n

E:

\n

$x=\\var{c5}$  is the exception to the $y=mx+c$ form of writing straight line equations. This equation gives a value for $x$ independent of the value of $y$ so a straight, vertical line is formed at the $x$-coordinate $\\var{c5}$.

", "name": "Ida's copy of Equations of straight lines MCQ", "statement": "

Identify the equations which relate to the different functions displayed on the graph bellow.

\n

{geogebra_applet('WuavQqEG',[[\"m1\",m1],[\"m2\",m2],[\"m3\",m3],[\"c1\",c1],[\"c2\",c2],[\"c3\",c3],[\"c4\",c4],[\"c5\",c5],[\"f1\",f1],[\"d1\",d1],[\"a1\",a1],[\"b1\",b1]])}

\n

", "ungrouped_variables": [], "functions": {}, "variables": {"a1": {"group": "Point variables(removed)", "definition": "30", "templateType": "anything", "name": "a1", "description": ""}, "c10": {"group": "Point variables(removed)", "definition": "-30/m3", "templateType": "anything", "name": "c10", "description": ""}, "m3": {"group": "Gradient", "definition": "random(-2..-1#0.1)", "templateType": "anything", "name": "m3", "description": ""}, "c3": {"group": "intercept", "definition": "random(1..5)", "templateType": "anything", "name": "c3", "description": ""}, "c1": {"group": "intercept", "definition": "random(-10..-5)", "templateType": "anything", "name": "c1", "description": ""}, "b1": {"group": "Point variables(removed)", "definition": "25", "templateType": "anything", "name": "b1", "description": ""}, "m1": {"group": "Gradient", "definition": "random(1..2#0.1)", "templateType": "anything", "name": "m1", "description": ""}, "c5": {"group": "intercept", "definition": "random(14..17)", "templateType": "anything", "name": "c5", "description": ""}, "f1": {"group": "Point variables(removed)", "definition": "-40", "templateType": "anything", "name": "f1", "description": ""}, "c4": {"group": "intercept", "definition": "random(3..6)", "templateType": "anything", "name": "c4", "description": ""}, "cfake": {"group": "intercept", "definition": "random(-8..-3)", "templateType": "anything", "name": "cfake", "description": ""}, "m2": {"group": "Gradient", "definition": "m1", "templateType": "anything", "name": "m2", "description": ""}, "d1": {"group": "Point variables(removed)", "definition": "60", "templateType": "anything", "name": "d1", "description": ""}, "mfake": {"group": "Gradient", "definition": "random(-4..-1)", "templateType": "anything", "name": "mfake", "description": ""}, "cpar": {"group": "intercept", "definition": "random(500..750)", "templateType": "anything", "name": "cpar", "description": ""}, "c2": {"group": "intercept", "definition": "random(15..20)", "templateType": "anything", "name": "c2", "description": ""}}, "extensions": ["geogebra"], "variablesTest": {"condition": "", "maxRuns": 100}, "preamble": {"js": "", "css": ""}, "rulesets": {}, "parts": [{"scripts": {}, "marks": 0, "variableReplacements": [], "warningType": "none", "matrix": [["1", 0, 0, 0, 0, 0], [0, "1", 0, 0, 0, 0], [0, 0, "1", 0, 0, 0], [0, 0, 0, "1", 0, 0], [0, 0, 0, 0, "1", 0], [0, 0, 0, 0, 0, "1"]], "minMarks": 0, "minAnswers": 0, "maxMarks": 0, "shuffleAnswers": false, "layout": {"type": "all", "expression": ""}, "displayType": "radiogroup", "prompt": "

Use the graph above to match the correct line to each equation.

", "variableReplacementStrategy": "originalfirst", "maxAnswers": 0, "type": "m_n_x", "shuffleChoices": true, "choices": ["

$y=\\simplify{{m1}x+{c1}}$

", "

$y=\\simplify{{m2}x+{c2}}$

", "

$y=\\simplify{{m3}x+{c3}}$

", "

$y=\\var{c4}$

", "

$x=\\var{c5}$

", "

$y=\\simplify{{mfake}x+{cfake}}$

"], "showCorrectAnswer": true, "showFeedbackIcon": true, "answers": ["

$A_0$

", "

$B_0$

", "

$C_0$

", "

$D_0$

", "

$E_0$

", "

None of these

"]}], "variable_groups": [{"name": "Gradient", "variables": ["m1", "m2", "m3", "mfake"]}, {"name": "intercept", "variables": ["c1", "c2", "c3", "c4", "c5", "cfake", "cpar"]}, {"name": "Point variables(removed)", "variables": ["a1", "b1", "c10", "d1", "f1"]}], "type": "question", "contributors": [{"name": "Ida Landg\u00e4rds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2336/"}]}]}], "contributors": [{"name": "Ida Landg\u00e4rds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2336/"}]}