// Numbas version: exam_results_page_options {"name": "Simon's copy of Q6 (Calculate the minimum and maximum approximations of an estimate)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"advice": "
Remember to give all answers to the nearest penny as requested.
\n\nFirst calculate $\\var{num}$% of the estimate $\\var{est}$
\n$\\frac{\\var{num}}{100} \\times \\var{est} = £\\var{dpformat(per,2)}$
\n(a)
\nCheapest possible cost
\n$£\\var{est} - £\\var{dpformat(per,2)} = £\\var{dpformat(ans1,2)}$
\n(b)
\nDearest possible cost
\n$£\\var{est} + £\\var{dpformat(per,2)} = £\\var{dpformat(ans2,2)}$
", "parts": [{"marks": 0, "gaps": [{"marks": 1, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "type": "numberentry", "maxValue": "{ans1}", "precision": "2", "allowFractions": false, "showCorrectAnswer": true, "unitTests": [], "mustBeReducedPC": 0, "showPrecisionHint": false, "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "precisionType": "dp", "correctAnswerStyle": "plain", "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "minValue": "{ans1}", "correctAnswerFraction": false, "scripts": {}, "mustBeReduced": false, "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0}, {"marks": 1, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "type": "numberentry", "maxValue": "{ans2}", "precision": "2", "allowFractions": false, "showCorrectAnswer": true, "unitTests": [], "mustBeReducedPC": 0, "showPrecisionHint": false, "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "precisionType": "dp", "correctAnswerStyle": "plain", "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "minValue": "{ans2}", "correctAnswerFraction": false, "scripts": {}, "mustBeReduced": false, "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0}], "stepsPenalty": 0, "type": "gapfill", "steps": [{"marks": 0, "prompt": "The actual cost must be in the range $\\var{est} \\pm \\var{num}$%. So first we must work out $\\var{num}\\% $ of $\\var{est}$.
", "showCorrectAnswer": true, "showFeedbackIcon": true, "customMarkingAlgorithm": "", "scripts": {}, "type": "information", "unitTests": [], "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": []}], "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "prompt": "Calculate the cheapest and most expensive possible costs, if an estimate of $£\\var{est}$ is given for a particular repair.
\nCheapest: £[[0]]
\nMost expensive: £[[1]]
", "showCorrectAnswer": true, "showFeedbackIcon": true, "customMarkingAlgorithm": "", "scripts": {}, "sortAnswers": false, "unitTests": [], "variableReplacementStrategy": "originalfirst"}], "tags": [], "name": "Simon's copy of Q6 (Calculate the minimum and maximum approximations of an estimate)", "extensions": [], "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "ungrouped_variables": ["est", "shop", "ans1", "num", "per", "ans2"], "preamble": {"js": "", "css": ""}, "functions": {}, "rulesets": {}, "metadata": {"description": "(Calculate the minimum and maximum approximations of an estimate)
\nrebelmaths
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "$\\var{shop}$ guarantees that the actual cost of repairs will not be more than $\\var{num}$% different from any estimate.
\nGive your final answer correct to the nearest penny.
\n", "variables": {"ans2": {"definition": "est+per", "templateType": "anything", "group": "Ungrouped variables", "name": "ans2", "description": ""}, "ans1": {"definition": "est-per", "templateType": "anything", "group": "Ungrouped variables", "name": "ans1", "description": ""}, "est": {"definition": "random(300..500#10)", "templateType": "anything", "group": "Ungrouped variables", "name": "est", "description": ""}, "num": {"definition": "random(3..8)", "templateType": "anything", "group": "Ungrouped variables", "name": "num", "description": ""}, "shop": {"definition": "random('A garage','A PC repair shop','A Phone-shop',' An eletronics-shop','An engineering shop')", "templateType": "anything", "group": "Ungrouped variables", "name": "shop", "description": ""}, "per": {"definition": "(est*num)/100", "templateType": "anything", "group": "Ungrouped variables", "name": "per", "description": ""}}, "type": "question", "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}]}], "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}