// Numbas version: exam_results_page_options {"name": "Algebra: substitution 1 - linear", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Algebra: substitution 1 - linear", "tags": [], "metadata": {"description": "

Simple substitution into an algebraic expression. Includes powers, division, mulitplication, brackets.  Includes subscripts.

", "licence": "None specified"}, "statement": "", "advice": "

a)

\n

Rewrite the expression with the substituted values, use brackets to help clarify the seperation of the numbers, and highlight negative values.

\n

$(\\var{a}) + (\\var{b}) - 3 \\times (\\var{c})$

\n

and now put all this in the calculator, as seen,

\n

$(\\var{a}) + (\\var{b}) - 3 \\times (\\var{c}) = \\var{a+b-3*c}$

\n

\n

b)

\n

Rewrite the expression with the substituted values, use brackets to help clarify the seperation of the numbers, and highlight negative values. Remember that algebraically we don't write a multiplication sign, but this is a multiplication, i.e. 

\n

$(\\var{f})^2 \\times [(\\var{d} - (\\var{c})]$

\n

and now put all this in the calculator, as seen,

\n

$(\\var{f})^2 \\times [(\\var{d} - (\\var{c})] = \\var{(f^2)*(d-c)}$

\n

\n

c) 

\n

Rewrite the expression with the substituted values, use brackets to help clarify the seperation of the numbers, and highlight negative values.

\n

$\\frac{[(\\var{g}) + 3 \\times (\\var{h})]^2}{(\\var{g}) \\times (\\var{h})}$

\n

and now put all this in the calculator, as seen,

\n

$\\frac{[(\\var{g}) + 3 \\times (\\var{h})]^2}{(\\var{g}) \\times (\\var{h})} = \\var{((g + 3h)^2)/(g*h)} $

\n

This answer should be rounded 

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(-9.9..-0.1 except 0) ", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-9.9..10 except 0) ", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-9.9..-0.1 except 0) ", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(-9.9..10 except 0) ", "description": "", "templateType": "anything", "can_override": false}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "random(-9.9..10 except 0) ", "description": "", "templateType": "anything", "can_override": false}, "g": {"name": "g", "group": "Ungrouped variables", "definition": "random(-9.9..10 except 0) ", "description": "", "templateType": "anything", "can_override": false}, "h": {"name": "h", "group": "Ungrouped variables", "definition": "random(-9.9..10 except 0) ", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "h"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "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": "

Calculate the value of

\n

$a + b - 3c$

\n

Given:
$a = \\var{a}$
$b = \\var{b}$
$c = \\var{c}$

\n

", "minValue": "a+b-3c", "maxValue": "a+b-3c", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "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": "

Calculate the value of

\n

$M^2(A_x - A_y)$

\n

Given:
$A_x = \\var{d}$
$A_y = \\var{c}$
$M = \\var{f}$

\n

", "minValue": "(d-c)*f^2", "maxValue": "(d-c)*f^2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "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": "

Calculate the value of

\n

$\\frac{(x_1 + 3x_2)^2}{x_1x_2}$

\n

Given:
$x_1 = \\var{g}$
$x_2 = \\var{h}$

\n

", "minValue": "((g+3h)^2)/(g*h)", "maxValue": "((g+3h)^2)/(g*h)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "sigfig", "precision": "2", "precisionPartialCredit": "100", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}]}]}], "contributors": [{"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}]}