// Numbas version: exam_results_page_options {"name": "nonlinear relationships", "metadata": {"description": "

This is a set of questions for students to practice identifying parabolas, hyperbolas and exponentials.

\n

There are also a few questions asking students to draw graphs, and to evaluate the curves at specific points.

\n

10 questions are selected from a larger pool. 

\n

In the first question students are asked to identify the type of a graph.

\n

In the second question students are asked to identify the type of an equation.

\n

Then next 6 questions are basic questions about evaluating points on a curve or matching curves and equations.

\n

The last 2 questions are applications - e.g. compound interest, displayed as an equation, a table or a graph.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "duration": 0, "percentPass": 0, "showQuestionGroupNames": false, "showstudentname": true, "question_groups": [{"name": "Group", "pickingStrategy": "random-subset", "pickQuestions": 1, "questionNames": ["", "", ""], "questions": [{"name": "exponential curve", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are shown an exponential curve and asked to identify it as either linear, parabolic, hyperbolic or exponential.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "
{geogebra_applet('https://www.geogebra.org/m/a2bvpj8m',defs)}
", "advice": "

This curve is an exponential curve with an asymptote at $y = \\var{c}$.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2..10)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-3..3)", "description": "", "templateType": "anything", "can_override": false}, "defs": {"name": "defs", "group": "Ungrouped variables", "definition": "[\n ['a',a],\n ['b',b],\n ['c',c],\n ['k',k]\n ]", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-1,1)", "description": "", "templateType": "anything", "can_override": false}, "k": {"name": "k", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "c", "defs", "b", "k"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

This is a

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["parabola", "hyperbola", "exponential", "none of these"], "matrix": ["0", "0", "1", 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "hyperbolic curve", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are shown a hyperbola and asked to identify it as such.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "
{geogebra_applet('https://www.geogebra.org/m/fbzq6qkz',defs)}
", "advice": "

The graph is a hyperbola.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(-3,-2,-1,1,2,3,4,5)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-3..3)", "description": "", "templateType": "anything", "can_override": false}, "defs": {"name": "defs", "group": "Ungrouped variables", "definition": "[\n ['a',a],\n ['c',c]\n ]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "c", "defs"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

This is a

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["parabola", "hyperbola", "exponential", "none of these"], "matrix": ["0", "1", 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "parabolic curve", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Can you identify a parabola? Students are shown a parabola and asked to identify it as such.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "
{geogebra_applet('https://www.geogebra.org/m/wu4fe7gg',defs)}
", "advice": "

This is a quadratic equation, i.e. a parabola.

", "rulesets": {}, "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(-5,-4,-3,-2,-1,1,2,3,4,5)", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-3..3)", "description": "", "templateType": "anything"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-3..3)", "description": "", "templateType": "anything"}, "defs": {"name": "defs", "group": "Ungrouped variables", "definition": "[\n ['a',a],\n ['b',b],\n ['c',c]\n ]", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "defs"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

This is a

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["parabola", "hyperbola", "exponential", "none of these"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}, {"name": "Group", "pickingStrategy": "random-subset", "pickQuestions": 1, "questionNames": ["", "", "", ""], "questions": [{"name": "parabola equation", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are given the equation of a parabola and asked to identify its graph. They are given the parabolic curve, an exponential, a hyperbola and a line to choose from.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Which of the following graphs represents $y = \\var{pchoicedispa} \\text{x}^2  \\var{choosesignb}  \\var{choosesign}$?

", "advice": "

The equation given is for a parabola (quadratic).

", "rulesets": {}, "variables": {"pa": {"name": "pa", "group": "Ungrouped variables", "definition": "pachoices[pchoosea]", "description": "", "templateType": "anything"}, "pb": {"name": "pb", "group": "Ungrouped variables", "definition": "random(-3..3)", "description": "", "templateType": "anything"}, "pc": {"name": "pc", "group": "Ungrouped variables", "definition": "random(-3,3)", "description": "", "templateType": "anything"}, "pdefs": {"name": "pdefs", "group": "Ungrouped variables", "definition": "[\n ['a',pa],['b',pb],['c',pc]\n ]", "description": "", "templateType": "anything"}, "ea": {"name": "ea", "group": "Ungrouped variables", "definition": "random(2..10)", "description": "", "templateType": "anything"}, "eb": {"name": "eb", "group": "Ungrouped variables", "definition": "random(-1,1)", "description": "", "templateType": "anything"}, "ec": {"name": "ec", "group": "Ungrouped variables", "definition": "random(-2..3)", "description": "", "templateType": "anything"}, "ek": {"name": "ek", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "", "templateType": "anything"}, "edefs": {"name": "edefs", "group": "Ungrouped variables", "definition": "[\n ['a',ea],['b',eb],['c',ec],['k',ek]\n ]", "description": "", "templateType": "anything"}, "ha": {"name": "ha", "group": "Ungrouped variables", "definition": "random(-3,-2,-1,1,2,3,4,5)", "description": "", "templateType": "anything"}, "hc": {"name": "hc", "group": "Ungrouped variables", "definition": "random(-3..3)", "description": "", "templateType": "anything"}, "hdefs": {"name": "hdefs", "group": "Ungrouped variables", "definition": "[\n ['a',ha],['c',hc]\n ]", "description": "", "templateType": "anything"}, "ldefs": {"name": "ldefs", "group": "Ungrouped variables", "definition": "[\n ['a',pa],['b',pb]\n ]", "description": "", "templateType": "anything"}, "sign": {"name": "sign", "group": "Ungrouped variables", "definition": "['{pc}','','+ {pc}']", "description": "", "templateType": "anything"}, "choosesign": {"name": "choosesign", "group": "Ungrouped variables", "definition": "sign[sgn(pc)+1]", "description": "", "templateType": "anything"}, "signb": {"name": "signb", "group": "Ungrouped variables", "definition": "['-3x','-2x','-1x','','+ x','+ 2x','+ 3x']", "description": "", "templateType": "anything"}, "choosesignb": {"name": "choosesignb", "group": "Ungrouped variables", "definition": "signb[pb+3]", "description": "", "templateType": "anything"}, "pchoosea": {"name": "pchoosea", "group": "Ungrouped variables", "definition": "random(0..5)", "description": "", "templateType": "anything"}, "pachoices": {"name": "pachoices", "group": "Ungrouped variables", "definition": "[-3,-2,-1,1,2,3]", "description": "", "templateType": "anything"}, "hchoosea": {"name": "hchoosea", "group": "Ungrouped variables", "definition": "random(0..7)", "description": "", "templateType": "anything"}, "pdispa": {"name": "pdispa", "group": "Ungrouped variables", "definition": "['-3','-2','- ','','2','3']", "description": "", "templateType": "anything"}, "pchoicedispa": {"name": "pchoicedispa", "group": "Ungrouped variables", "definition": "pdispa[pchoosea]", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["pa", "pb", "pc", "pdefs", "ea", "eb", "ec", "ek", "edefs", "ha", "hc", "hdefs", "ldefs", "sign", "choosesign", "signb", "choosesignb", "pchoosea", "pachoices", "hchoosea", "pdispa", "pchoicedispa"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["
{geogebra_applet('https://www.geogebra.org/m/rpahpr69',hdefs)}
", "
{geogebra_applet('https://www.geogebra.org/m/vscpgws8',pdefs)}
", "
{geogebra_applet('https://www.geogebra.org/m/peeue5xr',edefs)}
", "
{geogebra_applet('https://www.geogebra.org/m/pdapbxee',ldefs)}
"], "matrix": [0, "1", 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "exponential equation", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are shown an exponential function formula and asked to identify the correct graph, given an exponential, a hyperbola, a parabola and a line.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Which of the following graphs represents $y = \\var{ek} \\times \\var{ea}^{\\var{chooseprefix} x} \\var{choosesign}$ ?

", "advice": "

The equation is in the form $y = k \\times a^x + c$, which is an exponential.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"pa": {"name": "pa", "group": "Ungrouped variables", "definition": "random(-5,-4,-3,-2,-1,1,2,3,4,5)", "description": "", "templateType": "anything", "can_override": false}, "pb": {"name": "pb", "group": "Ungrouped variables", "definition": "random(-3,3)", "description": "", "templateType": "anything", "can_override": false}, "pc": {"name": "pc", "group": "Ungrouped variables", "definition": "random(-3,3)", "description": "", "templateType": "anything", "can_override": false}, "pdefs": {"name": "pdefs", "group": "Ungrouped variables", "definition": "[\n ['a',pa],['b',pb],['c',pc]\n ]", "description": "", "templateType": "anything", "can_override": false}, "ea": {"name": "ea", "group": "Ungrouped variables", "definition": "random(2..10)", "description": "", "templateType": "anything", "can_override": false}, "eb": {"name": "eb", "group": "Ungrouped variables", "definition": "random(-1,1)", "description": "", "templateType": "anything", "can_override": false}, "ec": {"name": "ec", "group": "Ungrouped variables", "definition": "random(-2..3)", "description": "", "templateType": "anything", "can_override": false}, "ek": {"name": "ek", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "", "templateType": "anything", "can_override": false}, "edefs": {"name": "edefs", "group": "Ungrouped variables", "definition": "[\n ['a',ea],['b',eb],['c',ec],['k',ek]\n ]", "description": "", "templateType": "anything", "can_override": false}, "ha": {"name": "ha", "group": "Ungrouped variables", "definition": "random(-3,-2,-1,1,2,3,4,5)", "description": "", "templateType": "anything", "can_override": false}, "hc": {"name": "hc", "group": "Ungrouped variables", "definition": "random(-3..3)", "description": "", "templateType": "anything", "can_override": false}, "hdefs": {"name": "hdefs", "group": "Ungrouped variables", "definition": "[\n ['a',ha],['c',hc]\n ]", "description": "", "templateType": "anything", "can_override": false}, "ldefs": {"name": "ldefs", "group": "Ungrouped variables", "definition": "[\n ['a',pa],['b',pb]\n ]", "description": "", "templateType": "anything", "can_override": false}, "prefix": {"name": "prefix", "group": "Ungrouped variables", "definition": "['-','']", "description": "", "templateType": "anything", "can_override": false}, "chooseprefix": {"name": "chooseprefix", "group": "Ungrouped variables", "definition": "prefix[(eb+1)/2]", "description": "", "templateType": "anything", "can_override": false}, "sign": {"name": "sign", "group": "Ungrouped variables", "definition": "['{ec}','','+ {ec}']", "description": "", "templateType": "anything", "can_override": false}, "choosesign": {"name": "choosesign", "group": "Ungrouped variables", "definition": "sign[sgn(ec)+1]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["pa", "pb", "pc", "pdefs", "ea", "eb", "ec", "ek", "edefs", "ha", "hc", "hdefs", "ldefs", "prefix", "chooseprefix", "sign", "choosesign"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["
{geogebra_applet('https://www.geogebra.org/m/rpahpr69',hdefs)}
", "
{geogebra_applet('https://www.geogebra.org/m/vscpgws8',pdefs)}
", "
{geogebra_applet('https://www.geogebra.org/m/peeue5xr',edefs)}
", "
{geogebra_applet('https://www.geogebra.org/m/pdapbxee',ldefs)}
"], "matrix": ["0", "0", "1", 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "hyperbola equation", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are given the equation of a hyperbola and asked to identify the hyperbolic graph out of a set of 4 graphs.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Which of the following graphs represents $y = \\frac{\\var{ha}}{x} \\var{choosesign}$?

", "advice": "

This equation represents an inverse relationship, which is graphed as a hyperbola.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"pa": {"name": "pa", "group": "Ungrouped variables", "definition": "random(-5,-4,-3,-2,-1,1,2,3,4,5)", "description": "", "templateType": "anything", "can_override": false}, "pb": {"name": "pb", "group": "Ungrouped variables", "definition": "random(-3,3)", "description": "", "templateType": "anything", "can_override": false}, "pc": {"name": "pc", "group": "Ungrouped variables", "definition": "random(-3,3)", "description": "", "templateType": "anything", "can_override": false}, "pdefs": {"name": "pdefs", "group": "Ungrouped variables", "definition": "[\n ['a',pa],['b',pb],['c',pc]\n ]", "description": "", "templateType": "anything", "can_override": false}, "ea": {"name": "ea", "group": "Ungrouped variables", "definition": "random(2..10)", "description": "", "templateType": "anything", "can_override": false}, "eb": {"name": "eb", "group": "Ungrouped variables", "definition": "random(-1,1)", "description": "", "templateType": "anything", "can_override": false}, "ec": {"name": "ec", "group": "Ungrouped variables", "definition": "random(-2..3)", "description": "", "templateType": "anything", "can_override": false}, "ek": {"name": "ek", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "", "templateType": "anything", "can_override": false}, "edefs": {"name": "edefs", "group": "Ungrouped variables", "definition": "[\n ['a',ea],['b',eb],['c',ec],['k',ek]\n ]", "description": "", "templateType": "anything", "can_override": false}, "ha": {"name": "ha", "group": "Ungrouped variables", "definition": "random(-3,-2,-1,1,2,3,4,5)", "description": "", "templateType": "anything", "can_override": false}, "hc": {"name": "hc", "group": "Ungrouped variables", "definition": "random(-3..3)", "description": "", "templateType": "anything", "can_override": false}, "hdefs": {"name": "hdefs", "group": "Ungrouped variables", "definition": "[\n ['a',ha],['c',hc]\n ]", "description": "", "templateType": "anything", "can_override": false}, "ldefs": {"name": "ldefs", "group": "Ungrouped variables", "definition": "[\n ['a',pa],['b',pb]\n ]", "description": "", "templateType": "anything", "can_override": false}, "sign": {"name": "sign", "group": "Ungrouped variables", "definition": "['{hc}','','+ {hc}']", "description": "", "templateType": "anything", "can_override": false}, "choosesign": {"name": "choosesign", "group": "Ungrouped variables", "definition": "sign[sgn(hc)+1]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["pa", "pb", "pc", "pdefs", "ea", "eb", "ec", "ek", "edefs", "ha", "hc", "hdefs", "ldefs", "sign", "choosesign"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["
{geogebra_applet('https://www.geogebra.org/m/rpahpr69',hdefs)}
", "
{geogebra_applet('https://www.geogebra.org/m/vscpgws8',pdefs)}
", "
{geogebra_applet('https://www.geogebra.org/m/peeue5xr',edefs)}
", "
{geogebra_applet('https://www.geogebra.org/m/pdapbxee',ldefs)}
"], "matrix": ["1", "0", 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Identify an inverse relationship formula", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

This is a very simple question with no randomisation.

\n

Students are asked to identify an inverse relationship equation.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

The time, measured in hours, for which milk keeps before spoiling ($t$) varies inversely with temperature ($C$), measured in degrees celsius.

", "advice": "

An inverse relationship means that as the input variable increases, the output variable decreases. This means that the input variable needs to be on the denominator of a fraction. 

\n

In this question, temperature ($C$) is the input variable, so the equation must be of the form $t = \\frac{k}{C}$.

", "rulesets": {}, "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

which of the following equations correctly represents the relationship between $t$ and $C$?

\n

$k$ is a constant.

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$t = \\frac{k}{C}$", "$t = \\frac{C}{k}$", "$C = \\frac{t}{k}$", "$t = k^C$"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}, {"name": "Group", "pickingStrategy": "random-subset", "pickQuestions": "6", "questionNames": ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], "questions": [{"name": "identify the exponential", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are shown 4 exponential equations, and 4 graphs and asked to match them.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Match the equations with the graphs

", "advice": "

Exponential functions with a power of $x$ exhibit exponential growth - that is, $y$ increases as $x$ increases.

\n

Exponential functions with a power of $-x$ exhibit exponential decay - that is, $y$ decreases as $x$ increases.

\n

When $a \\leq 2$ the function grows or decays much more slowly than when $a \\geq 4$

\n

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a2": {"name": "a2", "group": "Ungrouped variables", "definition": "random(41..60)/10", "description": "", "templateType": "anything", "can_override": false}, "a4": {"name": "a4", "group": "Ungrouped variables", "definition": "random(41..60)/10", "description": "", "templateType": "anything", "can_override": false}, "defs1": {"name": "defs1", "group": "Ungrouped variables", "definition": "[\n ['a',a1],['b',1],['c',0],['k',1]\n ]", "description": "", "templateType": "anything", "can_override": false}, "defs2": {"name": "defs2", "group": "Ungrouped variables", "definition": "[\n ['a',a2],['b',1],['c',0],['k',1]\n ]", "description": "", "templateType": "anything", "can_override": false}, "defs3": {"name": "defs3", "group": "Ungrouped variables", "definition": "[\n ['a',a3],['b',-1],['c',0],['k',1]\n ]", "description": "", "templateType": "anything", "can_override": false}, "defs4": {"name": "defs4", "group": "Ungrouped variables", "definition": "[\n ['a',a4],['b',-1],['c',0],['k',1]\n ]", "description": "", "templateType": "anything", "can_override": false}, "a1": {"name": "a1", "group": "Ungrouped variables", "definition": "random(11..20)/10", "description": "", "templateType": "anything", "can_override": false}, "a3": {"name": "a3", "group": "Ungrouped variables", "definition": "random(11..20)/10", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a2", "a4", "defs1", "defs2", "defs3", "defs4", "a1", "a3"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "m_n_x", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "minAnswers": 0, "maxAnswers": 0, "shuffleChoices": true, "shuffleAnswers": true, "displayType": "radiogroup", "warningType": "none", "showCellAnswerState": true, "markingMethod": "sum ticked cells", "choices": ["$y = \\var{a1}^x$", "$y = \\var{a2}^x$", "$y = \\var{a3}^{-x}$", "$y =\\var{a4}^{-x}$"], "matrix": [["1", 0, 0, 0], [0, "1", 0, 0], [0, 0, "1", 0], [0, 0, 0, "1"]], "layout": {"type": "all", "expression": ""}, "answers": ["
{geogebra_applet('https://www.geogebra.org/m/peeue5xr',defs1)}
", "
{geogebra_applet('https://www.geogebra.org/m/peeue5xr',defs2)}
", "
{geogebra_applet('https://www.geogebra.org/m/peeue5xr',defs3)}
", "
{geogebra_applet('https://www.geogebra.org/m/peeue5xr',defs4)}
"]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "identify the hyperbola", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are given 4 equations for hyperbolas and 4 graphs and asked to match them.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Match the equations with the graphs

", "advice": "

A minus sign in the formula flips the hyperbola from the top-right/bottom-left quadrants into the top-left/bottom-right quadrants.

\n

A larger value of $a$ means that the hyperbola's curve is less sharp.

\n

Adding a constant ($+c$ or $-c$) to the equation moves the horizontal asypmtote up or down.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a2": {"name": "a2", "group": "Ungrouped variables", "definition": "random(-5,-3,3,5)", "description": "", "templateType": "anything", "can_override": false}, "a4": {"name": "a4", "group": "Ungrouped variables", "definition": "random(-6,-4,-1,1,4,6)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-3,-2,-1,1,2,3)", "description": "", "templateType": "anything", "can_override": false}, "cstrings": {"name": "cstrings", "group": "Ungrouped variables", "definition": "['-3','-2','-1','','+1','+2','+3']", "description": "", "templateType": "anything", "can_override": false}, "dispc": {"name": "dispc", "group": "Ungrouped variables", "definition": "cstrings[c+3]", "description": "", "templateType": "anything", "can_override": false}, "defs1": {"name": "defs1", "group": "Ungrouped variables", "definition": "[\n ['a',1],['c',0]\n ]", "description": "", "templateType": "anything", "can_override": false}, "defs2": {"name": "defs2", "group": "Ungrouped variables", "definition": "[\n ['a',a2],['c',0]\n ]", "description": "", "templateType": "anything", "can_override": false}, "defs3": {"name": "defs3", "group": "Ungrouped variables", "definition": "[\n ['a',-1],['c',0]\n ]", "description": "", "templateType": "anything", "can_override": false}, "defs4": {"name": "defs4", "group": "Ungrouped variables", "definition": "[\n ['a',a4],['c',c]\n ]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a2", "a4", "c", "cstrings", "dispc", "defs1", "defs2", "defs3", "defs4"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "m_n_x", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "minAnswers": 0, "maxAnswers": 0, "shuffleChoices": true, "shuffleAnswers": true, "displayType": "radiogroup", "warningType": "none", "showCellAnswerState": true, "markingMethod": "sum ticked cells", "choices": ["$y = \\frac{1}{x}$", "$y = \\frac{\\var{a2}}{x}$", "$y = -\\frac{1}{x}$", "$y = \\frac{\\var{a4}}{x}  \\var{dispc}$"], "matrix": [["1", 0, 0, 0], [0, "1", 0, 0], [0, 0, "1", 0], [0, 0, 0, "1"]], "layout": {"type": "all", "expression": ""}, "answers": ["
{geogebra_applet('https://www.geogebra.org/m/rpahpr69',defs1)}
", "
{geogebra_applet('https://www.geogebra.org/m/rpahpr69',defs2)}
", "
{geogebra_applet('https://www.geogebra.org/m/rpahpr69',defs3)}
", "
{geogebra_applet('https://www.geogebra.org/m/rpahpr69',defs4)}
"]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "identify the parabola", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are given 4 parabola equations and their respective graphs and asked to match them.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Match the equations with the graphs

", "advice": "

The general equation for a parabola is $y=ax^w+bx+c$.

\n

The larger the value of $a$, the steeper the parabola.

\n

If $a>0$ then the parabola is concave up (smiling).

\n

If $a<0$ then the parabola is concave down (frowning).

\n

The constant $c$ moves the parabola up or down the $x$-axis by a value of $c$.

\n

If $a>0$, the addition of a $+bx$ term moves the parabola down and to the left, and the addition of a $-bx$ term moves the parabola down and to the right.

\n

If $a<0$, the addition of a $+bx$ term moves the parabola up and to the right, and the addition of a $-bx$ term moves the parabola up and to the left.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a1": {"name": "a1", "group": "Ungrouped variables", "definition": "random(-1,1)", "description": "", "templateType": "anything", "can_override": false}, "a2": {"name": "a2", "group": "Ungrouped variables", "definition": "random(-1,1)", "description": "", "templateType": "anything", "can_override": false}, "a3": {"name": "a3", "group": "Ungrouped variables", "definition": "random(-1,1)", "description": "", "templateType": "anything", "can_override": false}, "a4": {"name": "a4", "group": "Ungrouped variables", "definition": "random(-1,1)", "description": "", "templateType": "anything", "can_override": false}, "b3": {"name": "b3", "group": "Ungrouped variables", "definition": "random(-3,-2,-1,1,2,3)", "description": "", "templateType": "anything", "can_override": false}, "b4": {"name": "b4", "group": "Ungrouped variables", "definition": "random(-3,-2,-1,1,2,3)", "description": "", "templateType": "anything", "can_override": false}, "c2": {"name": "c2", "group": "Ungrouped variables", "definition": "random(-3,-2,-1,1,2,3)", "description": "", "templateType": "anything", "can_override": false}, "c4": {"name": "c4", "group": "Ungrouped variables", "definition": "random(-3,-2,-1,1,2,3)", "description": "", "templateType": "anything", "can_override": false}, "pdefs1": {"name": "pdefs1", "group": "Ungrouped variables", "definition": "[\n ['a',a1],['b',0],['c',0]\n ]", "description": "", "templateType": "anything", "can_override": false}, "pdefs2": {"name": "pdefs2", "group": "Ungrouped variables", "definition": "[\n ['a',a2],['b',0],['c',c2]\n ]", "description": "", "templateType": "anything", "can_override": false}, "pdefs3": {"name": "pdefs3", "group": "Ungrouped variables", "definition": "[\n ['a',a3],['b',b3],['c',0]\n ]", "description": "", "templateType": "anything", "can_override": false}, "pdefs4": {"name": "pdefs4", "group": "Ungrouped variables", "definition": "[\n ['a',a4],['b',b4],['c',c4]\n ]", "description": "", "templateType": "anything", "can_override": false}, "signc2": {"name": "signc2", "group": "Ungrouped variables", "definition": "['{c2}','','+ {c2}']", "description": "", "templateType": "anything", "can_override": false}, "signb3": {"name": "signb3", "group": "Ungrouped variables", "definition": "['-3','-2','-','','+','+2','+3']", "description": "", "templateType": "anything", "can_override": false}, "signb4": {"name": "signb4", "group": "Ungrouped variables", "definition": "['-3','-2','-','','+','+2','+3']", "description": "", "templateType": "anything", "can_override": false}, "signc4": {"name": "signc4", "group": "Ungrouped variables", "definition": "['{c4}','','+ {c4}']", "description": "", "templateType": "anything", "can_override": false}, "dispc2": {"name": "dispc2", "group": "Ungrouped variables", "definition": "signc2[sgn(c2)+1]", "description": "", "templateType": "anything", "can_override": false}, "dispb3": {"name": "dispb3", "group": "Ungrouped variables", "definition": "signb3[b3+3]", "description": "", "templateType": "anything", "can_override": false}, "dispb4": {"name": "dispb4", "group": "Ungrouped variables", "definition": "signb4[b4+3]", "description": "", "templateType": "anything", "can_override": false}, "dispc4": {"name": "dispc4", "group": "Ungrouped variables", "definition": "signc4[sgn(c4)+1]", "description": "", "templateType": "anything", "can_override": false}, "signa1": {"name": "signa1", "group": "Ungrouped variables", "definition": "['-','','']", "description": "", "templateType": "anything", "can_override": false}, "dispa1": {"name": "dispa1", "group": "Ungrouped variables", "definition": "signa1[sgn(a1)+1]", "description": "", "templateType": "anything", "can_override": false}, "signa2": {"name": "signa2", "group": "Ungrouped variables", "definition": "['-','','']", "description": "", "templateType": "anything", "can_override": false}, "signa3": {"name": "signa3", "group": "Ungrouped variables", "definition": "['-','','']", "description": "", "templateType": "anything", "can_override": false}, "signa4": {"name": "signa4", "group": "Ungrouped variables", "definition": "['-','','']", "description": "", "templateType": "anything", "can_override": false}, "dispa2": {"name": "dispa2", "group": "Ungrouped variables", "definition": "signa2[sgn(a2)+1]", "description": "", "templateType": "anything", "can_override": false}, "dispa3": {"name": "dispa3", "group": "Ungrouped variables", "definition": "signa3[sgn(a3)+1]", "description": "", "templateType": "anything", "can_override": false}, "dispa4": {"name": "dispa4", "group": "Ungrouped variables", "definition": "signa4[sgn(a4)+1]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a1", "a2", "a3", "a4", "b3", "b4", "c2", "c4", "pdefs1", "pdefs2", "pdefs3", "pdefs4", "signc2", "signb3", "signb4", "signc4", "dispc2", "dispb3", "dispb4", "dispc4", "signa1", "dispa1", "signa2", "signa3", "signa4", "dispa2", "dispa3", "dispa4"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "m_n_x", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "minAnswers": 0, "maxAnswers": 0, "shuffleChoices": true, "shuffleAnswers": true, "displayType": "radiogroup", "warningType": "none", "showCellAnswerState": true, "markingMethod": "sum ticked cells", "choices": ["$y = \\var{dispa1} x^2$", "$y = \\var{dispa2} x^2 \\var{dispc2}$", "$y = \\var{dispa3} x^2 \\var{dispb3} x$", "$y = \\var{dispa4} x^2 \\var{dispb4} x \\var{dispc4}$"], "matrix": [["1", 0, 0, 0], [0, "1", 0, 0], [0, 0, "1", 0], [0, 0, 0, "1"]], "layout": {"type": "all", "expression": ""}, "answers": ["
{geogebra_applet('https://www.geogebra.org/m/vscpgws8',pdefs1)}
", "
{geogebra_applet('https://www.geogebra.org/m/vscpgws8',pdefs2)}
", "
{geogebra_applet('https://www.geogebra.org/m/vscpgws8',pdefs3)}
", "
{geogebra_applet('https://www.geogebra.org/m/vscpgws8',pdefs4)}
"]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "pick the exponential", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are shown an exponential graph and asked to identify the equation from a selection of 4.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Which of these formuale might be represented by this graph?

\n
{geogebra_applet('https://www.geogebra.org/m/a2bvpj8m',edefs)}
", "advice": "

The graph is an exponential function.

\n

If it is showing exponential growth, then the index in the equation is $x$

\n

If it is showing exponential decay, then the index in the equation is $-x$.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"pachoices": {"name": "pachoices", "group": "Ungrouped variables", "definition": "[-3,-2,-1,1,2,3]", "description": "", "templateType": "anything", "can_override": false}, "pchoosea": {"name": "pchoosea", "group": "Ungrouped variables", "definition": "random(0..5)", "description": "", "templateType": "anything", "can_override": false}, "pa": {"name": "pa", "group": "Ungrouped variables", "definition": "pachoices[pchoosea]", "description": "", "templateType": "anything", "can_override": false}, "pb": {"name": "pb", "group": "Ungrouped variables", "definition": "random(2..4)", "description": "", "templateType": "anything", "can_override": false}, "pc": {"name": "pc", "group": "Ungrouped variables", "definition": "random(2..7)", "description": "", "templateType": "anything", "can_override": false}, "edefs": {"name": "edefs", "group": "Ungrouped variables", "definition": "[\n ['a',ea],['b',eb],['c',ec],['k',ek]\n ]", "description": "", "templateType": "anything", "can_override": false}, "pdispastring": {"name": "pdispastring", "group": "Ungrouped variables", "definition": "['-3','-2','- ','','2','3']", "description": "", "templateType": "anything", "can_override": false}, "pdispa": {"name": "pdispa", "group": "Ungrouped variables", "definition": "pdispastring[pchoosea]", "description": "", "templateType": "anything", "can_override": false}, "hk": {"name": "hk", "group": "Ungrouped variables", "definition": "random(-5,-4,-3,-2,-1,1,2,3,4,5)", "description": "", "templateType": "anything", "can_override": false}, "hc": {"name": "hc", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "", "templateType": "anything", "can_override": false}, "pdispaneg": {"name": "pdispaneg", "group": "Ungrouped variables", "definition": "pdispastring[5-pchoosea]", "description": "", "templateType": "anything", "can_override": false}, "ea": {"name": "ea", "group": "Ungrouped variables", "definition": "random(11..100)/10", "description": "", "templateType": "anything", "can_override": false}, "eb": {"name": "eb", "group": "Ungrouped variables", "definition": "random(-1,1)", "description": "", "templateType": "anything", "can_override": false}, "ec": {"name": "ec", "group": "Ungrouped variables", "definition": "random(0..2)", "description": "", "templateType": "anything", "can_override": false}, "ek": {"name": "ek", "group": "Ungrouped variables", "definition": "random(-100..100)/10", "description": "", "templateType": "anything", "can_override": false}, "dispebstring": {"name": "dispebstring", "group": "Ungrouped variables", "definition": "['-','']", "description": "", "templateType": "anything", "can_override": false}, "dispeb": {"name": "dispeb", "group": "Ungrouped variables", "definition": "dispebstring[(eb+1)/2]", "description": "", "templateType": "anything", "can_override": false}, "dispebneg": {"name": "dispebneg", "group": "Ungrouped variables", "definition": "dispebstring[1-(eb+1)/2]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["pachoices", "pchoosea", "pa", "pb", "pc", "edefs", "pdispastring", "pdispa", "hc", "pdispaneg", "hk", "ea", "eb", "ec", "ek", "dispebstring", "dispeb", "dispebneg"], "variable_groups": [{"name": "Unnamed group", "variables": []}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$y = \\var{pdispa} x^2 + \\var{pb}x + \\var{pc}$", "$y = \\var{ek} \\times \\var{ea}^{\\var{dispebneg} x} $", "$y = \\var{ek} \\times \\var{ea}^{\\var{dispeb} x} $", "$y = \\frac{\\var{hk}}{x} + \\var{hc}$"], "matrix": ["0", 0, "1", "1"], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "pick the hyperbola", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are shown a hyperbola and asked to identify its equation from 4 choices.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Which of these formuale might be represented by this graph?

\n
{geogebra_applet('https://www.geogebra.org/m/fbzq6qkz',hdefs)}
", "advice": "

This graph is a hyperbola. To identify its equation you need to 

\n

(a) see what quadrants its branches are in. If it has a branch in the top-left, then the value of $k$ is positive. Otherwise, there is a minus sign in front of the value for $k$.

\n

(b) look at where its horizontal asymptote is. This value is the value of $c$ in the equation.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"pachoices": {"name": "pachoices", "group": "Ungrouped variables", "definition": "[-3,-2,-1,1,2,3]", "description": "", "templateType": "anything", "can_override": false}, "pchoosea": {"name": "pchoosea", "group": "Ungrouped variables", "definition": "random(0..5)", "description": "", "templateType": "anything", "can_override": false}, "pa": {"name": "pa", "group": "Ungrouped variables", "definition": "pachoices[pchoosea]", "description": "", "templateType": "anything", "can_override": false}, "pb": {"name": "pb", "group": "Ungrouped variables", "definition": "random(2..4)", "description": "", "templateType": "anything", "can_override": false}, "pc": {"name": "pc", "group": "Ungrouped variables", "definition": "random(2..7)", "description": "", "templateType": "anything", "can_override": false}, "hdefs": {"name": "hdefs", "group": "Ungrouped variables", "definition": "[\n ['a',hk],['c',hc]\n ]", "description": "", "templateType": "anything", "can_override": false}, "pdispastring": {"name": "pdispastring", "group": "Ungrouped variables", "definition": "['-3','-2','- ','','2','3']", "description": "", "templateType": "anything", "can_override": false}, "pdispa": {"name": "pdispa", "group": "Ungrouped variables", "definition": "pdispastring[pchoosea]", "description": "", "templateType": "anything", "can_override": false}, "hk": {"name": "hk", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "", "templateType": "anything", "can_override": false}, "hc": {"name": "hc", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "", "templateType": "anything", "can_override": false}, "pdispaneg": {"name": "pdispaneg", "group": "Ungrouped variables", "definition": "pdispastring[5-pchoosea]", "description": "", "templateType": "anything", "can_override": false}, "neghk": {"name": "neghk", "group": "Ungrouped variables", "definition": "hk * (-1)", "description": "", "templateType": "anything", "can_override": false}, "neghc": {"name": "neghc", "group": "Ungrouped variables", "definition": "hc * (-1)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["pachoices", "pchoosea", "pa", "pb", "pc", "hdefs", "pdispastring", "pdispa", "hc", "pdispaneg", "hk", "neghk", "neghc"], "variable_groups": [{"name": "Unnamed group", "variables": []}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$y = \\var{pdispa} x^2 + \\var{pb} x+ \\var{pc}$", "$y = \\frac{\\var{neghk}}{x} + \\var{hc}$", "$y = \\frac{\\var{hk}}{x}  \\var{neghc}$", "$y = \\frac{\\var{hk}}{x} + \\var{hc}$"], "matrix": ["0", 0, 0, "1"], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "pick the parabola", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are shown a parabola and asked to identify its graph from a selection of choices.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Which of these formuale might be represented by this graph?

\n
{geogebra_applet('https://www.geogebra.org/m/wu4fe7gg',pdefs)}
", "advice": "

The graph is a parabola. The sign in front of $a$ tells you whether it is concave up ($a>0$) or convave down($a<0$).

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"pachoices": {"name": "pachoices", "group": "Ungrouped variables", "definition": "[-3,-2,-1,1,2,3]", "description": "", "templateType": "anything", "can_override": false}, "pchoosea": {"name": "pchoosea", "group": "Ungrouped variables", "definition": "random(0..5)", "description": "", "templateType": "anything", "can_override": false}, "pa": {"name": "pa", "group": "Ungrouped variables", "definition": "pachoices[pchoosea]", "description": "", "templateType": "anything", "can_override": false}, "pb": {"name": "pb", "group": "Ungrouped variables", "definition": "random(2..4)", "description": "", "templateType": "anything", "can_override": false}, "pc": {"name": "pc", "group": "Ungrouped variables", "definition": "random(2..7)", "description": "", "templateType": "anything", "can_override": false}, "pdefs": {"name": "pdefs", "group": "Ungrouped variables", "definition": "[\n ['a',pa],['b',pb],['c',pc]\n ]", "description": "", "templateType": "anything", "can_override": false}, "pdispastring": {"name": "pdispastring", "group": "Ungrouped variables", "definition": "['-3','-2','- ','','2','3']", "description": "", "templateType": "anything", "can_override": false}, "pdispa": {"name": "pdispa", "group": "Ungrouped variables", "definition": "pdispastring[pchoosea]", "description": "", "templateType": "anything", "can_override": false}, "v1": {"name": "v1", "group": "Ungrouped variables", "definition": "random(-10..10)", "description": "", "templateType": "anything", "can_override": false}, "v2": {"name": "v2", "group": "Ungrouped variables", "definition": "random(2..10)", "description": "", "templateType": "anything", "can_override": false}, "v3": {"name": "v3", "group": "Ungrouped variables", "definition": "random(-3,-2,-1,1,2,3)", "description": "", "templateType": "anything", "can_override": false}, "v4": {"name": "v4", "group": "Ungrouped variables", "definition": "random(1..3)", "description": "", "templateType": "anything", "can_override": false}, "pdispaneg": {"name": "pdispaneg", "group": "Ungrouped variables", "definition": "pdispastring[5-pchoosea]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["pachoices", "pchoosea", "pa", "pb", "pc", "pdefs", "pdispastring", "pdispa", "v1", "v2", "v4", "pdispaneg", "v3"], "variable_groups": [{"name": "Unnamed group", "variables": []}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$y = \\var{pdispa} x^2 + \\var{pb}x + \\var{pc}$", "$y = \\var{pdispaneg} x^2 + \\var{pb}x + \\var{pc}$", "$y = \\var{v1} \\times \\var{v2}^x$", "$y = \\frac{\\var{v3}}{x} + \\var{v4}$"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "identify the exponential formula", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are shown an exponential graph and asked to choose the correct formula for the graph.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

{geogebra_applet('https://www.geogebra.org/m/fyfns8hu',defs)}

", "advice": "

The exponential curve is {direction}. So we are looking for a formula that has {pmprefix} before the $x$.

\n

\n

When $x=0$, $y=\\var{ek}$. So we are looking for a formula in which $k=\\var{ek}$, that is, $y = \\var{ek} \\times a^{\\var{chooseprefix} x}$.

\n

\n

Thus, the formula we need is $y = \\var{ek} \\times \\var{ea}^{\\var{chooseprefix} x} \\var{choosesign}$

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"ea": {"name": "ea", "group": "Ungrouped variables", "definition": "random(2..10)", "description": "", "templateType": "anything", "can_override": false}, "ek": {"name": "ek", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "", "templateType": "anything", "can_override": false}, "chooseprefix": {"name": "chooseprefix", "group": "Ungrouped variables", "definition": "prefix[(eb+1)/2]", "description": "", "templateType": "anything", "can_override": false}, "choosesign": {"name": "choosesign", "group": "Ungrouped variables", "definition": "sign[sgn(ec)+1]", "description": "", "templateType": "anything", "can_override": false}, "eb": {"name": "eb", "group": "Ungrouped variables", "definition": "random(-1,1)", "description": "", "templateType": "anything", "can_override": false}, "ec": {"name": "ec", "group": "Ungrouped variables", "definition": "random(-1..3)", "description": "", "templateType": "anything", "can_override": false}, "prefix": {"name": "prefix", "group": "Ungrouped variables", "definition": "['-','']", "description": "", "templateType": "anything", "can_override": false}, "": {"name": "", "group": "Ungrouped variables", "definition": "", "description": "", "templateType": "anything", "can_override": false}, "sign": {"name": "sign", "group": "Ungrouped variables", "definition": "['{ec}','','+ {ec}']", "description": "", "templateType": "anything", "can_override": false}, "ek2": {"name": "ek2", "group": "Ungrouped variables", "definition": "2*ek", "description": "", "templateType": "anything", "can_override": false}, "ek3": {"name": "ek3", "group": "Ungrouped variables", "definition": "ek/2", "description": "", "templateType": "anything", "can_override": false}, "ec2": {"name": "ec2", "group": "Ungrouped variables", "definition": "ec*(-1)", "description": "", "templateType": "anything", "can_override": false}, "defs": {"name": "defs", "group": "Ungrouped variables", "definition": "[\n ['a',ea],['b',eb],['c',ec],['k',ek],['xm',6],['ym',40]\n ]", "description": "", "templateType": "anything", "can_override": false}, "choosesign2": {"name": "choosesign2", "group": "Ungrouped variables", "definition": "sign2[sgn(ec2)+1]", "description": "", "templateType": "anything", "can_override": false}, "sign2": {"name": "sign2", "group": "Ungrouped variables", "definition": "['{ec2}','','+ {ec2}']", "description": "", "templateType": "anything", "can_override": false}, "directions": {"name": "directions", "group": "Ungrouped variables", "definition": "['decreasing','increasing']", "description": "", "templateType": "anything", "can_override": false}, "direction": {"name": "direction", "group": "Ungrouped variables", "definition": "directions[(eb+1)/2]", "description": "", "templateType": "anything", "can_override": false}, "pmprefixes": {"name": "pmprefixes", "group": "Ungrouped variables", "definition": "['a -','nothing (meaning +)']", "description": "", "templateType": "anything", "can_override": false}, "pmprefix": {"name": "pmprefix", "group": "Ungrouped variables", "definition": "pmprefixes[(eb+1)/2]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["ek", "ea", "chooseprefix", "choosesign", "eb", "ec", "prefix", "", "sign", "ek2", "ek3", "ec2", "defs", "choosesign2", "sign2", "directions", "direction", "pmprefixes", "pmprefix"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Which equation describes this exponential graph?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$y = \\var{ek} \\times \\var{ea}^{\\var{chooseprefix} x} \\var{choosesign}$", "$y = \\var{ek2} \\times \\var{ea}^{\\var{chooseprefix} x} \\var{choosesign}$", "$y = \\var{ek3} \\times \\var{ea}^{\\var{chooseprefix} x} \\var{choosesign}$", "$y = \\var{ek2} \\times \\var{ea}^{\\var{chooseprefix} x} \\var{choosesign2}$"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "identify the parabola 2", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Student is shown a graph with a parabola and asked to identify the correct equation. Multiple choice question.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Identify the equation that matches the graph

", "advice": "

The parabola's axis of symmetry is the $y$-axis. The parabola cuts the $y$-axis at $y = \\var{c1}$, so the value of $c$ in the formula is $\\var{c1}$.

\n

The parabola is concave {concavity}, so the value of $a$ is {posneg}. This means that the correct formula for the parabola is $y = \\var{dispa1} x^2${dispc1}.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a1": {"name": "a1", "group": "Ungrouped variables", "definition": "random(-3,-2,-1,1,2,3)", "description": "", "templateType": "anything", "can_override": false}, "a2": {"name": "a2", "group": "Ungrouped variables", "definition": "a1 * (-1)", "description": "", "templateType": "anything", "can_override": false}, "c1": {"name": "c1", "group": "Ungrouped variables", "definition": "random(-3,-2,-1,1,2,3)", "description": "", "templateType": "anything", "can_override": false}, "c2": {"name": "c2", "group": "Ungrouped variables", "definition": "c1*(-1)", "description": "", "templateType": "anything", "can_override": false}, "pdefs1": {"name": "pdefs1", "group": "Ungrouped variables", "definition": "[\n ['a',a1],['b',0],['c',c1]\n ]", "description": "", "templateType": "anything", "can_override": false}, "signc": {"name": "signc", "group": "Ungrouped variables", "definition": "['- {abs(c2)}','','+ {abs(c2)}']", "description": "", "templateType": "anything", "can_override": false}, "dispc2": {"name": "dispc2", "group": "Ungrouped variables", "definition": "signc[sgn(c2)+1]", "description": "", "templateType": "anything", "can_override": false}, "dispc1": {"name": "dispc1", "group": "Ungrouped variables", "definition": "signc[sgn(c1)+1]", "description": "", "templateType": "anything", "can_override": false}, "signa": {"name": "signa", "group": "Ungrouped variables", "definition": "['-','','']", "description": "", "templateType": "anything", "can_override": false}, "dispa1": {"name": "dispa1", "group": "Ungrouped variables", "definition": "signa[sgn(a1)+1]", "description": "", "templateType": "anything", "can_override": false}, "dispa2": {"name": "dispa2", "group": "Ungrouped variables", "definition": "signa[sgn(a2)+1]", "description": "", "templateType": "anything", "can_override": false}, "concavitytypes": {"name": "concavitytypes", "group": "Ungrouped variables", "definition": "['down','','up']", "description": "", "templateType": "anything", "can_override": false}, "concavity": {"name": "concavity", "group": "Ungrouped variables", "definition": "concavitytypes[sgn(a1)+1]", "description": "", "templateType": "anything", "can_override": false}, "atypes": {"name": "atypes", "group": "Ungrouped variables", "definition": "['negative','','positive']", "description": "", "templateType": "anything", "can_override": false}, "posneg": {"name": "posneg", "group": "Ungrouped variables", "definition": "atypes[sgn(a1)+1]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a1", "a2", "c1", "c2", "pdefs1", "signc", "dispc2", "dispc1", "signa", "dispa1", "dispa2", "concavitytypes", "concavity", "atypes", "posneg"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Which of these equations matches this graph?

\n
{geogebra_applet('https://www.geogebra.org/m/vscpgws8',pdefs1)}
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$y = \\var{dispa1} x^2${dispc1}", "$y = \\var{dispa1} x^2${dispc2}", "$y = \\var{dispa2} x^2${dispc1}", "$y = \\var{dispa2} x^2${dispc2}"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "identify the exponential 2", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are shown an exponential graph and asked to identify its equation from 4 choices.

\n

The graph is randomised.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Identify the equation that matches the graph

", "advice": "

This exponential function has an asymptote at $\\var{c}$, so $c=\\var{c}$.

\n

It cuts the $x$-axis at $c + k =  \\var{c+k}$, so $k = \\var{c+k} - (\\var{c}) = \\var{k}$.

\n

Finally the curve is {updownval}, which means that the value of the exponent is {posnegval}.

\n

So the correct equation is $y=\\var{k} \\times \\var{a}^{\\var{bsgn}x} \\var{csgn} \\var{c}$

\n

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"defs1": {"name": "defs1", "group": "Ungrouped variables", "definition": "[\n ['a',a],['b',b],['c',c],['k',k]\n ]", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(11..19)/10", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-1,1)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-3,-2,-1,1,2,3)", "description": "", "templateType": "anything", "can_override": false}, "k": {"name": "k", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "", "templateType": "anything", "can_override": false}, "possgn": {"name": "possgn", "group": "Ungrouped variables", "definition": "['','','+']", "description": "", "templateType": "anything", "can_override": false}, "bsgn": {"name": "bsgn", "group": "Ungrouped variables", "definition": "negsgn[sgn(b)+1]", "description": "", "templateType": "anything", "can_override": false}, "csgn": {"name": "csgn", "group": "Ungrouped variables", "definition": "possgn[sgn(c)+1]", "description": "", "templateType": "anything", "can_override": false}, "negsgn": {"name": "negsgn", "group": "Ungrouped variables", "definition": "[\"-\",\"\",\"\"]", "description": "", "templateType": "anything", "can_override": false}, "updown": {"name": "updown", "group": "Ungrouped variables", "definition": "['decaying','','growing']", "description": "", "templateType": "anything", "can_override": false}, "updownval": {"name": "updownval", "group": "Ungrouped variables", "definition": "updown[sgn(b)+1]", "description": "", "templateType": "anything", "can_override": false}, "posneg": {"name": "posneg", "group": "Ungrouped variables", "definition": "['negative','','positive']", "description": "", "templateType": "anything", "can_override": false}, "posnegval": {"name": "posnegval", "group": "Ungrouped variables", "definition": "posneg[sgn(b)+1]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["defs1", "a", "b", "c", "k", "possgn", "bsgn", "csgn", "negsgn", "updown", "updownval", "posneg", "posnegval"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Which of these equations matches this graph?

\n
{geogebra_applet('https://www.geogebra.org/m/peeue5xr',defs1)}
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$y=\\var{k} \\times \\var{a}^{\\var{bsgn}x} \\var{csgn} \\var{c}$", "$y=\\var{k}^{\\var{bsgn}x}\\var{csgn} \\var{c}$", "$y=\\var{k} \\times \\var{a}^{\\var{negsgn[sgn(b)*(-1)+1]}x}\\var{csgn} \\var{c}$", "$y=\\var{k+c} \\times \\var{a}^{\\var{bsgn}x}$"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "identify the hyperbola 2", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are given a hyperbolic graph and asked to select the correct equation from 4 choices.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Select the correct equation.

", "advice": "

The hyperbola has an asymptote at $\\var{c}$, so $c=\\var{c}$

\n

The hyperbola has a branch in the top {location} so $a$ must be {posneg}.

\n

Therefore the equation of the hyperbola is $y=\\frac{\\var{a}}{x} \\var{csgn} \\var{c}$.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(-5,-4,-3,-2,-1,1,2,3,4,5)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-3,-2,-1,1,2,3)", "description": "", "templateType": "anything", "can_override": false}, "negsgn": {"name": "negsgn", "group": "Ungrouped variables", "definition": "['-','','']", "description": "", "templateType": "anything", "can_override": false}, "defs1": {"name": "defs1", "group": "Ungrouped variables", "definition": "[\n ['a',a],['c',c]\n ]", "description": "", "templateType": "anything", "can_override": false}, "possgn": {"name": "possgn", "group": "Ungrouped variables", "definition": "['','','+']", "description": "", "templateType": "anything", "can_override": false}, "csgn": {"name": "csgn", "group": "Ungrouped variables", "definition": "possgn[sgn(c)+1]", "description": "", "templateType": "anything", "can_override": false}, "c2": {"name": "c2", "group": "Ungrouped variables", "definition": "c*(-1)", "description": "", "templateType": "anything", "can_override": false}, "c2sgn": {"name": "c2sgn", "group": "Ungrouped variables", "definition": "possgn[sgn(c2)+1]", "description": "", "templateType": "anything", "can_override": false}, "locationoptions": {"name": "locationoptions", "group": "Ungrouped variables", "definition": "['left','','right']", "description": "", "templateType": "anything", "can_override": false}, "location": {"name": "location", "group": "Ungrouped variables", "definition": "locationoptions[sgn(a)+1]", "description": "", "templateType": "anything", "can_override": false}, "posnegoptions": {"name": "posnegoptions", "group": "Ungrouped variables", "definition": "['negative','','positive']", "description": "", "templateType": "anything", "can_override": false}, "posneg": {"name": "posneg", "group": "Ungrouped variables", "definition": "posnegoptions[sgn(a)+1]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "c", "negsgn", "defs1", "possgn", "csgn", "c2", "c2sgn", "locationoptions", "location", "posnegoptions", "posneg"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Select the equation that represents this graph.

\n
{geogebra_applet('https://www.geogebra.org/m/rpahpr69',defs1)}
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$y=\\frac{\\var{a}}{x} \\var{csgn} \\var{c}$", "$y=\\frac{\\var{a*(-1)}}{x} \\var{csgn} \\var{c}$", "$y=\\frac{\\var{a}}{x} \\var{c2sgn} \\var{c2}$", "$y=\\frac{\\var{a*(-1)}}{x} \\var{c2sgn} \\var{c2}$"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "identify the nonlinear graph", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are given equations for a line, a parabola, a hyperbola and an exponential, and their respective graphs and are asked to match them.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Match the equations with the graphs

\n

", "advice": "

In order to answer this question you need to have learnt the shapes and equations for these four types of relationships.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"pa": {"name": "pa", "group": "Ungrouped variables", "definition": "random(-1,1)", "description": "", "templateType": "anything", "can_override": false}, "pb": {"name": "pb", "group": "Ungrouped variables", "definition": "random(-3,-2,-1,1,2,3)", "description": "", "templateType": "anything", "can_override": false}, "pc": {"name": "pc", "group": "Ungrouped variables", "definition": "random(-3,-2,-1,1,2,3)", "description": "", "templateType": "anything", "can_override": false}, "pdefs": {"name": "pdefs", "group": "Ungrouped variables", "definition": "[\n ['a',pa],['b',pb],['c',pc]\n ]", "description": "", "templateType": "anything", "can_override": false}, "psignb": {"name": "psignb", "group": "Ungrouped variables", "definition": "['-3','-2','-','','+','+2','+3']", "description": "", "templateType": "anything", "can_override": false}, "psignc": {"name": "psignc", "group": "Ungrouped variables", "definition": "['{pc}','','+ {pc}']", "description": "", "templateType": "anything", "can_override": false}, "pdispb": {"name": "pdispb", "group": "Ungrouped variables", "definition": "psignb[pb+3]", "description": "", "templateType": "anything", "can_override": false}, "pdispc": {"name": "pdispc", "group": "Ungrouped variables", "definition": "psignc[sgn(pc)+1]", "description": "", "templateType": "anything", "can_override": false}, "psigna": {"name": "psigna", "group": "Ungrouped variables", "definition": "['-','','']", "description": "", "templateType": "anything", "can_override": false}, "pdispa": {"name": "pdispa", "group": "Ungrouped variables", "definition": "psigna[sgn(pa)+1]", "description": "", "templateType": "anything", "can_override": false}, "ea": {"name": "ea", "group": "Ungrouped variables", "definition": "random(11..60)/10", "description": "", "templateType": "anything", "can_override": false}, "edefs": {"name": "edefs", "group": "Ungrouped variables", "definition": "[\n ['a',ea],['b',eb],['c',0],['k',1]\n ]", "description": "", "templateType": "anything", "can_override": false}, "ha": {"name": "ha", "group": "Ungrouped variables", "definition": "random(-5,-3,3,5)", "description": "", "templateType": "anything", "can_override": false}, "hc": {"name": "hc", "group": "Ungrouped variables", "definition": "random(-3,-2,-1,1,2,3)", "description": "", "templateType": "anything", "can_override": false}, "hcstrings": {"name": "hcstrings", "group": "Ungrouped variables", "definition": "['-3','-2','-1','','+1','+2','+3']", "description": "", "templateType": "anything", "can_override": false}, "hdispc": {"name": "hdispc", "group": "Ungrouped variables", "definition": "hcstrings[hc+3]", "description": "", "templateType": "anything", "can_override": false}, "hdefs": {"name": "hdefs", "group": "Ungrouped variables", "definition": "[\n ['a',ha],['c',hc]\n ]", "description": "", "templateType": "anything", "can_override": false}, "eb": {"name": "eb", "group": "Ungrouped variables", "definition": "random(-1,1)", "description": "", "templateType": "anything", "can_override": false}, "dispebstring": {"name": "dispebstring", "group": "Ungrouped variables", "definition": "['-','','']", "description": "", "templateType": "anything", "can_override": false}, "diseb": {"name": "diseb", "group": "Ungrouped variables", "definition": "dispebstring[eb+1]", "description": "", "templateType": "anything", "can_override": false}, "m": {"name": "m", "group": "Ungrouped variables", "definition": "random(-3,-2,-1,1,2,3)", "description": "", "templateType": "anything", "can_override": false}, "lb": {"name": "lb", "group": "Ungrouped variables", "definition": "random(-3..3)", "description": "", "templateType": "anything", "can_override": false}, "edispbstring": {"name": "edispbstring", "group": "Ungrouped variables", "definition": "['-','','']", "description": "", "templateType": "anything", "can_override": false}, "edispb": {"name": "edispb", "group": "Ungrouped variables", "definition": "edispbstring[eb+1]", "description": "", "templateType": "anything", "can_override": false}, "ldispbstring": {"name": "ldispbstring", "group": "Ungrouped variables", "definition": "['-3','-2','-1','0','+1','+2','+3']", "description": "", "templateType": "anything", "can_override": false}, "ldispb": {"name": "ldispb", "group": "Ungrouped variables", "definition": "ldispbstring[lb+3]", "description": "", "templateType": "anything", "can_override": false}, "ldefs": {"name": "ldefs", "group": "Ungrouped variables", "definition": "[\n ['a',m],['b',lb]\n ]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["pa", "pb", "pc", "pdefs", "psignb", "psignc", "pdispb", "pdispc", "psigna", "pdispa", "ea", "edefs", "ha", "hc", "hcstrings", "hdispc", "hdefs", "eb", "dispebstring", "diseb", "m", "lb", "edispbstring", "edispb", "ldispbstring", "ldispb", "ldefs"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "m_n_x", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "minAnswers": 0, "maxAnswers": 0, "shuffleChoices": true, "shuffleAnswers": true, "displayType": "radiogroup", "warningType": "none", "showCellAnswerState": true, "markingMethod": "sum ticked cells", "choices": ["$y = \\var{m} x  \\var{ldispb}$", "$y = \\var{ea} ^{\\var{edispb} x}$", "$y = \\frac{\\var{ha}}{x}  \\var{hdispc}$", "$y = \\var{pdispa} x^2 \\var{pdispb} x \\var{pdispc}$"], "matrix": [["1", 0, 0, 0], [0, "1", 0, 0], [0, 0, "1", 0], [0, 0, 0, "1"]], "layout": {"type": "all", "expression": ""}, "answers": ["
{geogebra_applet('https://www.geogebra.org/m/pdapbxee',ldefs)}
", "
{geogebra_applet('https://www.geogebra.org/m/peeue5xr',edefs)}
", "
{geogebra_applet('https://www.geogebra.org/m/rpahpr69',hdefs)}
", "
{geogebra_applet('https://www.geogebra.org/m/vscpgws8',pdefs)}
"]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Stopping distance of a car", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are given a formula and asked to evaluate it for a given input value, which is randomised.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

The stopping distance of a car, $d$, in metres, can be estimated using the formula $d = \\frac{v^2}{11}$, where $v$ is the speed of the car in metres per second.

", "advice": "

The speed of the car is given by $\\frac{\\var{v} \\times \\var{v}}{11} = \\var{round(v*v/11)}$ m

", "rulesets": {}, "variables": {"v": {"name": "v", "group": "Ungrouped variables", "definition": "random(11..28)", "description": "

speed in m/s

", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["v"], "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, "exploreObjective": null, "prompt": "

What is the stopping distance in metres, if the car is travelling at {v} m/s?

\n

Give your answer rounded to the nearest metre.

", "minValue": "round({v}*{v}/11)", "maxValue": "round({v}*{v}/11)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Identify the y-intercept of an exponential function", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are given an exponential equation and asked to identify the y-intercept from a list of choices.

\n

The constants in the exponential equation have been randomised.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

What is the $y$-intercept of the exponential function $y=\\var{k} \\times \\var{a}^{\\var{bdisplay}x}$?

", "advice": "

Every exponential of the form $y=a^x$ or $y=a^{-x}$ passes through the point $(0,1)$.

\n

When the equation is multiplied by a constant, $k$, the $y$-intercept moves to pass through the point $(0,k)$.

\n

So this exponential has a $y$-intercept of $(0,\\var{k})$ 

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(11 .. 20)/10", "description": "

exponent base

", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-1,1)", "description": "", "templateType": "anything", "can_override": false}, "k": {"name": "k", "group": "Ungrouped variables", "definition": "random(21 .. 50)/10", "description": "", "templateType": "anything", "can_override": false}, "bdspchoices": {"name": "bdspchoices", "group": "Ungrouped variables", "definition": "['-','','']", "description": "

if b is -1 then display an index of -x. Otherwise just display x.

", "templateType": "anything", "can_override": false}, "bdisplay": {"name": "bdisplay", "group": "Ungrouped variables", "definition": "bdspchoices[sgn(b)+1]", "description": "

if b is -1 then display an index of -x. Otherwise just display x.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "k", "bdspchoices", "bdisplay"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$(0,\\var{k})$", "$(0,\\var{a})$", "$(0,1)$", "$(0,0)$"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Draw an exponential", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are asked to draw an exponential from an equation by drawing a table of graphs and plotting them.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

This question asks you to draw a graph. You need to mark your own work for this question after you have done it.

", "advice": "

$y=\\var{a}^x \\var{cdisp}$

\n

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$x$012345
$y${k+c}{k*a+c}{k*a^2+c}{k*a^3+c}{k*a^4+c}{k*a^5+c}
\n

\n

{geogebra_applet('https://www.geogebra.org/m/fyfns8hu',defs)}

", "rulesets": {}, "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(11..19)/10", "description": "", "templateType": "anything"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-1..3)", "description": "", "templateType": "anything"}, "cdispoptions": {"name": "cdispoptions", "group": "Ungrouped variables", "definition": "['-3','-2','-1','','+1','+2','+3']", "description": "", "templateType": "anything"}, "cdisp": {"name": "cdisp", "group": "Ungrouped variables", "definition": "cdispoptions[c+3]", "description": "", "templateType": "anything"}, "defs": {"name": "defs", "group": "Ungrouped variables", "definition": "[\n ['k',k],['a',a],['b',1],['c',c],['xm',6],['ym',maxval * 1.1]\n ]", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-1,1)", "description": "", "templateType": "anything"}, "negdisp": {"name": "negdisp", "group": "Ungrouped variables", "definition": "['-','','']", "description": "", "templateType": "anything"}, "bdisp": {"name": "bdisp", "group": "Ungrouped variables", "definition": "negdisp[sgn(b)+1]", "description": "", "templateType": "anything"}, "k": {"name": "k", "group": "Ungrouped variables", "definition": "1", "description": "", "templateType": "anything"}, "maxval": {"name": "maxval", "group": "Ungrouped variables", "definition": "k*a^5+c", "description": "

The maximum value to be plotted

", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "c", "cdispoptions", "cdisp", "defs", "b", "negdisp", "bdisp", "k", "maxval"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Generate a table of values and use these to plot a graph of $y=\\var{a}^x \\var{cdisp}$ between $x=0$ and $x=5$.

\n

Click on the \"Reveal Answers\" button to see a solution

"}], "partsMode": "explore", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Draw a inverse relationship", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are asked to draw a hyperbola from an equation by drawing a table of graphs and plotting them.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

This question asks you to draw a graph. You need to mark your own work for this question after you have done it.

", "advice": "

$y=\\frac{\\var{a}}{x}$

\n

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$x$012345
$y$\n

undefined:

\n

$y=0$ is an asymptote

\n
{a}{a/2}{a/3}{a/4}{a/5}
\n

\n

{geogebra_applet('https://www.geogebra.org/m/w8tssh2t',defs)}

", "rulesets": {}, "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1,2,3,4,5)", "description": "", "templateType": "anything"}, "defs": {"name": "defs", "group": "Ungrouped variables", "definition": "[\n ['a',a], ['c',0],['xmin',-1],['ymin',-1],['xmax',6],['ymax',2*a]\n ]", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "defs"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Generate a table of values and use these to plot a graph of $y=\\frac{\\var{a}}{x}$ between $x=0$ and $x=5$.

\n

Click on the \"Reveal Answers\" button to see a solution

"}], "partsMode": "explore", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Draw a parabola", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are asked to draw a parabola from an equation by drawing a table of graphs and plotting them.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

This question asks you to draw a graph. You need to mark your own work for this question after you have done it.

", "advice": "

$y=\\var{a}x^2 \\var{cdisp}$

\n

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$x$-10-8-6-4-20246810
$y${a*100+c}{a*64+c}{a*36+c}{a*16+c}{a*4+c}{c}{a*4+c}{a*16+c}{a*36+c}{a*64+c}{a*100+c}
\n

\n

{geogebra_applet('https://www.geogebra.org/m/wu4fe7gg',defs)}

", "rulesets": {}, "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(-0.3,-0.2,-0.1,0.1,0.2,0.3)", "description": "", "templateType": "anything"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-3..3)", "description": "", "templateType": "anything"}, "cdispoptions": {"name": "cdispoptions", "group": "Ungrouped variables", "definition": "['-3','-2','-1','','+1','+2','+3']", "description": "", "templateType": "anything"}, "cdisp": {"name": "cdisp", "group": "Ungrouped variables", "definition": "cdispoptions[c+3]", "description": "", "templateType": "anything"}, "defs": {"name": "defs", "group": "Ungrouped variables", "definition": "[\n ['a',a],['b',0],['c',c]\n ]", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "c", "cdispoptions", "cdisp", "defs"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Generate a table of values and use these to plot a graph of $y=\\var{a}x^2 \\var{cdisp}$ between $x=-10$ and $x=10$.

\n

Click on the \"Reveal Answers\" button to see a solution

"}], "partsMode": "explore", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Identify the point lying on a parabola", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are given a parabola equation and 4 points. They need to determine which point lies on the parabola.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Which of the following points lies on the parabola $y = \\var{a} x^2 - \\var{b}x - \\var{c}$?

", "advice": "

The best way to approach this is to substitute the points into the equation and see which one works.

\n

You will observe that in all four choices, $x = \\var{x}$.

\n

If we substitute $x=\\var{x}$ into the equation $y = \\var{a} x^2 - \\var{b} x -\\var{c}$ we find that $y = \\var{a*x*x-b*x-c})$.

\n

So the point that lieson the parabola is $(\\var{x},\\var{a*x*x-b*x-c})$.

\n

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(-5,-4,-3,-2,2,3,4,5)", "description": "

parabola constant

", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(2..5)", "description": "

parabola constant

", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "

parabola constant

", "templateType": "anything", "can_override": false}, "x": {"name": "x", "group": "Ungrouped variables", "definition": "random(-2,-1,0,1,2)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "x"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$(\\var{x},\\var{(a*x*x)-(b*x)-c})$", "$(\\var{x},\\var{a*x*x+b*x+c})$", "$(\\var{x},\\var{-a*x*x+b*x+c})$", "$(\\var{x},\\var{-a*x*x-b*x-c})$"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}, {"name": "Group", "pickingStrategy": "random-subset", "pickQuestions": "2", "questionNames": ["", "", "", "", "", "", "", ""], "questions": [{"name": "Exponential population growth from formula", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are given an exponential equation and asked to evaluate it at two points.

\n

The constants in the exponential are randomised.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

A population of {objects} has a population, $P$, that can be described by the function $P = \\var{k} \\times \\var{a}^t $, where $t$ is the time in {timeperiod}.

", "advice": "

When $t=0$,

\n

$  P = \\var{k} \\times \\var{a}^t = \\var{k} \\times \\var{a}^0 = 1$

\n

When $t = \\var{time}$,

\n

$P = \\var{k} \\times \\var{a}^\\var{time} = \\var{answer_raw}$

\n

When this is rounded to the nearest whole number, we get

\n

$P = \\var{answer}$

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"objectlist": {"name": "objectlist", "group": "Ungrouped variables", "definition": "['bacteria','ants','moths','viruses','mould spores']", "description": "", "templateType": "anything", "can_override": false}, "objectchoice": {"name": "objectchoice", "group": "Ungrouped variables", "definition": "random(0..4)", "description": "", "templateType": "anything", "can_override": false}, "object": {"name": "object", "group": "Ungrouped variables", "definition": "objectlist[objectchoice]", "description": "", "templateType": "anything", "can_override": false}, "timeperiodlist": {"name": "timeperiodlist", "group": "Ungrouped variables", "definition": "['days','weeks','months','years']", "description": "", "templateType": "anything", "can_override": false}, "timeperiodchoice": {"name": "timeperiodchoice", "group": "Ungrouped variables", "definition": "random(0..3)", "description": "", "templateType": "anything", "can_override": false}, "timeperiod": {"name": "timeperiod", "group": "Ungrouped variables", "definition": "timeperiodlist[timeperiodchoice]", "description": "", "templateType": "anything", "can_override": false}, "k": {"name": "k", "group": "Ungrouped variables", "definition": "random(1..10000)", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(11..50)/10", "description": "", "templateType": "anything", "can_override": false}, "time": {"name": "time", "group": "Ungrouped variables", "definition": "random(2..15)", "description": "", "templateType": "anything", "can_override": false}, "answer_raw": {"name": "answer_raw", "group": "Ungrouped variables", "definition": "k*a^time", "description": "", "templateType": "anything", "can_override": false}, "answer": {"name": "answer", "group": "Ungrouped variables", "definition": "round(answer_raw)", "description": "", "templateType": "anything", "can_override": false}, "objects": {"name": "objects", "group": "Ungrouped variables", "definition": "", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["objectlist", "objectchoice", "object", "timeperiodlist", "timeperiodchoice", "timeperiod", "k", "a", "time", "answer_raw", "answer", "objects"], "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, "exploreObjective": null, "prompt": "

What is the initial population, $P$, when $t$ = 0?

", "minValue": "{k}", "maxValue": "{k}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the population, $P$, when $t = \\var{time}$ {timeperiod}

\n

Round your answer to the nearest whole number.

", "minValue": "round({k}*{a}^{time})", "maxValue": "round({k}*{a}^{time})", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Exponential population growth from graph", "extensions": ["geogebra"], "custom_part_types": [{"source": {"pk": 1, "author": {"name": "Christian Lawson-Perfect", "pk": 7}, "edit_page": "/part_type/1/edit"}, "name": "Yes/no", "short_name": "yes-no", "description": "

The student is shown two radio choices: \"Yes\" and \"No\". One of them is correct.

", "help_url": "", "input_widget": "radios", "input_options": {"correctAnswer": "if(eval(settings[\"correct_answer_expr\"]), 0, 1)", "hint": {"static": true, "value": ""}, "choices": {"static": true, "value": ["Yes", "No"]}}, "can_be_gap": true, "can_be_step": true, "marking_script": "mark:\nif(studentanswer=correct_answer,\n correct(),\n incorrect()\n)\n\ninterpreted_answer:\nstudentAnswer=0\n\ncorrect_answer:\nif(eval(settings[\"correct_answer_expr\"]),0,1)", "marking_notes": [{"name": "mark", "description": "This is the main marking note. It should award credit and provide feedback based on the student's answer.", "definition": "if(studentanswer=correct_answer,\n correct(),\n incorrect()\n)"}, {"name": "interpreted_answer", "description": "A value representing the student's answer to this part.", "definition": "studentAnswer=0"}, {"name": "correct_answer", "description": "", "definition": "if(eval(settings[\"correct_answer_expr\"]),0,1)"}], "settings": [{"name": "correct_answer_expr", "label": "Is the answer \"Yes\"?", "help_url": "", "hint": "An expression which evaluates to true or false.", "input_type": "mathematical_expression", "default_value": "true", "subvars": false}], "public_availability": "always", "published": true, "extensions": []}], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

The student is shown an exponential graph and asked to evaluate the function at some given value.

\n

They are also asked whether or not the model is valid for all real inputs, but they only give a yes/no response. The reasoning is explained in the advice but is not required from students.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

The following graph shows the growth of a population, $P$ of {object} as a function of time, $t$, given in {timeperiod}.

", "advice": "

The value of $P$ when $t=\\var{time}$ can be read off the graph.

\n

We go along the horizontal axis until we find $\\var{time}$.

\n

Then we go vertically up until we meet the graph.

\n

Then we go left until we reach the vertical axis, and we read off the value there, which is approximately $\\var{answer1}$.

\n

This graph is not valid as a model for all values of $t$.

\n

Firstly, it does not normally make sense to talk about negative values of time, so the graph is only valid for $t \\geq 0$.

\n

Secondly, according to this graph, the population would keep increasing exponentially forever. This cannot be the case. At some point the population will slow down and/or stop its growth rate, and this model will no longer apply.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"objectlist": {"name": "objectlist", "group": "Ungrouped variables", "definition": "['bacteria','amoebas','virus particles','mould','cockroaches','aphids']", "description": "", "templateType": "anything", "can_override": false}, "objectchoice": {"name": "objectchoice", "group": "Ungrouped variables", "definition": "random(0..5)", "description": "", "templateType": "anything", "can_override": false}, "object": {"name": "object", "group": "Ungrouped variables", "definition": "objectlist[objectchoice]", "description": "", "templateType": "anything", "can_override": false}, "k": {"name": "k", "group": "Ungrouped variables", "definition": "random(1..3)", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2..4)", "description": "", "templateType": "anything", "can_override": false}, "defs": {"name": "defs", "group": "Ungrouped variables", "definition": "[\n ['k',k],['a',a],['b',1],['c',0],['xm',time + 1],['ym',ans + ceil(ans/10)]\n ]", "description": "", "templateType": "anything", "can_override": false}, "ans": {"name": "ans", "group": "Ungrouped variables", "definition": "k * a^time", "description": "", "templateType": "anything", "can_override": false}, "time": {"name": "time", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "", "templateType": "anything", "can_override": false}, "timeperiodlist": {"name": "timeperiodlist", "group": "Ungrouped variables", "definition": "['hours','days','weeks','months','years']", "description": "", "templateType": "anything", "can_override": false}, "answer1": {"name": "answer1", "group": "Ungrouped variables", "definition": "k*a^time", "description": "", "templateType": "anything", "can_override": false}, "answer2": {"name": "answer2", "group": "Ungrouped variables", "definition": "k*(a^time)/2", "description": "", "templateType": "anything", "can_override": false}, "answer3": {"name": "answer3", "group": "Ungrouped variables", "definition": "k*(a^time)*2", "description": "", "templateType": "anything", "can_override": false}, "answer4": {"name": "answer4", "group": "Ungrouped variables", "definition": "time", "description": "", "templateType": "anything", "can_override": false}, "timeperiodchoice": {"name": "timeperiodchoice", "group": "Ungrouped variables", "definition": "random(0..4)", "description": "", "templateType": "anything", "can_override": false}, "timeperiod": {"name": "timeperiod", "group": "Ungrouped variables", "definition": "timeperiodlist[timeperiodchoice]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["objectlist", "objectchoice", "object", "k", "a", "defs", "ans", "time", "timeperiodlist", "answer1", "answer2", "answer3", "answer4", "timeperiodchoice", "timeperiod"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

{geogebra_applet('https://www.geogebra.org/m/fyfns8hu',defs)}

"}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the value of the population $P$ after $\\var{time}$ {timeperiod}? 

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["{answer1}", "{answer2}", "{answer3}", "{answer4}"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}, {"type": "yes-no", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Is this model valid for all values of $t$? Why or why not?

", "settings": {"correct_answer_expr": "false"}}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Compound interest from graph", "extensions": [], "custom_part_types": [], "resources": [["question-resources/exp1.png", "/srv/numbas/media/question-resources/exp1.png"], ["question-resources/exp2.png", "/srv/numbas/media/question-resources/exp2.png"], ["question-resources/exp3.png", "/srv/numbas/media/question-resources/exp3.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Shows an exponential graph displaying the value of an investment under compound interest. Students have to identify the type of graph and answer 3 questions about the value of the investment from the graph.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

The following graph shows the value of an investment that is compounded at {rates[idx]} % per annum. 

\n

The x-axis shows the time of investment in years, and the y-axis shows the investment value.

\n

{image('resources/question-resources/'+images[idx])}

", "advice": "

This is an exponential graph.

\n

The initial value of the investment is the value where the graph cuts the $y$-axis. This is the value of the investment when time = 0, at the start of the investment. This is \\${initials[idx]}.

\n

The investment starts at \\${initials[idx]} so to double it needs to reach \\${2*initials[idx]}.

\n

We find \\${2*initials[idx]} on the $y$-axis. Then we go across until we meet the graph. Then we go down to the $x$ axis and read off the value there. We need to be careful doing this, because the marker lines on the axis may not be 1 year apart. In this case, the marker lines are {gradations[idx]} apart, and the time for the investment to double is {doubles[idx]} years.

\n

Observe that {2*investment} = 2 $\\times$ {investment}.

\n

Because this is an exponential graph, the time taken for the investment to double is constant. Therefore the time taken for an initial investment of \\${investment} to reach \\${2*investment} is {doubles[idx]} years.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"images": {"name": "images", "group": "Ungrouped variables", "definition": "['exp1.png','exp2.png','exp3.png']", "description": "", "templateType": "anything", "can_override": false}, "rates": {"name": "rates", "group": "Ungrouped variables", "definition": "[5,2.5,8]", "description": "", "templateType": "anything", "can_override": false}, "initials": {"name": "initials", "group": "Ungrouped variables", "definition": "[1,20,100]", "description": "", "templateType": "anything", "can_override": false}, "idx": {"name": "idx", "group": "Ungrouped variables", "definition": "random(0..2)", "description": "", "templateType": "anything", "can_override": false}, "doubles": {"name": "doubles", "group": "Ungrouped variables", "definition": "[14,28,9]", "description": "", "templateType": "anything", "can_override": false}, "gradations": {"name": "gradations", "group": "Ungrouped variables", "definition": "['2 years','2 years','1 year']", "description": "", "templateType": "anything", "can_override": false}, "investment": {"name": "investment", "group": "Ungrouped variables", "definition": "random(1..10000)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["images", "rates", "initials", "idx", "doubles", "gradations", "investment"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What type of graph is this?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["exponential", "quadratic", "linear", "inverse"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the initial value of the investment in dollars?

", "minValue": "{initials[idx]}", "maxValue": "{initials[idx]}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

How many years does it take for the value of the investment to double?

", "minValue": "{doubles[idx]}", "maxValue": "{doubles[idx]}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

If \\${investment} was invested at this same interest rate, how many years would it take for the value of the investment to reach \\${2*investment}?

", "minValue": "{doubles[idx]}", "maxValue": "{doubles[idx]}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Compound interest from table", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Data from a compound interest are shown in a table. Students are asked to compute the value of an investment, and to identify the type of graph.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

A principal amount of \\${principal} was invested for {periods} {timeperiods[timeidx]}s at an interest rate of {rate}% per annum.

\n

The following table shows the amount that \\$1000 invested under the same scheme would be worth at the end of each {timeperiods[timeidx]}.

\n

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
{timeperiods[timeidx]}s012345678910
investment value ($)\\$1000{values[1]}{values[2]}{values[3]}{values[4]}{values[5]}{values[6]}{values[7]}{values[8]} {values[9]}{values[10]}
\n

   

", "advice": "

The value of \\$1000 invested for {periods} {timeperiods[timeidx]}s at an interest rate of {rate}% per annum is \\${round((1000 * (1 + eff_rate/100)^periods)*100)/100}.

\n

\n

The principal actually invested was {principal / 1000} times this investment, so we need to multiply this value by {principal / 1000}.

\n

{principal / 1000} $\\times$ \\${round((1000 (1 + eff_rate/100)^periods)*100)/100} = \\${(principal / 1000) * round(1000*((1 + eff_rate/100)^periods)*100)/100}.

\n

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"rate": {"name": "rate", "group": "Ungrouped variables", "definition": "random(1..10)", "description": "", "templateType": "anything", "can_override": false}, "timeperiods": {"name": "timeperiods", "group": "Ungrouped variables", "definition": "['day','month','quarter','year']", "description": "", "templateType": "anything", "can_override": false}, "timeidx": {"name": "timeidx", "group": "Ungrouped variables", "definition": "random(0..3)", "description": "", "templateType": "anything", "can_override": false}, "principal": {"name": "principal", "group": "Ungrouped variables", "definition": "random(1..10)*1000", "description": "", "templateType": "anything", "can_override": false}, "periods": {"name": "periods", "group": "Ungrouped variables", "definition": "random(2..10)", "description": "", "templateType": "anything", "can_override": false}, "effective_rates": {"name": "effective_rates", "group": "Ungrouped variables", "definition": "[rate/365,rate/12,rate/4,rate]", "description": "", "templateType": "anything", "can_override": false}, "eff_rate": {"name": "eff_rate", "group": "Ungrouped variables", "definition": "effective_rates[timeidx]", "description": "", "templateType": "anything", "can_override": false}, "values": {"name": "values", "group": "Ungrouped variables", "definition": "['$1000',\n currency(round((1000 * (1 + eff_rate/100))*100)/100,\"$\",\"\"),\n currency(round((1000 * (1 + eff_rate/100)^2)*100)/100,\"$\",\"\"),\n currency(round((1000 * (1 + eff_rate/100)^3)*100)/100,\"$\",\"\"),\n currency(round((1000 * (1 + eff_rate/100)^4)*100)/100,\"$\",\"\"),\n currency(round((1000 * (1 + eff_rate/100)^5)*100)/100,\"$\",\"\"),\n currency(round((1000 * (1 + eff_rate/100)^6)*100)/100,\"$\",\"\"),\n currency(round((1000 * (1 + eff_rate/100)^7)*100)/100,\"$\",\"\"),\n currency(round((1000 * (1 + eff_rate/100)^8)*100)/100,\"$\",\"\"),\n currency(round((1000 * (1 + eff_rate/100)^9)*100)/100,\"$\",\"\"),\n currency(round((1000 * (1 + eff_rate/100)^10)*100)/100,\"$\",\"\")\n ]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["rate", "timeperiods", "timeidx", "principal", "periods", "effective_rates", "eff_rate", "values"], "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, "exploreObjective": null, "prompt": "

What would the \\${principal} investment be worth at the end of {periods} {timeperiods[timeidx]}s?

\n

Give your answer to the nearest cent. Do not enter the dollar sign.

", "minValue": "{(principal / 1000) * round(1000*((1 + eff_rate/100)^periods)*100)/100}", "maxValue": "{(principal / 1000) * round(1000*((1 + eff_rate/100)^periods)*100)/100}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

If these data were plotted, what type of graph would they lie on?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["exponential", "parabola", "hyperbola", "straight line"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Compound interest from formula", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students are given a formula for compound interest and asked to evaluate it for given initial investment values.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

A formula for compound interest is given by: $V = I \\times (1+A)^t$,

\n

where

\n

$V$ is the value of the investment after $t$ years,

\n

$A$ is the interest rate per annum,

\n

$I$ is the amount invested.

", "advice": "

We need to calculate $ \\var{principal} \\times  (1 + \\var{rate})^\\var{years} = $ {answer}

\n

This is an exponentially increasing function.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"years": {"name": "years", "group": "Ungrouped variables", "definition": "random(2..10)", "description": "", "templateType": "anything", "can_override": false}, "rate": {"name": "rate", "group": "Ungrouped variables", "definition": "random(1..10)/100", "description": "", "templateType": "anything", "can_override": false}, "principal": {"name": "principal", "group": "Ungrouped variables", "definition": "random(1..10)*1000", "description": "", "templateType": "anything", "can_override": false}, "edef": {"name": "edef", "group": "Ungrouped variables", "definition": "[\n ['k',principal],['a',1+rate],['b',1],['c',0],['minx',0],['maxx',10],['miny',principal-200],['maxy',principal*(1+rate)^10+100]\n ]", "description": "", "templateType": "anything", "can_override": false}, "edef2": {"name": "edef2", "group": "Ungrouped variables", "definition": "[\n ['k',principal],['a',1+rate],['b',-1],['c',0],['minx',0],['maxx',10],['miny',principal*(1+rate)^(-10)-100],['maxy',principal+200]\n ]", "description": "", "templateType": "anything", "can_override": false}, "ldef": {"name": "ldef", "group": "Ungrouped variables", "definition": "[\n ['a',100],['b',principal],['minx',0],['maxx',10],['miny',principal-200],['maxy',principal+2000]\n ]", "description": "", "templateType": "anything", "can_override": false}, "ldef2": {"name": "ldef2", "group": "Ungrouped variables", "definition": "[\n ['a',-100],['b',principal],['minx',0],['maxx',10],['miny',principal-2000],['maxy',principal+200]\n ]", "description": "", "templateType": "anything", "can_override": false}, "answer": {"name": "answer", "group": "Ungrouped variables", "definition": "currency(principal * (1+rate)^years,\"$\",\"\")", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["years", "rate", "principal", "edef", "edef2", "ldef", "ldef2", "answer"], "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, "exploreObjective": null, "prompt": "

Compute the value of an investment after {years} years if \\${principal} is invested at an interest rate of {rate}.

\n

Give your answer in dollars and cents. Only enter the number; do not include the dollar sign in your answer.

", "minValue": "{principal * (1+rate)^years}", "maxValue": "{principal * (1+rate)^years}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Which type of curve best represents the value $V$ of this investment over time?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["{geogebra_applet('https://www.geogebra.org/m/ed9uzmve',edef)}", "{geogebra_applet('https://www.geogebra.org/m/ed9uzmve',edef2)}", "{geogebra_applet('https://www.geogebra.org/m/wma7gdyz',ldef)}", "{geogebra_applet('https://www.geogebra.org/m/wma7gdyz',ldef2)}"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "bill sharing", "extensions": [], "custom_part_types": [], "resources": [["question-resources/ShareHousehyp.png", "/srv/numbas/media/question-resources/ShareHousehyp.png"], ["question-resources/ShareHouseline.png", "/srv/numbas/media/question-resources/ShareHouseline.png"], ["question-resources/ShareHouseNegExp.png", "/srv/numbas/media/question-resources/ShareHouseNegExp.png"], ["question-resources/ShareHousePosExp.png", "/srv/numbas/media/question-resources/ShareHousePosExp.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

A bill (for a random amount) is divided equally between a number of people.

\n

Students evaluate the per-person cost for a random number of people.

\n

They then complete a table showing the cost per person for various numbers of people.

\n

Finally they are asked to identify the shape of the graph that represents this function. They are given 2 exponentials, a hyperbola and a line to choose from.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

A share-house contains {n} people.

\n

They receive a bill for \\${total}.

", "advice": "

Each person pays $\\var{total} \\div \\var{n} = \\var{total/n}$ When we round this to the nearest cent, each person pays {totalmoney}.

\n

As the number of people increases, the cost per person decreases.

\n

This is an inverse relationship which is represented by the positive half of a hyperbola. It has asymptotes at $x=0$ and $y=0$ so it never crosses the $y$-axis (unlike the decaying exponential function).

", "rulesets": {}, "variables": {"n": {"name": "n", "group": "Ungrouped variables", "definition": "random(2..6)", "description": "", "templateType": "anything"}, "total": {"name": "total", "group": "Ungrouped variables", "definition": "random(100..700)", "description": "", "templateType": "anything"}, "totalmoney": {"name": "totalmoney", "group": "Ungrouped variables", "definition": "currency(round(total*100/n)/100,'$','')", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["n", "total", "totalmoney"], "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, "exploreObjective": null, "prompt": "

If each person in the house pays an equal share of the bill, how much does each person pay?

\n

Give your answer in dollars, rounded to the nearest cent.

", "minValue": "round(total*100/n)/100", "maxValue": "round(total*100/n)/100", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Now let's explore what happens if there is a different number of people in the share-house.

\n

Complete this table showing how much each person has to pay in each case.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
number of people12345
amount to pay{total}[[0]][[1]][[2]][[3]]
", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "round(total*100/2)/100", "maxValue": "round(total*100/2)/100", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "round(total*100/3)/100", "maxValue": "round(total*100/3)/100", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "round(total*100/4)/100", "maxValue": "round(total*100/4)/100", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "round(total*100/5)/100", "maxValue": "round(total*100/5)/100", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Which of the following graphs could represent this relationship?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["", "", "", ""], "matrix": [0, 0, 0, "1"], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Calculate the distance an object falls in a given time under gravity on various planets.", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students need to substitute a value into an equation and solve it. The equation constant (gravity) and the value (time) are both randomised.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

On {planets[idx]}, the equation

\n

$d=\\var{gravities[idx]/2}t^2$

\n

can be used to express the distance ($d$ metres) that an object falls in $t$ seconds, if air resistance is ignored.

", "advice": "

The distance fallen is $d=\\var{gravities[idx]/2} \\var{t}^2 = \\var{d} $ metres, which is rounded off to $\\var{round(d)}$ metres.

", "rulesets": {}, "variables": {"planets": {"name": "planets", "group": "Ungrouped variables", "definition": "['Earth','Moon','Mercury','Venus','Mars','Jupiter','Saturn','Uranus','Neptune','Pluto']", "description": "", "templateType": "anything"}, "gravities": {"name": "gravities", "group": "Ungrouped variables", "definition": "[9.8,1.6,3.7,8.9,3.7,24.8,10.4,8.9,11.2,0.6]", "description": "", "templateType": "anything"}, "idx": {"name": "idx", "group": "Ungrouped variables", "definition": "random(0..9)", "description": "", "templateType": "anything"}, "t": {"name": "t", "group": "Ungrouped variables", "definition": "random(0..30)", "description": "

fall time in seconds

", "templateType": "anything"}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "gravities[idx]/2*t*t", "description": "

Fall distance

", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["planets", "gravities", "idx", "t", "d"], "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, "exploreObjective": null, "prompt": "

How far does an object fall in {t} seconds on {planets[idx]}?

\n

Round your answer to the nearest whole number of metres.

", "minValue": "round(d)", "maxValue": "round(d)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Maximising the area of a rectangle", "extensions": [], "custom_part_types": [], "resources": [["question-resources/areaparabola.svg", "/srv/numbas/media/question-resources/areaparabola.svg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Students explore the relationship between length and area of a rectangle.

\n

The perimeter of the rectangle is randomised. Students are given 11 different lengths, and asked to compute rectangle width and area for each. They are then asked to graph the function, identify it as a parabola, and estimate the maximum value.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

You have $\\var{p}$ metres of fencing with which to build a rectangular pen.

\n

You are going to explore the amount of area within the pen that you can achieve with different side lengths.

", "advice": "

$Perimeter = 2 \\times length + 2 \\times width$.

\n

So $width = (perimeter - 2 \\times length)\\div 2$

\n

$Area = length \\times width$

\n

The graph of area plotted against length looks like this:

\n

\n

This is a parabola.

\n

The maximum value from the table is {maxareafromtable}. The maximum area from the graph occurs when the length is {xmax} and is equal to {ymax}.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"p": {"name": "p", "group": "rectangle parameters", "definition": "random(6..20)*4", "description": "

the perimeter

", "templateType": "anything", "can_override": false}, "lengths": {"name": "lengths", "group": "rectangle parameters", "definition": "[l1,l1+lstep,l1+2*lstep,l1+3*lstep,l1+4*lstep,l1+5*lstep,l1+6*lstep,l1+7*lstep,l1+8*lstep,l1+9*lstep,l1+10*lstep]", "description": "

first length

", "templateType": "anything", "can_override": false}, "lstep": {"name": "lstep", "group": "rectangle parameters", "definition": "floor(((p/2)-2)/10)", "description": "", "templateType": "anything", "can_override": false}, "widths": {"name": "widths", "group": "rectangle parameters", "definition": "[(p-2*lengths[0])/2,(p-2*lengths[1])/2,(p-2*lengths[2])/2,(p-2*lengths[3])/2,(p-2*lengths[4])/2,(p-2*lengths[5])/2,(p-2*lengths[6])/2,(p-2*lengths[7])/2,(p-2*lengths[8])/2,(p-2*lengths[9])/2,(p-2*lengths[10])/2]", "description": "", "templateType": "anything", "can_override": false}, "areas": {"name": "areas", "group": "rectangle parameters", "definition": "[lengths[0]*widths[0],lengths[1]*widths[1],lengths[2]*widths[2],lengths[3]*widths[3],lengths[4]*widths[4],lengths[5]*widths[5],lengths[6]*widths[6],lengths[7]*widths[7],lengths[8]*widths[8],lengths[9]*widths[9],lengths[10]*widths[10]]", "description": "", "templateType": "anything", "can_override": false}, "maxareafromtable": {"name": "maxareafromtable", "group": "rectangle parameters", "definition": "max(areas)", "description": "", "templateType": "anything", "can_override": false}, "maxarea": {"name": "maxarea", "group": "rectangle parameters", "definition": "(p/4)*(p/4)", "description": "", "templateType": "anything", "can_override": false}, "l1": {"name": "l1", "group": "rectangle parameters", "definition": "1", "description": "

the shortest length

", "templateType": "anything", "can_override": false}, "xmax": {"name": "xmax", "group": "rectangle parameters", "definition": "p/4", "description": "", "templateType": "anything", "can_override": false}, "ymax": {"name": "ymax", "group": "rectangle parameters", "definition": "maxarea", "description": "", "templateType": "anything", "can_override": false}, "x0": {"name": "x0", "group": "rectangle parameters", "definition": "p/2", "description": "", "templateType": "anything", "can_override": false}, "maxestimate": {"name": "maxestimate", "group": "rectangle parameters", "definition": "maxarea+1", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "rectangle parameters", "variables": ["p", "lstep", "lengths", "widths", "areas", "maxareafromtable", "maxarea", "l1", "xmax", "ymax", "x0", "maxestimate"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Complete the following table.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
length{lengths[0]}{lengths[1]}{lengths[2]}{lengths[3]}{lengths[4]}{lengths[5]}{lengths[6]}{lengths[7]}{lengths[8]}{lengths[9]}{lengths[10]}
width[[0]][[1]][[2]][[3]][[4]][[5]][[6]][[7]][[8]][[9]][[10]]
area[[11]][[12]][[13]][[14]][[15]][[16]][[17]][[18]][[19]][[20]][[21]]
", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "widths[0]", "maxValue": "widths[0]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "widths[1]", "maxValue": "widths[1]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "widths[2]", "maxValue": "widths[2]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "widths[3]", "maxValue": "widths[3]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "widths[4]", "maxValue": "widths[4]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "widths[5]", "maxValue": "widths[5]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "widths[6]", "maxValue": "widths[6]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "widths[7]", "maxValue": "widths[7]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "widths[8]", "maxValue": "widths[8]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "widths[9]", "maxValue": "widths[9]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "widths[10]", "maxValue": "widths[10]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "areas[0]", "maxValue": "areas[0]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "areas[1]", "maxValue": "areas[1]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "areas[2]", "maxValue": "areas[2]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "areas[3]", "maxValue": "areas[3]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "areas[4]", "maxValue": "areas[4]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "areas[5]", "maxValue": "areas[5]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "areas[6]", "maxValue": "areas[6]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "areas[7]", "maxValue": "areas[7]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "areas[8]", "maxValue": "areas[8]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "areas[9]", "maxValue": "areas[9]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "areas[10]", "maxValue": "areas[10]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Now use the information in the table to plot a graph of area against length.

\n

At the end, click the \"Reveal answers\" button to see a sample graph.

"}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What form does the graph have?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["parabola", "hyperbola", "straight line", "exponential"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Estimate the maximum area from your table or graph.

", "minValue": "maxareafromtable", "maxValue": "maxestimate", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}], "navigation": {"allowregen": true, "reverse": true, "browse": true, "allowsteps": true, "showfrontpage": true, "showresultspage": "oncompletion", "navigatemode": "sequence", "onleave": {"action": "none", "message": ""}, "preventleave": true, "startpassword": ""}, "timing": {"allowPause": true, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "feedback": {"showactualmark": true, "showtotalmark": true, "showanswerstate": true, "allowrevealanswer": true, "advicethreshold": 0, "intro": "

This set of 10 practice questions will change each time that you open them.

\n

After you have attempted a question, press \"submit answer\" and it will tell you whether or not you are correct.

\n

After you have attempted a question, you can see a worked solution. Press \"reveal answers\", then click \"OK\" on the popup message. A worked solution will appear at the bottom of the screen.

\n

If you would like more practice on a particular type of question, click \"Try another question like this one\", and click \"OK\" on the popup message. A new version of the same question will appear.

\n

If your screen is large enough, you can go to any question that you wish via the menu on the left hand side. Otherwise, you can scroll through the questions using the arrow buttons at the top left of the screen.

", "reviewshowscore": true, "reviewshowfeedback": true, "reviewshowexpectedanswer": true, "reviewshowadvice": true, "feedbackmessages": []}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "extensions": ["geogebra"], "custom_part_types": [{"source": {"pk": 1, "author": {"name": "Christian Lawson-Perfect", "pk": 7}, "edit_page": "/part_type/1/edit"}, "name": "Yes/no", "short_name": "yes-no", "description": "

The student is shown two radio choices: \"Yes\" and \"No\". One of them is correct.

", "help_url": "", "input_widget": "radios", "input_options": {"correctAnswer": "if(eval(settings[\"correct_answer_expr\"]), 0, 1)", "hint": {"static": true, "value": ""}, "choices": {"static": true, "value": ["Yes", "No"]}}, "can_be_gap": true, "can_be_step": true, "marking_script": "mark:\nif(studentanswer=correct_answer,\n correct(),\n incorrect()\n)\n\ninterpreted_answer:\nstudentAnswer=0\n\ncorrect_answer:\nif(eval(settings[\"correct_answer_expr\"]),0,1)", "marking_notes": [{"name": "mark", "description": "This is the main marking note. It should award credit and provide feedback based on the student's answer.", "definition": "if(studentanswer=correct_answer,\n correct(),\n incorrect()\n)"}, {"name": "interpreted_answer", "description": "A value representing the student's answer to this part.", "definition": "studentAnswer=0"}, {"name": "correct_answer", "description": "", "definition": "if(eval(settings[\"correct_answer_expr\"]),0,1)"}], "settings": [{"name": "correct_answer_expr", "label": "Is the answer \"Yes\"?", "help_url": "", "hint": "An expression which evaluates to true or false.", "input_type": "mathematical_expression", "default_value": "true", "subvars": false}], "public_availability": "always", "published": true, "extensions": []}], "resources": [["question-resources/exp1.png", "/srv/numbas/media/question-resources/exp1.png"], ["question-resources/exp2.png", "/srv/numbas/media/question-resources/exp2.png"], ["question-resources/exp3.png", "/srv/numbas/media/question-resources/exp3.png"], ["question-resources/ShareHousehyp.png", "/srv/numbas/media/question-resources/ShareHousehyp.png"], ["question-resources/ShareHouseline.png", "/srv/numbas/media/question-resources/ShareHouseline.png"], ["question-resources/ShareHouseNegExp.png", "/srv/numbas/media/question-resources/ShareHouseNegExp.png"], ["question-resources/ShareHousePosExp.png", "/srv/numbas/media/question-resources/ShareHousePosExp.png"], ["question-resources/areaparabola.svg", "/srv/numbas/media/question-resources/areaparabola.svg"]]}