// Numbas version: finer_feedback_settings {"name": "Q6 Ratio with rectangles ", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["numberone", "numbertwo", "ans", "lent", "width", "area", "numberthree", "numberthreea", "numberfour", "numberfoura", "numberfive", "numberfivea", "numberfiveb", "ansone", "anstwo", "ansthree", "num1", "num2", "num3", "a1", "a2", "a3"], "name": "Q6 Ratio with rectangles ", "tags": ["ratio", "rebelmaths", "teame"], "preamble": {"css": "", "js": ""}, "advice": "
\nPart 1:
\nIf the length is increased by $\\var{numberone}$%, the length becomes $\\var{lent}$
\nSimiliarly with the width,
\nIf the width is decreased by $\\var{numbertwo}$%, the width becomes $\\var{width}$
\nmultiply length by width to get area:
\n$\\var{lent} \\times \\var{width} = \\var{area}$
\nThen, multiply the area by 100 to get it as a percentage
\nTo see if it is a decrease or increase, take away 100 from it
\nIf it is a negative number it is a decrease, and if a positive number it increases.
\n\n", "rulesets": {}, "parts": [{"stepsPenalty": 0, "prompt": "The sides of a rectangle are altered. The length is increased by $\\var{numberone}$% while the width is decreased by $\\var{numbertwo}$%. Find the precentage change in the area of the rectangle stating whether it is an increase or a decrease, by indicating a decrease with a negative sign.
\n(e.g. -8% shows an 8% decrease, and 8% shows an 8% increase)
\n[[0]]%
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "Imagine the rectangle started off with length 1m and width 1m. In that case what would the new length and width be equal to. The area of a rectangle is length by width. Is this less than or equal to 1 square metre? By how much?
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "maxValue": "{ans}", "strictPrecision": false, "minValue": "{ans}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "2", "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "Solve the following shape questions, correct to 2 decimal places.
\n", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"num1": {"definition": "random(2..6)", "templateType": "anything", "group": "Ungrouped variables", "name": "num1", "description": ""}, "num2": {"definition": "7", "templateType": "anything", "group": "Ungrouped variables", "name": "num2", "description": ""}, "num3": {"definition": "15-(num1+num2)", "templateType": "anything", "group": "Ungrouped variables", "name": "num3", "description": ""}, "numberfivea": {"definition": "{numberthreea}*{numberfoura}", "templateType": "anything", "group": "Ungrouped variables", "name": "numberfivea", "description": ""}, "ans": {"definition": "({area}-1)*100", "templateType": "anything", "group": "Ungrouped variables", "name": "ans", "description": ""}, "numberone": {"definition": "random(2..25)", "templateType": "anything", "group": "Ungrouped variables", "name": "numberone", "description": ""}, "anstwo": {"definition": "18*({numberfour} + (1/{numberfoura}))", "templateType": "anything", "group": "Ungrouped variables", "name": "anstwo", "description": ""}, "ansone": {"definition": "18*({numberthree} + (1/{numberthreea}))", "templateType": "anything", "group": "Ungrouped variables", "name": "ansone", "description": ""}, "area": {"definition": "lent*width", "templateType": "anything", "group": "Ungrouped variables", "name": "area", "description": ""}, "numberfour": {"definition": "random(2..4 except {numberthree})", "templateType": "anything", "group": "Ungrouped variables", "name": "numberfour", "description": ""}, "numberthree": {"definition": "random(2..4)", "templateType": "anything", "group": "Ungrouped variables", "name": "numberthree", "description": ""}, "width": {"definition": "1-{numbertwo}/100", "templateType": "anything", "group": "Ungrouped variables", "name": "width", "description": ""}, "numberfiveb": {"definition": "{numberfivea}-({numberthreea}+{numberfoura})", "templateType": "anything", "group": "Ungrouped variables", "name": "numberfiveb", "description": ""}, "numberthreea": {"definition": "random(2..8)", "templateType": "anything", "group": "Ungrouped variables", "name": "numberthreea", "description": ""}, "numberfoura": {"definition": "random(2..8 except {numberthreea})", "templateType": "anything", "group": "Ungrouped variables", "name": "numberfoura", "description": ""}, "a1": {"definition": "12*num1", "templateType": "anything", "group": "Ungrouped variables", "name": "a1", "description": ""}, "a3": {"definition": "12*num3", "templateType": "anything", "group": "Ungrouped variables", "name": "a3", "description": ""}, "a2": {"definition": "12*num2", "templateType": "anything", "group": "Ungrouped variables", "name": "a2", "description": ""}, "lent": {"definition": "1+{numberone}/100", "templateType": "anything", "group": "Ungrouped variables", "name": "lent", "description": ""}, "ansthree": {"definition": "18*({numberfive} + ({numberfiveb}/{numberfivea}))", "templateType": "anything", "group": "Ungrouped variables", "name": "ansthree", "description": ""}, "numberfive": {"definition": "random(2..4 except {numberthree} except {numberfour})", "templateType": "anything", "group": "Ungrouped variables", "name": "numberfive", "description": ""}, "numbertwo": {"definition": "random(2..25 except {numberone})", "templateType": "anything", "group": "Ungrouped variables", "name": "numbertwo", "description": ""}}, "metadata": {"description": "Ratio of sides of rectangles
\nrebel
\nrebelmaths
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}], "resources": []}]}], "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}]}