// Numbas version: exam_results_page_options {"name": "When does the basic ruleset get turned on?", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {}, "ungrouped_variables": [], "statement": "

The following lines will show \$x\$ if the basic ruleset is turned on, and \$-(-x)\$ if it's turned off.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
CodeDisplay
`\\simplify{-(-x)}`\$\\simplify{-(-x)}\$
`\\simplify[]{-(-x)}`\$\\simplify[]{-(-x)}\$
`\\simplify[!basic]{-(-x)}`\$\\simplify[!basic]{-(-x)}\$
`\\simplify[basic]{-(-x)}`\$\\simplify[basic]{-(-x)}\$
`\\simplify[collectnumbers]{-(-x)}`\$\\simplify[collectnumbers]{-(-x)}\$
`\\simplify[!basic,collectnumbers]{-(-x)}`\$\\simplify[!basic,collectnumbers]{-(-x)}\$
", "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"js": "", "css": ""}, "tags": [], "parts": [], "variable_groups": [], "metadata": {"description": "

A short demonstration of when the basic simplification rules are turned on, or off.

", "licence": "Creative Commons Attribution 4.0 International"}, "advice": "", "name": "When does the basic ruleset get turned on?", "variables": {}, "type": "question", "extensions": [], "functions": {}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}