// Numbas version: finer_feedback_settings {"name": "Formula - 4 variables", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Formula - 4 variables", "tags": [], "metadata": {"description": "
evaluate a function (4a)/(pi*b^2cd) given random values for a,b,c,d.
", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "If \\(\\displaystyle{\\eta=\\frac{4Q_P}{\\pi d^2Ln}}\\)evaluate \\(\\eta\\) when \\(Q_P=\\var{Q_P}\\), \\(d=\\var{d}\\), \\(L=\\var{L}\\) and \\(n=\\var{n}\\).
", "advice": "$\\begin{align}\\eta &= \\dfrac{4Q_P}{\\pi d^2Ln}\\\\ &= \\dfrac{4\\times\\var{Q_P}}{\\pi\\times\\var{d}^2\\times\\var{L}\\times\\var{n}}\\\\&=\\dfrac{4\\times\\var{Q_P}}{\\pi\\times\\var{d^2}\\times\\var{L}\\times\\var{n}}\\\\&=\\dfrac{var{4*Q_P}}{\\var{pi*d*d*L*n}}\\\\&\\approx\\var{precround(4*Q_P/(pi*d*d*L*n),4)}\\end{align}$
", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"Q_P": {"name": "Q_P", "group": "Ungrouped variables", "definition": "random(0.0001..0.0009 #0.0001)", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(0.01..0.09 #0.01)", "description": "", "templateType": "anything", "can_override": false}, "L": {"name": "L", "group": "Ungrouped variables", "definition": "random(0.1..0.9 #0.1)", "description": "", "templateType": "anything", "can_override": false}, "n": {"name": "n", "group": "Ungrouped variables", "definition": "random(2..8)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["Q_P", "d", "L", "n"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "4*Q_P/(pi*d^2*L*n)", "maxValue": "4*Q_P/(pi*d^2*L*n)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}]}], "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}