// Numbas version: finer_feedback_settings {"name": "What's X, if A/X = B?", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a1", "b1", "c1", "a2", "b2", "c2", "a3", "b3", "c3"], "name": "What's X, if A/X = B?", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

See step for part a.

", "rulesets": {}, "parts": [{"stepsPenalty": 0, "prompt": "

What's X, if $\\frac {\\var{c1}} {X} = \\var{a1}$?   Answer:  X =[[0]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "b1", "minValue": "b1", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "steps": [{"prompt": "

Generally,  if  $\\frac {A} {X}$ =  B,  then  X = $\\frac {A} { B}$

\n

You've   got   $\\frac {\\var{c1}} {X}   =   \\var{a1}$,

\n

So  X =  $\\frac {\\var{C1} } {\\var{A1}} =$  ?

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "scripts": {}, "marks": 0, "showCorrectAnswer": true, "type": "gapfill"}, {"prompt": "

What's X, if $\\frac {\\var{c2}} {X} = \\var{a2}$?   Answer:  X =[[0]] Please give your answer to exactly 2 decimal places.

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "

PLease give your answer to exactly 2 decimal places.

", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "b2", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": false, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "minValue": "b2", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

What's X, if $\\frac {\\var{c3}} {X} = \\var{a3}$?   Answer:  X =[[0]] Please give your answer to exactly 2 decimal places.

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "

PLease give your answer to exactly 2 decimal places..

", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "b3", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "minValue": "b3", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "

What's X, if  $\\frac {A} {X}$ = B?

\n

For example, what's X, if $\\frac {6} {X}$ = 2?  Answer: X = 3.

\n

Try the first question without using a calculator.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a1": {"definition": "random(3..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "a1", "description": ""}, "a3": {"definition": "10*random(1..9)+random(0..9)+ random(1..9)/10+random(1..9)/100", "templateType": "anything", "group": "Ungrouped variables", "name": "a3", "description": ""}, "a2": {"definition": "random(1..20)", "templateType": "anything", "group": "Ungrouped variables", "name": "a2", "description": ""}, "b1": {"definition": "random(3..6)", "templateType": "anything", "group": "Ungrouped variables", "name": "b1", "description": ""}, "b2": {"definition": "precround(random(0..9)+random(1..9)/10,2)", "templateType": "anything", "group": "Ungrouped variables", "name": "b2", "description": ""}, "b3": {"definition": "precround(10*random(1..9)+random(0..9)+ random(1..9)/10+random(1..9)/100,2)", "templateType": "anything", "group": "Ungrouped variables", "name": "b3", "description": ""}, "c3": {"definition": "a3*b3", "templateType": "anything", "group": "Ungrouped variables", "name": "c3", "description": ""}, "c2": {"definition": "a2*b2", "templateType": "anything", "group": "Ungrouped variables", "name": "c2", "description": ""}, "c1": {"definition": "a1*b1", "templateType": "anything", "group": "Ungrouped variables", "name": "c1", "description": ""}}, "metadata": {"description": "

Basic algebra.  The intention is to help students generalise a rule\\pattern from 3 questions of increasing complexity.

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Rob Cade", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/70/"}]}]}], "contributors": [{"name": "Rob Cade", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/70/"}]}