// Numbas version: exam_results_page_options {"name": "Maria's copy of Calculating gradient", "extensions": [], "custom_part_types": [], "resources": [["question-resources/dydx.png", "/srv/numbas/media/question-resources/dydx.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"parts": [{"minValue": "grad-0.05", "marks": 1, "prompt": "
If the difference of $y = \\var{dy}$, and the difference in $x = \\var{dx}$, calculate the gradient.
", "maxValue": "grad+0.05", "variableReplacements": [], "correctAnswerFraction": false, "allowFractions": false, "showCorrectAnswer": true, "scripts": {}, "type": "numberentry", "variableReplacementStrategy": "originalfirst"}], "variables": {"dy": {"definition": "random(-5..20 except 0)", "templateType": "anything", "name": "dy", "description": "", "group": "Ungrouped variables"}, "grad": {"definition": "dy/dx", "templateType": "anything", "name": "grad", "description": "", "group": "Ungrouped variables"}, "dx": {"definition": "random(-2..25 except 0)", "templateType": "anything", "name": "dx", "description": "", "group": "Ungrouped variables"}}, "extensions": [], "variable_groups": [], "variablesTest": {"condition": "", "maxRuns": 100}, "type": "question", "preamble": {"js": "", "css": ""}, "ungrouped_variables": ["dy", "dx", "grad"], "statement": "A student is trying to find the gradient on the graph below.
\n{image('resources/question-resources/dydx.png')}
\n", "showQuestionGroupNames": false, "rulesets": {}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "pickQuestions": 0, "name": ""}], "name": "Maria's copy of Calculating gradient", "metadata": {"licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", "description": "Calculating gradients
"}, "functions": {}, "advice": "Gradient is calculated as:
\n$\\frac{\\text{difference in }y}{\\text{difference in }x}$
", "tags": [], "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}, {"name": "Maria Aneiros", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3388/"}]}]}], "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}, {"name": "Maria Aneiros", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3388/"}]}