// Numbas version: exam_results_page_options {"name": "Clare's copy of Input 3", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"preamble": {"js": "", "css": ""}, "statement": "
In this example we show you how to input powers. It is important that you get this right as many questions ask for such inputs.
\n$a^b$ is input as a^b
.
But you have to be careful with inputting such expressions as
\n\\[e^{2x},\\;x^{-2},\\;(xy)^2\\]
\nIn these cases the exponent must be enclosed in brackets.
\nPower | \nCorrect Input | \nIncorrect Input | \nWhy it's wrong | \n
---|---|---|---|
$e^{2x}$ | \ne^(2*x) | \ne^2*x | \nThe system thinks this is $(e^2) \\cdot x$ | \n
$x^{-2}$ | \nx^(-2) | \nx^-2 | \nThis produces an error | \n
$(xy)^2$ | \n(x*y)^2 | \nx*y^2 | \nThe system thinks this is $x \\cdot (y^2)$ | \n
So make sure that you use brackets to properly define your powers. This is a major source of input inaccuracies.
\nTo test your input of powers, try the following examples.
", "rulesets": {}, "parts": [{"variableReplacements": [], "useCustomName": false, "marks": 0, "showFeedbackIcon": true, "prompt": "Write $e^{\\simplify{{a}x}}$. [[0]]
\nYour input is shown in mathematical notation in a box next to your input so that you can check that you have entered it correctly.
\nClick on Submit part to check your answer.
\nClick on the input field and remove the brackets, then re-submit and see what happens.
\n\n
", "scripts": {}, "unitTests": [], "type": "gapfill", "customMarkingAlgorithm": "", "sortAnswers": false, "gaps": [{"showPreview": true, "useCustomName": false, "marks": 1, "showFeedbackIcon": true, "scripts": {}, "checkingAccuracy": 1e-05, "answer": "e^({a}*x)", "vsetRange": [0, 0.1], "customMarkingAlgorithm": "", "valuegenerators": [{"name": "x", "value": ""}], "vsetRangePoints": 5, "checkingType": "absdiff", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "customName": "", "failureRate": 1, "answerSimplification": "all", "unitTests": [], "type": "jme", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "checkVariableNames": false}], "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "customName": "", "variableReplacementStrategy": "originalfirst"}, {"variableReplacements": [], "useCustomName": false, "marks": 0, "showFeedbackIcon": true, "prompt": "
Input $x^{\\var{c}}x^{\\var{d}}$ as a single power of $x$.
\nFor example, you would input $x^{-6}x^{-5}$ as x^(-11)
.
$x^{\\var{c}}x^{\\var{d}}=\\;$[[0]]
", "scripts": {}, "unitTests": [], "type": "gapfill", "customMarkingAlgorithm": "", "sortAnswers": false, "gaps": [{"showPreview": true, "useCustomName": false, "marks": 1, "showFeedbackIcon": true, "scripts": {}, "checkingAccuracy": 0.001, "answer": "x^({c+d})", "vsetRange": [0, 1], "customMarkingAlgorithm": "", "valuegenerators": [{"name": "x", "value": ""}], "vsetRangePoints": 5, "checkingType": "absdiff", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "customName": "", "failureRate": 1, "answerSimplification": "all", "unitTests": [], "type": "jme", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "checkVariableNames": false}], "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "customName": "", "variableReplacementStrategy": "originalfirst"}, {"variableReplacements": [], "useCustomName": false, "marks": 0, "showFeedbackIcon": true, "prompt": "Input $(xy)^{\\var{f}}$ in the form $x^ay^b$ for suitable values of $a$ and $b$.
\n$(xy)^{\\var{f}}=\\;$[[0]]
", "scripts": {}, "unitTests": [], "type": "gapfill", "customMarkingAlgorithm": "", "sortAnswers": false, "gaps": [{"showPreview": true, "useCustomName": false, "marks": 1, "showFeedbackIcon": true, "scripts": {}, "checkingAccuracy": 0.001, "answer": "x^{f}*y^{f}", "vsetRange": [0, 1], "customMarkingAlgorithm": "", "valuegenerators": [{"name": "x", "value": ""}, {"name": "y", "value": ""}], "vsetRangePoints": 5, "checkingType": "absdiff", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "customName": "", "failureRate": 1, "answerSimplification": "all", "notallowed": {"partialCredit": 0, "showStrings": false, "strings": ["xy", "x*y"], "message": "Input in the form $x^ay^b$ for suitable values of $a$ and $b$.
"}, "unitTests": [], "type": "jme", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "checkVariableNames": false}], "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "customName": "", "variableReplacementStrategy": "originalfirst"}], "variablesTest": {"condition": "", "maxRuns": 100}, "functions": {}, "metadata": {"description": "Information on inputting powers
", "licence": "Creative Commons Attribution 4.0 International"}, "advice": "", "tags": [], "ungrouped_variables": ["f", "s", "c", "a", "d"], "extensions": [], "variable_groups": [], "name": "Clare's copy of Input 3", "variables": {"c": {"description": "", "name": "c", "definition": "random(-12..-6)", "templateType": "anything", "group": "Ungrouped variables"}, "f": {"description": "", "name": "f", "definition": "random(-5,-4,-3,-2,-1)", "templateType": "anything", "group": "Ungrouped variables"}, "d": {"description": "", "name": "d", "definition": "random(-12..-6)", "templateType": "anything", "group": "Ungrouped variables"}, "s": {"description": "", "name": "s", "definition": "random(1,-1)", "templateType": "anything", "group": "Ungrouped variables"}, "a": {"description": "", "name": "a", "definition": "random(6..12)*s", "templateType": "anything", "group": "Ungrouped variables"}}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Clare Lundon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/492/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Clare Lundon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/492/"}]}