// Numbas version: exam_results_page_options {"name": "SREB Practice Writing Linear Equations v2", "timing": {"allowPause": false, "timeout": {"message": "", "action": "warn"}, "timedwarning": {"message": "", "action": "warn"}}, "duration": 5400, "showQuestionGroupNames": true, "question_groups": [{"name": "Writing and Re-writing Linear Equations", "pickQuestions": 1, "pickingStrategy": "all-ordered", "questions": [{"name": "SREB Write Linear Function given two points", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}], "variablesTest": {"condition": "", "maxRuns": 100}, "preamble": {"css": "", "js": ""}, "variables": {"y1": {"templateType": "anything", "name": "y1", "description": "", "definition": "random(-10..10#0.5)", "group": "Ungrouped variables"}, "gcfABC": {"templateType": "anything", "name": "gcfABC", "description": "", "definition": "gcd(stdA+stdB,stdC)", "group": "Ungrouped variables"}, "x1": {"templateType": "anything", "name": "x1", "description": "", "definition": "random(-10..10#0.5)", "group": "Ungrouped variables"}, "x2": {"templateType": "anything", "name": "x2", "description": "", "definition": "random(-10..10#0.5 except x1)", "group": "Ungrouped variables"}, "stdB": {"templateType": "anything", "name": "stdB", "description": "", "definition": "-mFrac[1]*bFrac[1]*sign(m)", "group": "Ungrouped variables"}, "b": {"templateType": "anything", "name": "b", "description": "", "definition": "y1-m*x1", "group": "Ungrouped variables"}, "stdA": {"templateType": "anything", "name": "stdA", "description": "", "definition": "mFrac[0]*bFrac[1]*sign(m)", "group": "Ungrouped variables"}, "y2": {"templateType": "anything", "name": "y2", "description": "", "definition": "random(-10..10#0.5)", "group": "Ungrouped variables"}, "mFrac": {"templateType": "anything", "name": "mFrac", "description": "", "definition": "rational_approximation(m)", "group": "Ungrouped variables"}, "bFrac": {"templateType": "anything", "name": "bFrac", "description": "", "definition": "rational_approximation(b)", "group": "Ungrouped variables"}, "stdC": {"templateType": "anything", "name": "stdC", "description": "", "definition": "-bFrac[0]*mFrac[1]*sign(m)", "group": "Ungrouped variables"}, "m": {"templateType": "anything", "name": "m", "description": "", "definition": "(y2-y1)/(x2-x1)", "group": "Ungrouped variables"}}, "tags": [], "functions": {}, "variable_groups": [], "statement": "

Write the equation of the line and express it in its various forms.

\n

GIVEN:  The line passes through $(\\var{x1}, \\var{y1})$ and $(\\var{x2}, \\var{y2})$

", "ungrouped_variables": ["x1", "y2", "x2", "y1", "m", "b", "mFrac", "bFrac", "stdA", "stdB", "stdC", "gcfABC"], "rulesets": {}, "advice": "", "metadata": {"licence": "None specified", "description": ""}, "parts": [{"marks": 0, "showFeedbackIcon": true, "prompt": "

Slope-Intercept Form: (Enter your slope and y-intercept as reduced fractions)

\n

$f(x) = $[[0]]$x +$[[1]]

", "type": "gapfill", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "unitTests": [], "gaps": [{"marks": 1, "showFeedbackIcon": true, "mustBeReduced": true, "correctAnswerFraction": true, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "allowFractions": true, "unitTests": [], "scripts": {}, "maxValue": "mFrac[0]/mFrac[1]", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "minValue": "mFrac[0]/mFrac[1]", "customMarkingAlgorithm": "", "mustBeReducedPC": "90"}, {"marks": 1, "showFeedbackIcon": true, "mustBeReduced": true, "correctAnswerFraction": true, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "allowFractions": true, "unitTests": [], "scripts": {}, "maxValue": "bFrac[0]/bFrac[1]", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "minValue": "bFrac[0]/bFrac[1]", "customMarkingAlgorithm": "", "mustBeReducedPC": "90"}], "scripts": {}, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "customMarkingAlgorithm": ""}, {"marks": 0, "showFeedbackIcon": true, "prompt": "

Standard Form: (Ax + By = C where A > 0 and A,B, and C are integers)

\n

[[0]]$x + $[[1]]$y = $[[2]]

", "type": "gapfill", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "unitTests": [], "gaps": [{"marks": 1, "showFeedbackIcon": true, "mustBeReduced": false, "correctAnswerFraction": false, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "scripts": {}, "maxValue": "stdA/gcfabc", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "minValue": "stdA/gcfabc", "customMarkingAlgorithm": "", "mustBeReducedPC": 0}, {"marks": 1, "showFeedbackIcon": true, "mustBeReduced": false, "correctAnswerFraction": false, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "scripts": {}, "maxValue": "stdB/gcfabc", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "minValue": "stdB/gcfabc", "customMarkingAlgorithm": "", "mustBeReducedPC": 0}, {"marks": 1, "showFeedbackIcon": true, "mustBeReduced": false, "correctAnswerFraction": false, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "scripts": {}, "maxValue": "stdC/gcfabc", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "minValue": "stdC/gcfabc", "customMarkingAlgorithm": "", "mustBeReducedPC": 0}], "scripts": {}, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "customMarkingAlgorithm": ""}, {"marks": 1, "showFeedbackIcon": true, "prompt": "

What is the x-intercept? (Enter your answer as a reduced fraction)

", "mustBeReduced": true, "correctAnswerFraction": true, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "allowFractions": true, "unitTests": [], "scripts": {}, "maxValue": "-b/m", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "minValue": "-b/m", "mustBeReducedPC": "90"}, {"marks": 1, "showFeedbackIcon": true, "prompt": "

