// Numbas version: exam_results_page_options {"name": "Substitute a value into an expression", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variablesTest": {"condition": "", "maxRuns": 100}, "variables": {"q": {"templateType": "anything", "group": "Ungrouped variables", "definition": "-(t^3)+(b*t)", "name": "q", "description": ""}, "a": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(12..18)", "name": "a", "description": ""}, "f": {"templateType": "anything", "group": "Ungrouped variables", "definition": "-t+a", "name": "f", "description": ""}, "b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..7)", "name": "b", "description": ""}, "t": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(3..7)", "name": "t", "description": ""}, "p": {"templateType": "anything", "group": "Ungrouped variables", "definition": "-a+t", "name": "p", "description": ""}}, "ungrouped_variables": ["a", "b", "f", "q", "p", "t"], "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "name": "", "pickQuestions": 0}], "name": "Substitute a value into an expression", "showQuestionGroupNames": false, "variable_groups": [], "functions": {}, "parts": [{"answer": "{p}", "vsetrange": [0, 1], "checkingaccuracy": 0, "checkvariablenames": false, "expectedvariablenames": [], "prompt": "

$-\\var{a}-n$

", "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "type": "jme", "showCorrectAnswer": true, "marks": 1, "vsetrangepoints": 5}, {"answer": "-({t}^2)", "vsetrange": [0, 1], "checkingaccuracy": 0, "checkvariablenames": false, "expectedvariablenames": [], "prompt": "

$-(n^2)$

", "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "type": "jme", "showCorrectAnswer": true, "marks": 1, "vsetrangepoints": 5}, {"answer": "{q}", "vsetrange": [0, 1], "checkingaccuracy": 0, "checkvariablenames": false, "expectedvariablenames": [], "prompt": "

$n^3-\\var{b}n$

", "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "type": "jme", "showCorrectAnswer": true, "marks": 1, "vsetrangepoints": 5}], "statement": "\n

Find the value of the following expressions, given the stated value of $n$.

\n

$n=-\\var{t}$

\n \n \n \n \n \n ", "tags": ["ACC1012", "checked2015"], "rulesets": {}, "preamble": {"css": "", "js": ""}, "type": "question", "metadata": {"notes": "", "licence": "Creative Commons Attribution 4.0 International", "description": "

What is the value of the expression given a choice of n?

"}, "advice": "", "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}]}