// Numbas version: finer_feedback_settings {"name": "Significant figures: multiplication and division", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Significant figures: multiplication and division", "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

A rectangle has sides of length {l_str} cm and {w_str} cm. Calculate its area, to the appropriate number of significant figures.

", "advice": "

The side length {l_str} cm has {sf_l} significant figures, and the side length {w_str} cm has {sf_w} significant figures.

\n

When multiplying or dividing measurements, the answer can only be as precise as the least precise value used. That means we use {target_sf} significant figures.

\n

Raw product: {l_str} $\\times$ {w_str} $=$ {area_exact_str} $cm^2$.

\n

Rounded to {target_sf} significant figures, the area is {correct_area} $cm^2$.

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"sf_l": {"name": "sf_l", "group": "Ungrouped variables", "definition": "random(2,3,4)", "description": "", "templateType": "anything", "can_override": false}, "sf_w": {"name": "sf_w", "group": "Ungrouped variables", "definition": "random(2..3 except sf_l)", "description": "", "templateType": "anything", "can_override": false}, "dp_l": {"name": "dp_l", "group": "Ungrouped variables", "definition": "sf_l - 1", "description": "", "templateType": "anything", "can_override": false}, "dp_w": {"name": "dp_w", "group": "Ungrouped variables", "definition": "sf_w - 1", "description": "", "templateType": "anything", "can_override": false}, "l": {"name": "l", "group": "Ungrouped variables", "definition": "random(1..9) + random(0..(10^dp_l - 1)) / 10^dp_l", "description": "", "templateType": "anything", "can_override": false}, "w": {"name": "w", "group": "Ungrouped variables", "definition": "random(1..9) + random(0..(10^dp_w - 1)) / 10^dp_w", "description": "", "templateType": "anything", "can_override": false}, "target_sf": {"name": "target_sf", "group": "Ungrouped variables", "definition": "min(sf_l, sf_w)", "description": "", "templateType": "anything", "can_override": false}, "area_exact": {"name": "area_exact", "group": "Ungrouped variables", "definition": "l * w", "description": "", "templateType": "anything", "can_override": false}, "correct_area": {"name": "correct_area", "group": "Ungrouped variables", "definition": "siground(area_exact, target_sf)", "description": "", "templateType": "anything", "can_override": false}, "l_str": {"name": "l_str", "group": "Ungrouped variables", "definition": "dpformat(l, dp_l)", "description": "", "templateType": "anything", "can_override": false}, "w_str": {"name": "w_str", "group": "Ungrouped variables", "definition": "dpformat(w, dp_w)", "description": "", "templateType": "anything", "can_override": false}, "area_exact_str": {"name": "area_exact_str", "group": "Ungrouped variables", "definition": "dpformat(area_exact, dp_l + dp_w)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["sf_l", "sf_w", "dp_l", "dp_w", "l", "w", "target_sf", "area_exact", "correct_area", "l_str", "w_str", "area_exact_str"], "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, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "minValue": "correct_area", "maxValue": "correct_area", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "sigfig", "precision": "target_sf", "precisionPartialCredit": "100", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "showAllParts": false, "contributors": [{"name": "Ed Southwood", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2415/"}, {"name": "Ed Southwood", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/38947/"}], "resources": []}]}], "contributors": [{"name": "Ed Southwood", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2415/"}, {"name": "Ed Southwood", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/38947/"}]}