What is the y-intercept? (Enter your answer as a reduced fraction)

", "mustBeReduced": true, "correctAnswerFraction": true, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "allowFractions": true, "unitTests": [], "scripts": {}, "maxValue": "b", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "minValue": "b", "mustBeReducedPC": "90"}], "type": "question"}, {"name": "SREB Write Linear Function given two points", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}], "variablesTest": {"condition": "", "maxRuns": 100}, "preamble": {"css": "", "js": ""}, "variables": {"y1": {"templateType": "anything", "name": "y1", "description": "", "definition": "random(-10..10#0.5)", "group": "Ungrouped variables"}, "gcfABC": {"templateType": "anything", "name": "gcfABC", "description": "", "definition": "gcd(stdA+stdB,stdC)", "group": "Ungrouped variables"}, "x1": {"templateType": "anything", "name": "x1", "description": "", "definition": "random(-10..10#0.5)", "group": "Ungrouped variables"}, "x2": {"templateType": "anything", "name": "x2", "description": "", "definition": "random(-10..10#0.5 except x1)", "group": "Ungrouped variables"}, "stdB": {"templateType": "anything", "name": "stdB", "description": "", "definition": "-mFrac[1]*bFrac[1]*sign(m)", "group": "Ungrouped variables"}, "b": {"templateType": "anything", "name": "b", "description": "", "definition": "y1-m*x1", "group": "Ungrouped variables"}, "stdA": {"templateType": "anything", "name": "stdA", "description": "", "definition": "mFrac[0]*bFrac[1]*sign(m)", "group": "Ungrouped variables"}, "y2": {"templateType": "anything", "name": "y2", "description": "", "definition": "random(-10..10#0.5)", "group": "Ungrouped variables"}, "mFrac": {"templateType": "anything", "name": "mFrac", "description": "", "definition": "rational_approximation(m)", "group": "Ungrouped variables"}, "bFrac": {"templateType": "anything", "name": "bFrac", "description": "", "definition": "rational_approximation(b)", "group": "Ungrouped variables"}, "stdC": {"templateType": "anything", "name": "stdC", "description": "", "definition": "-bFrac[0]*mFrac[1]*sign(m)", "group": "Ungrouped variables"}, "m": {"templateType": "anything", "name": "m", "description": "", "definition": "(y2-y1)/(x2-x1)", "group": "Ungrouped variables"}}, "tags": [], "functions": {}, "variable_groups": [], "statement": "

Write the equation of the line and express it in its various forms.

\n

GIVEN:  The line passes through $(\\var{x1}, \\var{y1})$ and $(\\var{x2}, \\var{y2})$

", "ungrouped_variables": ["x1", "y2", "x2", "y1", "m", "b", "mFrac", "bFrac", "stdA", "stdB", "stdC", "gcfABC"], "rulesets": {}, "advice": "", "metadata": {"licence": "None specified", "description": ""}, "parts": [{"marks": 0, "showFeedbackIcon": true, "prompt": "

Slope-Intercept Form: (Enter your slope and y-intercept as reduced fractions)

\n

$f(x) = $[[0]]$x +$[[1]]

", "type": "gapfill", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "unitTests": [], "gaps": [{"marks": 1, "showFeedbackIcon": true, "mustBeReduced": true, "correctAnswerFraction": true, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "allowFractions": true, "unitTests": [], "scripts": {}, "maxValue": "mFrac[0]/mFrac[1]", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "minValue": "mFrac[0]/mFrac[1]", "customMarkingAlgorithm": "", "mustBeReducedPC": "90"}, {"marks": 1, "showFeedbackIcon": true, "mustBeReduced": true, "correctAnswerFraction": true, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "allowFractions": true, "unitTests": [], "scripts": {}, "maxValue": "bFrac[0]/bFrac[1]", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "minValue": "bFrac[0]/bFrac[1]", "customMarkingAlgorithm": "", "mustBeReducedPC": "90"}], "scripts": {}, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "customMarkingAlgorithm": ""}, {"marks": 0, "showFeedbackIcon": true, "prompt": "

Standard Form: (Ax + By = C where A > 0 and A,B, and C are integers)

\n

[[0]]$x + $[[1]]$y = $[[2]]

", "type": "gapfill", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "unitTests": [], "gaps": [{"marks": 1, "showFeedbackIcon": true, "mustBeReduced": false, "correctAnswerFraction": false, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "scripts": {}, "maxValue": "stdA/gcfabc", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "minValue": "stdA/gcfabc", "customMarkingAlgorithm": "", "mustBeReducedPC": 0}, {"marks": 1, "showFeedbackIcon": true, "mustBeReduced": false, "correctAnswerFraction": false, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "scripts": {}, "maxValue": "stdB/gcfabc", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "minValue": "stdB/gcfabc", "customMarkingAlgorithm": "", "mustBeReducedPC": 0}, {"marks": 1, "showFeedbackIcon": true, "mustBeReduced": false, "correctAnswerFraction": false, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "scripts": {}, "maxValue": "stdC/gcfabc", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "minValue": "stdC/gcfabc", "customMarkingAlgorithm": "", "mustBeReducedPC": 0}], "scripts": {}, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "customMarkingAlgorithm": ""}, {"marks": 1, "showFeedbackIcon": true, "prompt": "

What is the x-intercept? (Enter your answer as a reduced fraction)

", "mustBeReduced": true, "correctAnswerFraction": true, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "allowFractions": true, "unitTests": [], "scripts": {}, "maxValue": "-b/m", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "minValue": "-b/m", "mustBeReducedPC": "90"}, {"marks": 1, "showFeedbackIcon": true, "prompt": "

What is the y-intercept? (Enter your answer as a reduced fraction)

", "mustBeReduced": true, "correctAnswerFraction": true, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "allowFractions": true, "unitTests": [], "scripts": {}, "maxValue": "b", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "minValue": "b", "mustBeReducedPC": "90"}], "type": "question"}, {"name": "SREB Write Linear Function given two points", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}], "variablesTest": {"condition": "", "maxRuns": 100}, "preamble": {"css": "", "js": ""}, "variables": {"y1": {"templateType": "anything", "name": "y1", "description": "", "definition": "random(-10..10#0.5)", "group": "Ungrouped variables"}, "gcfABC": {"templateType": "anything", "name": "gcfABC", "description": "", "definition": "gcd(stdA+stdB,stdC)", "group": "Ungrouped variables"}, "x1": {"templateType": "anything", "name": "x1", "description": "", "definition": "random(-10..10#0.5)", "group": "Ungrouped variables"}, "x2": {"templateType": "anything", "name": "x2", "description": "", "definition": "random(-10..10#0.5 except x1)", "group": "Ungrouped variables"}, "stdB": {"templateType": "anything", "name": "stdB", "description": "", "definition": "-mFrac[1]*bFrac[1]*sign(m)", "group": "Ungrouped variables"}, "b": {"templateType": "anything", "name": "b", "description": "", "definition": "y1-m*x1", "group": "Ungrouped variables"}, "stdA": {"templateType": "anything", "name": "stdA", "description": "", "definition": "mFrac[0]*bFrac[1]*sign(m)", "group": "Ungrouped variables"}, "y2": {"templateType": "anything", "name": "y2", "description": "", "definition": "random(-10..10#0.5)", "group": "Ungrouped variables"}, "mFrac": {"templateType": "anything", "name": "mFrac", "description": "", "definition": "rational_approximation(m)", "group": "Ungrouped variables"}, "bFrac": {"templateType": "anything", "name": "bFrac", "description": "", "definition": "rational_approximation(b)", "group": "Ungrouped variables"}, "stdC": {"templateType": "anything", "name": "stdC", "description": "", "definition": "-bFrac[0]*mFrac[1]*sign(m)", "group": "Ungrouped variables"}, "m": {"templateType": "anything", "name": "m", "description": "", "definition": "(y2-y1)/(x2-x1)", "group": "Ungrouped variables"}}, "tags": [], "functions": {}, "variable_groups": [], "statement": "

Write the equation of the line and express it in its various forms.

\n

GIVEN:  The line passes through $(\\var{x1}, \\var{y1})$ and $(\\var{x2}, \\var{y2})$

", "ungrouped_variables": ["x1", "y2", "x2", "y1", "m", "b", "mFrac", "bFrac", "stdA", "stdB", "stdC", "gcfABC"], "rulesets": {}, "advice": "", "metadata": {"licence": "None specified", "description": ""}, "parts": [{"marks": 0, "showFeedbackIcon": true, "prompt": "

Slope-Intercept Form: (Enter your slope and y-intercept as reduced fractions)

\n

$f(x) = $[[0]]$x +$[[1]]

", "type": "gapfill", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "unitTests": [], "gaps": [{"marks": 1, "showFeedbackIcon": true, "mustBeReduced": true, "correctAnswerFraction": true, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "allowFractions": true, "unitTests": [], "scripts": {}, "maxValue": "mFrac[0]/mFrac[1]", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "minValue": "mFrac[0]/mFrac[1]", "customMarkingAlgorithm": "", "mustBeReducedPC": "90"}, {"marks": 1, "showFeedbackIcon": true, "mustBeReduced": true, "correctAnswerFraction": true, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "allowFractions": true, "unitTests": [], "scripts": {}, "maxValue": "bFrac[0]/bFrac[1]", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "minValue": "bFrac[0]/bFrac[1]", "customMarkingAlgorithm": "", "mustBeReducedPC": "90"}], "scripts": {}, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "customMarkingAlgorithm": ""}, {"marks": 0, "showFeedbackIcon": true, "prompt": "

Standard Form: (Ax + By = C where A > 0 and A,B, and C are integers)

\n

[[0]]$x + $[[1]]$y = $[[2]]

", "type": "gapfill", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "unitTests": [], "gaps": [{"marks": 1, "showFeedbackIcon": true, "mustBeReduced": false, "correctAnswerFraction": false, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "scripts": {}, "maxValue": "stdA/gcfabc", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "minValue": "stdA/gcfabc", "customMarkingAlgorithm": "", "mustBeReducedPC": 0}, {"marks": 1, "showFeedbackIcon": true, "mustBeReduced": false, "correctAnswerFraction": false, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "scripts": {}, "maxValue": "stdB/gcfabc", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "minValue": "stdB/gcfabc", "customMarkingAlgorithm": "", "mustBeReducedPC": 0}, {"marks": 1, "showFeedbackIcon": true, "mustBeReduced": false, "correctAnswerFraction": false, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "scripts": {}, "maxValue": "stdC/gcfabc", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "minValue": "stdC/gcfabc", "customMarkingAlgorithm": "", "mustBeReducedPC": 0}], "scripts": {}, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "customMarkingAlgorithm": ""}, {"marks": 1, "showFeedbackIcon": true, "prompt": "

What is the x-intercept? (Enter your answer as a reduced fraction)

", "mustBeReduced": true, "correctAnswerFraction": true, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "allowFractions": true, "unitTests": [], "scripts": {}, "maxValue": "-b/m", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "minValue": "-b/m", "mustBeReducedPC": "90"}, {"marks": 1, "showFeedbackIcon": true, "prompt": "

What is the y-intercept? (Enter your answer as a reduced fraction)

", "mustBeReduced": true, "correctAnswerFraction": true, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "allowFractions": true, "unitTests": [], "scripts": {}, "maxValue": "b", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "minValue": "b", "mustBeReducedPC": "90"}], "type": "question"}]}, {"name": "Writing Parallel Lines", "pickQuestions": 1, "pickingStrategy": "all-ordered", "questions": [{"name": "SREB Write the equation of a parallel line", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}], "advice": "", "ungrouped_variables": ["mnum", "mden", "b", "xp", "yp", "bpar"], "functions": {}, "statement": "

Write the equation of the line that is parallel to $y =\\simplify{ {{mnum}}/{{mden}}x + {b}}$ and passes through $(\\var{xp}, \\var{yp})$.

", "metadata": {"licence": "None specified", "description": ""}, "parts": [{"showCorrectAnswer": true, "expectedVariableNames": [], "showPreview": true, "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "unitTests": [], "answer": "y={mnum}/{mden}x+{bpar[0]}/{bpar[1]}", "checkingType": "absdiff", "prompt": "

Write your answer iin slope-intercept form.

", "checkVariableNames": false, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "vsetRangePoints": 5, "type": "jme", "failureRate": 1, "marks": 1, "checkingAccuracy": 0.001, "customMarkingAlgorithm": "", "vsetRange": [0, 1], "scripts": {}}], "variables": {"mden": {"templateType": "anything", "name": "mden", "group": "Ungrouped variables", "description": "", "definition": "random(1..10 except 0)"}, "bpar": {"templateType": "anything", "name": "bpar", "group": "Ungrouped variables", "description": "", "definition": "rational_approximation(yp-mnum*xp/mden)"}, "xp": {"templateType": "anything", "name": "xp", "group": "Ungrouped variables", "description": "", "definition": "random(-10..10)"}, "yp": {"templateType": "anything", "name": "yp", "group": "Ungrouped variables", "description": "", "definition": "random(-10..10 except {xp*mnum/mden+b})"}, "mnum": {"templateType": "anything", "name": "mnum", "group": "Ungrouped variables", "description": "", "definition": "random(-10..10 except 0)"}, "b": {"templateType": "anything", "name": "b", "group": "Ungrouped variables", "description": "", "definition": "random(-20..20)"}}, "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "rulesets": {}, "variable_groups": [], "tags": [], "type": "question"}, {"name": "SREB Write the equation of a parallel line", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}], "advice": "", "ungrouped_variables": ["mnum", "mden", "b", "xp", "yp", "bpar"], "functions": {}, "statement": "

