// Numbas version: finer_feedback_settings {"name": "00a - Engineering Arithmetic: 003", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"description": "

Questions based on Exercise Intro(a) from the Textbook \"Engineering Maths through Applications\" by Kuldeep Singh.

Intended for use as Homework Exercises.

", "licence": "Creative Commons Attribution 4.0 International"}, "tags": [], "statement": "

Evaluate the following:

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"c3": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "{c1}-{c2}", "name": "c3"}, "c2a": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "{c2}*(-1)", "name": "c2a"}, "d2": {"description": "", "group": "Ungrouped variables", "templateType": "randrange", "definition": "random(-5 .. -25#1)", "name": "d2"}, "a1": {"description": "

a1

", "group": "Ungrouped variables", "templateType": "randrange", "definition": "random(3 .. 16#1)", "name": "a1"}, "a3": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "{a1}-{a2}", "name": "a3"}, "b1": {"description": "", "group": "Ungrouped variables", "templateType": "randrange", "definition": "random(-1 .. -10#1)", "name": "b1"}, "c1": {"description": "", "group": "Ungrouped variables", "templateType": "randrange", "definition": "random(-3 .. -10#1)", "name": "c1"}, "a2": {"description": "", "group": "Ungrouped variables", "templateType": "randrange", "definition": "random(11 .. 19#1)", "name": "a2"}, "b2": {"description": "", "group": "Ungrouped variables", "templateType": "randrange", "definition": "random(1 .. 9#1)", "name": "b2"}, "d3": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "{d1}+{d2}", "name": "d3"}, "c2": {"description": "", "group": "Ungrouped variables", "templateType": "randrange", "definition": "random(-3 .. -9#1)", "name": "c2"}, "b3": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "{b1}+{b2}", "name": "b3"}, "d1": {"description": "", "group": "Ungrouped variables", "templateType": "randrange", "definition": "random(-11 .. -19#1)", "name": "d1"}, "e2": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "{d1}*(-1)", "name": "e2"}}, "advice": "

a)   $\\var{a1}-\\var{a2}=\\var{a3}$

\n

b)   $\\var{b1}+\\var{b2}=\\var{b3}$

\n

c)   $-(-)$   gives   $+$   so:   $\\var{c1}-(\\var{c2})=\\var{c1}+(\\var{c2a})=\\var{c3}$

\n

d)   $+(-)$   gives   $-$   so:  $\\var{d1}+(\\var{d2})=\\var{d1}\\var{d2}=\\var{d3}$

\n

e)   As previously   $-(-)$   gives   $+$   so:   $\\var{d1}-(\\var{d1})=\\var{d1}+\\var{e2}=0$

", "extensions": [], "name": "00a - Engineering Arithmetic: 003", "preamble": {"css": "", "js": ""}, "ungrouped_variables": ["a1", "a2", "a3", "b1", "b2", "b3", "c1", "c2", "c2a", "c3", "d1", "d2", "d3", "e2"], "functions": {}, "parts": [{"showFeedbackIcon": true, "variableReplacements": [], "sortAnswers": false, "type": "gapfill", "useCustomName": false, "gaps": [{"minValue": "{a1}-{a2}", "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "maxValue": "{a1}-{a2}", "mustBeReducedPC": 0, "showFractionHint": true, "showCorrectAnswer": true, "scripts": {}, "customName": "", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "correctAnswerStyle": "plain", "extendBaseMarkingAlgorithm": true, "type": "numberentry", "unitTests": [], "correctAnswerFraction": false, "useCustomName": false, "marks": 1}], "showCorrectAnswer": true, "scripts": {}, "customName": "", "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "marks": 0, "unitTests": [], "extendBaseMarkingAlgorithm": true, "prompt": "

$\\var{a1}-\\var{a2}=$[[0]]

"}, {"showFeedbackIcon": true, "variableReplacements": [], "sortAnswers": false, "type": "gapfill", "useCustomName": false, "gaps": [{"minValue": "{b1}+{b2}", "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "maxValue": "{b1}+{b2}", "mustBeReducedPC": 0, "showFractionHint": true, "showCorrectAnswer": true, "scripts": {}, "customName": "", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "correctAnswerStyle": "plain", "extendBaseMarkingAlgorithm": true, "type": "numberentry", "unitTests": [], "correctAnswerFraction": false, "useCustomName": false, "marks": 1}], "showCorrectAnswer": true, "scripts": {}, "customName": "", "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "marks": 0, "unitTests": [], "extendBaseMarkingAlgorithm": true, "prompt": "

$\\var{b1}+\\var{b2}=$[[0]]

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

$\\var{c1}-(\\var{c2})=$[[0]]

"}, {"showFeedbackIcon": true, "variableReplacements": [], "sortAnswers": false, "type": "gapfill", "useCustomName": false, "gaps": [{"minValue": "{d1}+{d2}", "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "maxValue": "{d1}+{d2}", "mustBeReducedPC": 0, "showFractionHint": true, "showCorrectAnswer": true, "scripts": {}, "customName": "", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "correctAnswerStyle": "plain", "extendBaseMarkingAlgorithm": true, "type": "numberentry", "unitTests": [], "correctAnswerFraction": false, "useCustomName": false, "marks": 1}], "showCorrectAnswer": true, "scripts": {}, "customName": "", "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "marks": 0, "unitTests": [], "extendBaseMarkingAlgorithm": true, "prompt": "

$\\var{d1}+(\\var{d2})=$[[0]]

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

$\\var{d1}-(\\var{d1})=$[[0]]

"}], "rulesets": {}, "type": "question", "contributors": [{"name": "Michael Proudman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/269/"}]}]}], "contributors": [{"name": "Michael Proudman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/269/"}]}