// Numbas version: exam_results_page_options {"name": "Calculating powers (-a^(-b))", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variablesTest": {"maxRuns": 100, "condition": "a<>b"}, "statement": "
Calculate the following power.
\nIf you think the answer should be negative then a negative sign should be entered in the denominator.
\n", "extensions": [], "advice": "The correct calculation is $-\\var{a}^{-\\var{b}}=-\\dfrac{1}{\\var{a}^{\\var{b}}}=-\\dfrac{1}{\\var{a^b}}=\\dfrac{1}{\\boxed{-\\var{a^b}}}$.
\nRemember that the minus sign is not raised to the power, so even though the $-\\var{b}$ that is the power is even, $-\\var{a}^{-\\var{b}}$ is negative.
", "rulesets": {"std": ["all"]}, "variable_groups": [], "metadata": {"description": "This question tests a student's ability to raise a positive base to a negative exponent and then take the negative.
", "licence": "Creative Commons Attribution 4.0 International"}, "ungrouped_variables": ["a", "b"], "tags": [], "parts": [{"variableReplacements": [], "scripts": {}, "showCorrectAnswer": true, "gaps": [{"correctAnswerStyle": "plain", "allowFractions": false, "type": "numberentry", "correctAnswerFraction": false, "showCorrectAnswer": true, "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "mustBeReducedPC": 0, "maxValue": "-a^b", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "minValue": "-a^b", "marks": 1, "notationStyles": ["plain", "en", "si-en"]}], "type": "gapfill", "prompt": "$-\\var{a}^{-\\var{b}}=\\ $
This is the absolute value of the exponent.
", "definition": "random(2..7)", "name": "b", "templateType": "anything"}, "a": {"group": "Ungrouped variables", "description": "This is the base.
", "definition": "random(2..7)", "name": "a", "templateType": "anything"}}, "type": "question", "contributors": [{"name": "Anthony Brown", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/799/"}]}]}], "contributors": [{"name": "Anthony Brown", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/799/"}]}