// Numbas version: exam_results_page_options {"name": "Q19", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": ""}, "statement": "

K is determined from s, t and u using the formula $\\simplify{K = {a}(u*t-s)/({b}t+{c}u)}$  

\n

Express t in terms of K, u and s (i.e making t the subject).

", "ungrouped_variables": ["a", "b", "c", "correctAnswer", "Choice1", "Choice2", "Choice3", "choices", "noneofthesemarks", "choicemarks", "marks", "shuffledchoices", "order"], "variable_groups": [], "advice": "", "rulesets": {}, "variables": {"order": {"templateType": "anything", "definition": "//the order in which to display the choices - pick a random permutation of [0,1,2,3,4]\n deal(4)", "description": "", "group": "Ungrouped variables", "name": "order"}, "b": {"templateType": "anything", "definition": "random(1..5 except a)", "description": "", "group": "Ungrouped variables", "name": "b"}, "a": {"templateType": "anything", "definition": "random(2..5)", "description": "", "group": "Ungrouped variables", "name": "a"}, "Choice2": {"templateType": "anything", "definition": "expression('t = (' + a + 's+' + c + 'K*u)/(' + b + 'K-' + a + 'u)')", "description": "", "group": "Ungrouped variables", "name": "Choice2"}, "shuffledchoices": {"templateType": "anything", "definition": "//the choice texts, in the shuffled order\n map(choices[j],j,order)", "description": "", "group": "Ungrouped variables", "name": "shuffledchoices"}, "Choice1": {"templateType": "anything", "definition": "expression('t = (K*u-' + a + 's)/(' + a + 'u+' + b + 'K)')", "description": "", "group": "Ungrouped variables", "name": "Choice1"}, "choicemarks": {"templateType": "anything", "definition": "//marks to award for each of the above choices\n [1,0,0,0]", "description": "", "group": "Ungrouped variables", "name": "choicemarks"}, "Choice3": {"templateType": "anything", "definition": "expression('t = (' + a + 's+' + c + 'u)/(' + a + 'u-' + b + 'K)')", "description": "", "group": "Ungrouped variables", "name": "Choice3"}, "c": {"templateType": "anything", "definition": "random(1..5 except a)", "description": "", "group": "Ungrouped variables", "name": "c"}, "marks": {"templateType": "anything", "definition": "//marks to award for each choice, then append the marks for \"none of the above\"\n map(choicemarks[j],j,order)+noneofthesemarks", "description": "", "group": "Ungrouped variables", "name": "marks"}, "correctAnswer": {"templateType": "anything", "definition": "expression('t = (' + a + 's+' + c + 'K*u)/(' + a + 'u-' + b + 'K)')", "description": "", "group": "Ungrouped variables", "name": "correctAnswer"}, "choices": {"templateType": "anything", "definition": "//choices, apart from \"none of the above\"\n [correctAnswer,Choice1,Choice2,Choice3]", "description": "", "group": "Ungrouped variables", "name": "choices"}, "noneofthesemarks": {"templateType": "anything", "definition": "//marks to award for selecting \"none of these\"\n 0", "description": "", "group": "Ungrouped variables", "name": "noneofthesemarks"}}, "parts": [{"variableReplacementStrategy": "originalfirst", "matrix": "marks", "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "maxMarks": 0, "displayType": "radiogroup", "minMarks": 0, "marks": 0, "type": "1_n_2", "showCorrectAnswer": true, "choices": ["

$\\simplify{{shuffledchoices[0]}}$

", "

$\\simplify{{shuffledchoices[1]}}$

", "

$\\simplify{{shuffledchoices[2]}}$

", "

$\\simplify{{shuffledchoices[3]}}$

", "

None of these

"], "shuffleChoices": false, "displayColumns": 0}], "preamble": {"js": "", "css": ""}, "name": "Q19", "variablesTest": {"maxRuns": 100, "condition": ""}, "extensions": [], "tags": [], "functions": {}, "type": "question", "contributors": [{"name": "David Wishart", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1461/"}]}]}], "contributors": [{"name": "David Wishart", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1461/"}]}