// Numbas version: exam_results_page_options {"name": "Displaying surd fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variablesTest": {"maxRuns": 100, "condition": ""}, "rulesets": {}, "variables": {"f": {"group": "Ungrouped variables", "definition": "random(fractions)", "description": "", "templateType": "anything", "name": "f"}, "fractions": {"group": "Ungrouped variables", "definition": "[\n [3,4],\n [1,2],\n [1,1]\n]", "description": "

Fractions, in the form [numerator, denominator]. They represent the squares of the fractions we want to show.

", "templateType": "anything", "name": "fractions"}}, "functions": {}, "metadata": {"licence": "None specified", "description": "Shows how to use the sqrtSquare simplification rule to display a randomly-chosen fraction involving surds on either the top or bottom.
"}, "name": "Displaying surd fractions", "advice": "", "tags": [], "parts": [], "preamble": {"css": "", "js": ""}, "variable_groups": [], "statement": "

$\\simplify[sqrtsquare,unitDenominator]{ sqrt({f[0]})/sqrt({f[1]}) }$

\n

$\\left. \\simplify[sqrtsquare]{ sqrt({f[0]})} \\middle/ \\simplify[sqrtsquare]{ sqrt({f[1]}) } \\right.$

", "extensions": [], "ungrouped_variables": ["fractions", "f"], "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/"}]}