Write the equation of the line that is parallel to $y =\\simplify{ {{mnum}}/{{mden}}x + {b}}$ and passes through $(\\var{xp}, \\var{yp})$.

", "metadata": {"licence": "None specified", "description": ""}, "parts": [{"showCorrectAnswer": true, "expectedVariableNames": [], "showPreview": true, "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "unitTests": [], "answer": "y={mnum}/{mden}x+{bpar[0]}/{bpar[1]}", "checkingType": "absdiff", "prompt": "

Write your answer iin slope-intercept form.

", "checkVariableNames": false, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "vsetRangePoints": 5, "type": "jme", "failureRate": 1, "marks": 1, "checkingAccuracy": 0.001, "customMarkingAlgorithm": "", "vsetRange": [0, 1], "scripts": {}}], "variables": {"mden": {"templateType": "anything", "name": "mden", "group": "Ungrouped variables", "description": "", "definition": "random(1..10 except 0)"}, "bpar": {"templateType": "anything", "name": "bpar", "group": "Ungrouped variables", "description": "", "definition": "rational_approximation(yp-mnum*xp/mden)"}, "xp": {"templateType": "anything", "name": "xp", "group": "Ungrouped variables", "description": "", "definition": "random(-10..10)"}, "yp": {"templateType": "anything", "name": "yp", "group": "Ungrouped variables", "description": "", "definition": "random(-10..10 except {xp*mnum/mden+b})"}, "mnum": {"templateType": "anything", "name": "mnum", "group": "Ungrouped variables", "description": "", "definition": "random(-10..10 except 0)"}, "b": {"templateType": "anything", "name": "b", "group": "Ungrouped variables", "description": "", "definition": "random(-20..20)"}}, "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "rulesets": {}, "variable_groups": [], "tags": [], "type": "question"}]}, {"name": "Writing Perpendicular Lines", "pickQuestions": 1, "pickingStrategy": "all-ordered", "questions": [{"name": "SREB Write the equation of a perpendicular line", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}], "metadata": {"description": "", "licence": "None specified"}, "parts": [{"variableReplacements": [], "type": "jme", "scripts": {}, "showCorrectAnswer": true, "vsetRangePoints": 5, "answer": "y=-{mden}/{mnum}x+{bper[0]}/{bper[1]}", "variableReplacementStrategy": "originalfirst", "vsetRange": [0, 1], "checkingAccuracy": 0.001, "marks": 1, "showPreview": true, "unitTests": [], "expectedVariableNames": [], "customMarkingAlgorithm": "", "checkingType": "absdiff", "checkVariableNames": false, "prompt": "

Write your answer iin slope-intercept form.

", "failureRate": 1, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true}], "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["mnum", "mden", "b", "xp", "yp", "bper"], "statement": "

Write the equation of the line that is perpendicular to $y =\\simplify{ {{mnum}}/{{mden}}x + {b}}$ and passes through $(\\var{xp}, \\var{yp})$.

", "advice": "", "rulesets": {}, "tags": [], "variables": {"yp": {"definition": "random(-10..10 except {xp*mnum/mden+b})", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "yp"}, "xp": {"definition": "random(-10..10)", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "xp"}, "b": {"definition": "random(-20..20)", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "b"}, "mden": {"definition": "random(1..10 except 0)", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "mden"}, "bper": {"definition": "rational_approximation(yp+mden*xp/mnum)", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "bper"}, "mnum": {"definition": "random(-10..10 except 0)", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "mnum"}}, "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "type": "question"}, {"name": "SREB Write the equation of a perpendicular line", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}], "metadata": {"description": "", "licence": "None specified"}, "parts": [{"variableReplacements": [], "type": "jme", "scripts": {}, "showCorrectAnswer": true, "vsetRangePoints": 5, "answer": "y=-{mden}/{mnum}x+{bper[0]}/{bper[1]}", "variableReplacementStrategy": "originalfirst", "vsetRange": [0, 1], "checkingAccuracy": 0.001, "marks": 1, "showPreview": true, "unitTests": [], "expectedVariableNames": [], "customMarkingAlgorithm": "", "checkingType": "absdiff", "checkVariableNames": false, "prompt": "

Write your answer iin slope-intercept form.

", "failureRate": 1, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true}], "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["mnum", "mden", "b", "xp", "yp", "bper"], "statement": "

Write the equation of the line that is perpendicular to $y =\\simplify{ {{mnum}}/{{mden}}x + {b}}$ and passes through $(\\var{xp}, \\var{yp})$.

", "advice": "", "rulesets": {}, "tags": [], "variables": {"yp": {"definition": "random(-10..10 except {xp*mnum/mden+b})", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "yp"}, "xp": {"definition": "random(-10..10)", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "xp"}, "b": {"definition": "random(-20..20)", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "b"}, "mden": {"definition": "random(1..10 except 0)", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "mden"}, "bper": {"definition": "rational_approximation(yp+mden*xp/mnum)", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "bper"}, "mnum": {"definition": "random(-10..10 except 0)", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "mnum"}}, "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "type": "question"}, {"name": "SREB Write the equation of a perpendicular line", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}], "metadata": {"description": "", "licence": "None specified"}, "parts": [{"variableReplacements": [], "type": "jme", "scripts": {}, "showCorrectAnswer": true, "vsetRangePoints": 5, "answer": "y=-{mden}/{mnum}x+{bper[0]}/{bper[1]}", "variableReplacementStrategy": "originalfirst", "vsetRange": [0, 1], "checkingAccuracy": 0.001, "marks": 1, "showPreview": true, "unitTests": [], "expectedVariableNames": [], "customMarkingAlgorithm": "", "checkingType": "absdiff", "checkVariableNames": false, "prompt": "

Write your answer iin slope-intercept form.

", "failureRate": 1, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true}], "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["mnum", "mden", "b", "xp", "yp", "bper"], "statement": "

Write the equation of the line that is perpendicular to $y =\\simplify{ {{mnum}}/{{mden}}x + {b}}$ and passes through $(\\var{xp}, \\var{yp})$.

", "advice": "", "rulesets": {}, "tags": [], "variables": {"yp": {"definition": "random(-10..10 except {xp*mnum/mden+b})", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "yp"}, "xp": {"definition": "random(-10..10)", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "xp"}, "b": {"definition": "random(-20..20)", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "b"}, "mden": {"definition": "random(1..10 except 0)", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "mden"}, "bper": {"definition": "rational_approximation(yp+mden*xp/mnum)", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "bper"}, "mnum": {"definition": "random(-10..10 except 0)", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "mnum"}}, "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "type": "question"}]}, {"name": "Working from a Graph", "pickQuestions": 1, "pickingStrategy": "all-ordered", "questions": [{"name": "SREB Write the equation of the line parallel to from a graph", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}], "functions": {}, "ungrouped_variables": ["a", "b", "c", "mpar", "bgiven", "cx", "bpar", "defs"], "statement": "

Write the equation of the line parallel to line given and passing through point C.

\n

{geogebra_applet('https://www.geogebra.org/m/xkvw6qtz', defs)}

", "preamble": {"js": "", "css": ""}, "tags": [], "advice": "", "variables": {"c": {"group": "Ungrouped variables", "name": "c", "description": "", "definition": "vector(cx, random(-10..10 except mpar[0]*cx/mpar[1]+bgiven))", "templateType": "anything"}, "bgiven": {"group": "Ungrouped variables", "name": "bgiven", "description": "", "definition": "a[1]-mpar[0]*a[0]/mpar[1]", "templateType": "anything"}, "mpar": {"group": "Ungrouped variables", "name": "mpar", "description": "", "definition": "rational_approximation((b[1]-a[1])/(b[0]-a[0]))", "templateType": "anything"}, "cx": {"group": "Ungrouped variables", "name": "cx", "description": "", "definition": "random(-10..10)", "templateType": "anything"}, "bpar": {"group": "Ungrouped variables", "name": "bpar", "description": "", "definition": "rational_approximation(c[1]-mpar[0]*c[0]/mpar[1])", "templateType": "anything"}, "a": {"group": "Ungrouped variables", "name": "a", "description": "", "definition": "vector(random(-6..6), random(-6..6))", "templateType": "anything"}, "b": {"group": "Ungrouped variables", "name": "b", "description": "", "definition": "vector(random(-6..6 except a[0]), random(-6..6 except a[1]))", "templateType": "anything"}, "defs": {"group": "Ungrouped variables", "name": "defs", "description": "", "definition": "[\n ['A',a],\n ['B',b],\n ['C',c] \n]", "templateType": "anything"}}, "rulesets": {}, "parts": [{"checkingType": "absdiff", "customMarkingAlgorithm": "", "checkVariableNames": false, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "answer": "y={mpar[0]}/{mpar[1]}*x+{bpar[0]}/{bpar[1]}", "scripts": {}, "type": "jme", "vsetRange": [0, 1], "failureRate": 1, "showPreview": true, "checkingAccuracy": 0.001, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "vsetRangePoints": 5, "prompt": "

Write your equation in slope-intercept form:

", "unitTests": [], "marks": 1, "expectedVariableNames": []}], "metadata": {"description": "", "licence": "None specified"}, "variable_groups": [], "variablesTest": {"condition": "", "maxRuns": 100}, "type": "question"}, {"name": "SREB Write the equation of the line parallel to from a graph", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}], "functions": {}, "ungrouped_variables": ["a", "b", "c", "mpar", "bgiven", "cx", "bpar", "defs"], "statement": "

Write the equation of the line parallel to line given and passing through point C.

\n

{geogebra_applet('https://www.geogebra.org/m/xkvw6qtz', defs)}

", "preamble": {"js": "", "css": ""}, "tags": [], "advice": "", "variables": {"c": {"group": "Ungrouped variables", "name": "c", "description": "", "definition": "vector(cx, random(-10..10 except mpar[0]*cx/mpar[1]+bgiven))", "templateType": "anything"}, "bgiven": {"group": "Ungrouped variables", "name": "bgiven", "description": "", "definition": "a[1]-mpar[0]*a[0]/mpar[1]", "templateType": "anything"}, "mpar": {"group": "Ungrouped variables", "name": "mpar", "description": "", "definition": "rational_approximation((b[1]-a[1])/(b[0]-a[0]))", "templateType": "anything"}, "cx": {"group": "Ungrouped variables", "name": "cx", "description": "", "definition": "random(-10..10)", "templateType": "anything"}, "bpar": {"group": "Ungrouped variables", "name": "bpar", "description": "", "definition": "rational_approximation(c[1]-mpar[0]*c[0]/mpar[1])", "templateType": "anything"}, "a": {"group": "Ungrouped variables", "name": "a", "description": "", "definition": "vector(random(-6..6), random(-6..6))", "templateType": "anything"}, "b": {"group": "Ungrouped variables", "name": "b", "description": "", "definition": "vector(random(-6..6 except a[0]), random(-6..6 except a[1]))", "templateType": "anything"}, "defs": {"group": "Ungrouped variables", "name": "defs", "description": "", "definition": "[\n ['A',a],\n ['B',b],\n ['C',c] \n]", "templateType": "anything"}}, "rulesets": {}, "parts": [{"checkingType": "absdiff", "customMarkingAlgorithm": "", "checkVariableNames": false, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "answer": "y={mpar[0]}/{mpar[1]}*x+{bpar[0]}/{bpar[1]}", "scripts": {}, "type": "jme", "vsetRange": [0, 1], "failureRate": 1, "showPreview": true, "checkingAccuracy": 0.001, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "vsetRangePoints": 5, "prompt": "

Write your equation in slope-intercept form:

", "unitTests": [], "marks": 1, "expectedVariableNames": []}], "metadata": {"description": "", "licence": "None specified"}, "variable_groups": [], "variablesTest": {"condition": "", "maxRuns": 100}, "type": "question"}, {"name": "SREB Write the equation of the line perpendicular to from a graph", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}], "variablesTest": {"maxRuns": 100, "condition": ""}, "functions": {}, "tags": [], "parts": [{"showCorrectAnswer": true, "failureRate": 1, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "checkVariableNames": false, "variableReplacements": [], "expectedVariableNames": [], "extendBaseMarkingAlgorithm": true, "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "prompt": "

Write your equation in slope-intercept form:

", "type": "jme", "scripts": {}, "vsetRange": [0, 1], "vsetRangePoints": 5, "marks": 1, "unitTests": [], "answer": "y={mper[0]}/{mper[1]}*x+{bper[0]}/{bper[1]}"}], "rulesets": {}, "variable_groups": [], "statement": "

Write the equation of the line perpendicular to the line given and passing through point C.

\n

{geogebra_applet('https://www.geogebra.org/m/xkvw6qtz', defs)}

", "advice": "", "variables": {"bper": {"group": "Ungrouped variables", "description": "", "name": "bper", "templateType": "anything", "definition": "rational_approximation(c[1]-mper[0]*c[0]/mper[1])"}, "a": {"group": "Ungrouped variables", "description": "", "name": "a", "templateType": "anything", "definition": "vector(random(-6..6), random(-6..6))"}, "mper": {"group": "Ungrouped variables", "description": "", "name": "mper", "templateType": "anything", "definition": "rational_approximation(-mpar[1]/mpar[0])"}, "b": {"group": "Ungrouped variables", "description": "", "name": "b", "templateType": "anything", "definition": "vector(random(-6..6 except a[0]), random(-6..6 except a[1]))"}, "defs": {"group": "Ungrouped variables", "description": "", "name": "defs", "templateType": "anything", "definition": "[\n ['A',a],\n ['B',b],\n ['C',c] \n]"}, "c": {"group": "Ungrouped variables", "description": "", "name": "c", "templateType": "anything", "definition": "vector(cx, random(-10..10 except mpar[0]*cx/mpar[1]+bgiven))"}, "mpar": {"group": "Ungrouped variables", "description": "", "name": "mpar", "templateType": "anything", "definition": "rational_approximation((b[1]-a[1])/(b[0]-a[0]))"}, "cx": {"group": "Ungrouped variables", "description": "", "name": "cx", "templateType": "anything", "definition": "random(-10..10)"}, "bgiven": {"group": "Ungrouped variables", "description": "", "name": "bgiven", "templateType": "anything", "definition": "a[1]-mpar[0]*a[0]/mpar[1]"}}, "ungrouped_variables": ["a", "b", "c", "mpar", "bgiven", "cx", "bper", "defs", "mper"], "metadata": {"licence": "None specified", "description": ""}, "preamble": {"css": "", "js": ""}, "type": "question"}, {"name": "SREB Write the equation of the line perpendicular to from a graph", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}], "variablesTest": {"maxRuns": 100, "condition": ""}, "functions": {}, "tags": [], "parts": [{"showCorrectAnswer": true, "failureRate": 1, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "checkVariableNames": false, "variableReplacements": [], "expectedVariableNames": [], "extendBaseMarkingAlgorithm": true, "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "prompt": "

Write your equation in slope-intercept form:

", "type": "jme", "scripts": {}, "vsetRange": [0, 1], "vsetRangePoints": 5, "marks": 1, "unitTests": [], "answer": "y={mper[0]}/{mper[1]}*x+{bper[0]}/{bper[1]}"}], "rulesets": {}, "variable_groups": [], "statement": "

Write the equation of the line perpendicular to the line given and passing through point C.

\n

{geogebra_applet('https://www.geogebra.org/m/xkvw6qtz', defs)}

", "advice": "", "variables": {"bper": {"group": "Ungrouped variables", "description": "", "name": "bper", "templateType": "anything", "definition": "rational_approximation(c[1]-mper[0]*c[0]/mper[1])"}, "a": {"group": "Ungrouped variables", "description": "", "name": "a", "templateType": "anything", "definition": "vector(random(-6..6), random(-6..6))"}, "mper": {"group": "Ungrouped variables", "description": "", "name": "mper", "templateType": "anything", "definition": "rational_approximation(-mpar[1]/mpar[0])"}, "b": {"group": "Ungrouped variables", "description": "", "name": "b", "templateType": "anything", "definition": "vector(random(-6..6 except a[0]), random(-6..6 except a[1]))"}, "defs": {"group": "Ungrouped variables", "description": "", "name": "defs", "templateType": "anything", "definition": "[\n ['A',a],\n ['B',b],\n ['C',c] \n]"}, "c": {"group": "Ungrouped variables", "description": "", "name": "c", "templateType": "anything", "definition": "vector(cx, random(-10..10 except mpar[0]*cx/mpar[1]+bgiven))"}, "mpar": {"group": "Ungrouped variables", "description": "", "name": "mpar", "templateType": "anything", "definition": "rational_approximation((b[1]-a[1])/(b[0]-a[0]))"}, "cx": {"group": "Ungrouped variables", "description": "", "name": "cx", "templateType": "anything", "definition": "random(-10..10)"}, "bgiven": {"group": "Ungrouped variables", "description": "", "name": "bgiven", "templateType": "anything", "definition": "a[1]-mpar[0]*a[0]/mpar[1]"}}, "ungrouped_variables": ["a", "b", "c", "mpar", "bgiven", "cx", "bper", "defs", "mper"], "metadata": {"licence": "None specified", "description": ""}, "preamble": {"css": "", "js": ""}, "type": "question"}, {"name": "SREB Write the equation of the line parallel to from a graph", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}], "functions": {}, "ungrouped_variables": ["a", "b", "c", "mpar", "bgiven", "cx", "bpar", "defs"], "statement": "

Write the equation of the line parallel to line given and passing through point C.

\n

{geogebra_applet('https://www.geogebra.org/m/xkvw6qtz', defs)}

", "preamble": {"js": "", "css": ""}, "tags": [], "advice": "", "variables": {"c": {"group": "Ungrouped variables", "name": "c", "description": "", "definition": "vector(cx, random(-10..10 except mpar[0]*cx/mpar[1]+bgiven))", "templateType": "anything"}, "bgiven": {"group": "Ungrouped variables", "name": "bgiven", "description": "", "definition": "a[1]-mpar[0]*a[0]/mpar[1]", "templateType": "anything"}, "mpar": {"group": "Ungrouped variables", "name": "mpar", "description": "", "definition": "rational_approximation((b[1]-a[1])/(b[0]-a[0]))", "templateType": "anything"}, "cx": {"group": "Ungrouped variables", "name": "cx", "description": "", "definition": "random(-10..10)", "templateType": "anything"}, "bpar": {"group": "Ungrouped variables", "name": "bpar", "description": "", "definition": "rational_approximation(c[1]-mpar[0]*c[0]/mpar[1])", "templateType": "anything"}, "a": {"group": "Ungrouped variables", "name": "a", "description": "", "definition": "vector(random(-6..6), random(-6..6))", "templateType": "anything"}, "b": {"group": "Ungrouped variables", "name": "b", "description": "", "definition": "vector(random(-6..6 except a[0]), random(-6..6 except a[1]))", "templateType": "anything"}, "defs": {"group": "Ungrouped variables", "name": "defs", "description": "", "definition": "[\n ['A',a],\n ['B',b],\n ['C',c] \n]", "templateType": "anything"}}, "rulesets": {}, "parts": [{"checkingType": "absdiff", "customMarkingAlgorithm": "", "checkVariableNames": false, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "answer": "y={mpar[0]}/{mpar[1]}*x+{bpar[0]}/{bpar[1]}", "scripts": {}, "type": "jme", "vsetRange": [0, 1], "failureRate": 1, "showPreview": true, "checkingAccuracy": 0.001, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "vsetRangePoints": 5, "prompt": "

Write your equation in slope-intercept form:

", "unitTests": [], "marks": 1, "expectedVariableNames": []}], "metadata": {"description": "", "licence": "None specified"}, "variable_groups": [], "variablesTest": {"condition": "", "maxRuns": 100}, "type": "question"}, {"name": "SREB Write the equation of the line perpendicular to from a graph", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}], "variablesTest": {"maxRuns": 100, "condition": ""}, "functions": {}, "tags": [], "parts": [{"showCorrectAnswer": true, "failureRate": 1, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "checkVariableNames": false, "variableReplacements": [], "expectedVariableNames": [], "extendBaseMarkingAlgorithm": true, "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "prompt": "

Write your equation in slope-intercept form:

", "type": "jme", "scripts": {}, "vsetRange": [0, 1], "vsetRangePoints": 5, "marks": 1, "unitTests": [], "answer": "y={mper[0]}/{mper[1]}*x+{bper[0]}/{bper[1]}"}], "rulesets": {}, "variable_groups": [], "statement": "

Write the equation of the line perpendicular to the line given and passing through point C.

\n

{geogebra_applet('https://www.geogebra.org/m/xkvw6qtz', defs)}

", "advice": "", "variables": {"bper": {"group": "Ungrouped variables", "description": "", "name": "bper", "templateType": "anything", "definition": "rational_approximation(c[1]-mper[0]*c[0]/mper[1])"}, "a": {"group": "Ungrouped variables", "description": "", "name": "a", "templateType": "anything", "definition": "vector(random(-6..6), random(-6..6))"}, "mper": {"group": "Ungrouped variables", "description": "", "name": "mper", "templateType": "anything", "definition": "rational_approximation(-mpar[1]/mpar[0])"}, "b": {"group": "Ungrouped variables", "description": "", "name": "b", "templateType": "anything", "definition": "vector(random(-6..6 except a[0]), random(-6..6 except a[1]))"}, "defs": {"group": "Ungrouped variables", "description": "", "name": "defs", "templateType": "anything", "definition": "[\n ['A',a],\n ['B',b],\n ['C',c] \n]"}, "c": {"group": "Ungrouped variables", "description": "", "name": "c", "templateType": "anything", "definition": "vector(cx, random(-10..10 except mpar[0]*cx/mpar[1]+bgiven))"}, "mpar": {"group": "Ungrouped variables", "description": "", "name": "mpar", "templateType": "anything", "definition": "rational_approximation((b[1]-a[1])/(b[0]-a[0]))"}, "cx": {"group": "Ungrouped variables", "description": "", "name": "cx", "templateType": "anything", "definition": "random(-10..10)"}, "bgiven": {"group": "Ungrouped variables", "description": "", "name": "bgiven", "templateType": "anything", "definition": "a[1]-mpar[0]*a[0]/mpar[1]"}}, "ungrouped_variables": ["a", "b", "c", "mpar", "bgiven", "cx", "bper", "defs", "mper"], "metadata": {"licence": "None specified", "description": ""}, "preamble": {"css": "", "js": ""}, "type": "question"}, {"name": "SREB Write the equation of the line perpendicular to from a graph", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}], "variablesTest": {"maxRuns": 100, "condition": ""}, "functions": {}, "tags": [], "parts": [{"showCorrectAnswer": true, "failureRate": 1, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "checkVariableNames": false, "variableReplacements": [], "expectedVariableNames": [], "extendBaseMarkingAlgorithm": true, "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "prompt": "

Write your equation in slope-intercept form:

", "type": "jme", "scripts": {}, "vsetRange": [0, 1], "vsetRangePoints": 5, "marks": 1, "unitTests": [], "answer": "y={mper[0]}/{mper[1]}*x+{bper[0]}/{bper[1]}"}], "rulesets": {}, "variable_groups": [], "statement": "

Write the equation of the line perpendicular to the line given and passing through point C.

\n

{geogebra_applet('https://www.geogebra.org/m/xkvw6qtz', defs)}

", "advice": "", "variables": {"bper": {"group": "Ungrouped variables", "description": "", "name": "bper", "templateType": "anything", "definition": "rational_approximation(c[1]-mper[0]*c[0]/mper[1])"}, "a": {"group": "Ungrouped variables", "description": "", "name": "a", "templateType": "anything", "definition": "vector(random(-6..6), random(-6..6))"}, "mper": {"group": "Ungrouped variables", "description": "", "name": "mper", "templateType": "anything", "definition": "rational_approximation(-mpar[1]/mpar[0])"}, "b": {"group": "Ungrouped variables", "description": "", "name": "b", "templateType": "anything", "definition": "vector(random(-6..6 except a[0]), random(-6..6 except a[1]))"}, "defs": {"group": "Ungrouped variables", "description": "", "name": "defs", "templateType": "anything", "definition": "[\n ['A',a],\n ['B',b],\n ['C',c] \n]"}, "c": {"group": "Ungrouped variables", "description": "", "name": "c", "templateType": "anything", "definition": "vector(cx, random(-10..10 except mpar[0]*cx/mpar[1]+bgiven))"}, "mpar": {"group": "Ungrouped variables", "description": "", "name": "mpar", "templateType": "anything", "definition": "rational_approximation((b[1]-a[1])/(b[0]-a[0]))"}, "cx": {"group": "Ungrouped variables", "description": "", "name": "cx", "templateType": "anything", "definition": "random(-10..10)"}, "bgiven": {"group": "Ungrouped variables", "description": "", "name": "bgiven", "templateType": "anything", "definition": "a[1]-mpar[0]*a[0]/mpar[1]"}}, "ungrouped_variables": ["a", "b", "c", "mpar", "bgiven", "cx", "bper", "defs", "mper"], "metadata": {"licence": "None specified", "description": ""}, "preamble": {"css": "", "js": ""}, "type": "question"}]}], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

The assignment will assess your ability to write linear equations, re-write them in various forms, identify intercepts, and write the equations of parallel and perpendicular lines.

"}, "percentPass": "80", "feedback": {"feedbackmessages": [], "showanswerstate": true, "allowrevealanswer": false, "intro": "

You will have 60 minutes to complete this assignment.  Please work carefully and diligently.

", "advicethreshold": 0, "showtotalmark": true, "showactualmark": true}, "navigation": {"preventleave": true, "allowregen": false, "onleave": {"message": "", "action": "warnifunattempted"}, "showresultspage": "oncompletion", "showfrontpage": true, "browse": true, "reverse": true}, "showstudentname": true, "type": "exam", "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}], "extensions": ["geogebra"], "custom_part_types": [], "resources": []}