// Numbas version: exam_results_page_options {"name": "Graphing exponentials of the form y=b^x with b>1", "extensions": ["jsxgraph"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variables": {"b": {"group": "Ungrouped variables", "name": "b", "description": "", "templateType": "anything", "definition": "random(2..10)"}}, "ungrouped_variables": ["b"], "parts": [{"type": "gapfill", "variableReplacementStrategy": "originalfirst", "marks": 0, "gaps": [{"mustBeReduced": false, "type": "numberentry", "mustBeReducedPC": 0, "marks": 1, "variableReplacementStrategy": "originalfirst", "minValue": "0", "showFeedbackIcon": true, "correctAnswerStyle": "plain", "notationStyles": ["plain", "en", "si-en"], "correctAnswerFraction": false, "allowFractions": false, "maxValue": "0", "scripts": {}, "variableReplacements": [], "showCorrectAnswer": true}, {"mustBeReduced": false, "type": "numberentry", "mustBeReducedPC": 0, "marks": 1, "variableReplacementStrategy": "originalfirst", "minValue": "1", "showFeedbackIcon": true, "correctAnswerStyle": "plain", "notationStyles": ["plain", "en", "si-en"], "correctAnswerFraction": false, "allowFractions": false, "maxValue": "1", "scripts": {}, "variableReplacements": [], "showCorrectAnswer": true}], "prompt": "
The $y$-intercept of $y=\\var{b}^x$ is the point $\\large($[[0]], [[1]]$\\large)$.
", "scripts": {}, "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacements": []}, {"type": "gapfill", "variableReplacementStrategy": "originalfirst", "marks": 0, "gaps": [{"mustBeReduced": false, "type": "numberentry", "mustBeReducedPC": 0, "marks": 1, "variableReplacementStrategy": "originalfirst", "minValue": "{b}", "showFeedbackIcon": true, "correctAnswerStyle": "plain", "notationStyles": ["plain", "en", "si-en"], "correctAnswerFraction": true, "allowFractions": true, "maxValue": "{b}", "scripts": {}, "variableReplacements": [], "showCorrectAnswer": true}], "prompt": "Another easily found point on the curve is ${\\large(}1,$ [[0]]$\\large)$.
", "scripts": {}, "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacements": []}, {"type": "gapfill", "variableReplacementStrategy": "originalfirst", "marks": 0, "gaps": [{"type": "1_n_2", "variableReplacementStrategy": "originalfirst", "marks": 0, "minMarks": 0, "shuffleChoices": true, "matrix": [0, 0, 0, 0, "1", 0], "showFeedbackIcon": true, "variableReplacements": [], "maxMarks": 0, "choices": ["increases by 1.
", "decreases by 1.
", "increases by {b-1}.
", "decreases by {b-1}.
", "increases by a factor of {b}.
", "decreases by a factor of {b}.
"], "distractors": ["", "", "", "", "", ""], "showCorrectAnswer": true, "scripts": {}, "displayType": "dropdownlist", "displayColumns": 0}], "prompt": "Given $y=\\var{b}^x$, everytime $x$ increases by 1, $y$ [[0]].
", "scripts": {}, "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacements": []}, {"type": "1_n_2", "variableReplacementStrategy": "originalfirst", "marks": 0, "minMarks": 0, "shuffleChoices": false, "matrix": ["1", 0], "showFeedbackIcon": true, "variableReplacements": [], "maxMarks": 0, "choices": ["exponential growth
", "exponential decay
"], "prompt": "Would $y=\\var{b}^x$ best be described as exponential decay or exponential growth?
", "distractors": ["", ""], "showCorrectAnswer": true, "scripts": {}, "displayType": "radiogroup", "displayColumns": 0}, {"type": "gapfill", "variableReplacementStrategy": "originalfirst", "marks": 0, "gaps": [{"mustBeReduced": false, "type": "numberentry", "mustBeReducedPC": 0, "marks": 1, "variableReplacementStrategy": "originalfirst", "minValue": "0", "showFeedbackIcon": true, "correctAnswerStyle": "plain", "notationStyles": ["plain", "en", "si-en"], "correctAnswerFraction": false, "allowFractions": false, "maxValue": "0", "scripts": {}, "variableReplacements": [], "showCorrectAnswer": true}], "prompt": "The horizontal asymptote of $y=\\var{b}^x$ is $y=$ [[0]].
", "scripts": {}, "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacements": []}, {"type": "1_n_2", "variableReplacementStrategy": "originalfirst", "marks": 0, "minMarks": 0, "shuffleChoices": true, "matrix": ["1", 0, 0, 0], "showFeedbackIcon": true, "variableReplacements": [], "maxMarks": 0, "choices": ["{graph1(1)}
", "{graph1(2)}
", "{graph1(3)}
", "{graph1(4)}
"], "prompt": "Which graph best represents $y=\\var{b}^x$?
", "distractors": ["", "", "", ""], "showCorrectAnswer": true, "scripts": {}, "displayType": "radiogroup", "displayColumns": "2"}], "functions": {"graph1": {"type": "html", "definition": "var div = Numbas.extensions.jsxgraph.makeBoard('300px','300px',{boundingBox:[-12,12,12,-12],grid:true,axis:false});\nvar board = div.board;\n\n// create the x-axis.\nvar xaxis = board.create('line',[[0,0],[1,0]], { strokeColor: 'black', fixed: true});\nvar xticks = board.create('ticks',[xaxis,2],{\n drawLabels: true,\n label: {offset: [-4, -10]},\n minorTicks: 0\n});\n\n// create the y-axis\nvar yaxis = board.create('line',[[0,0],[0,1]], { strokeColor: 'black', fixed: true });\nvar yticks = board.create('ticks',[yaxis,2],{\ndrawLabels: true,\nlabel: {offset: [-20, 0]},\nminorTicks: 0\n});\n\nb = Numbas.jme.unwrapValue(scope.variables.b);\n\n\n\nif(quad==1){board.create('functiongraph',[function(x){ return Math.pow(b,x)}],{strokeWidth:2});}\nif(quad==2){board.create('functiongraph',[function(x){ return Math.pow(1/b,x)}],{strokeWidth:2});}\nif(quad==3){board.create('functiongraph',[function(x){ return -Math.pow(1/b,x)}],{strokeWidth:2});}\nif(quad==4){board.create('functiongraph',[function(x){ return -Math.pow(b,x)}],{strokeWidth:2});}\n\nreturn div;", "language": "javascript", "parameters": [["quad", "number"]]}}, "variablesTest": {"condition": "", "maxRuns": 100}, "preamble": {"css": "", "js": ""}, "rulesets": {}, "statement": "The following questions will gauge your understanding of exponentials and how to graph them.
\nThe exponential you will be working with for this question is \\[y=\\var{b}^x.\\]
\n", "metadata": {"description": "The easiest type of exponential to graph where the base is greater than 1 and no transformations take place.
", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "tags": [], "name": "Graphing exponentials of the form y=b^x with b>1", "variable_groups": [], "extensions": ["jsxgraph"], "advice": "a) To find the $y$-intercept, substitute $x=0$ into the equation: $y=\\var{b}^0=1$. Therefore, the $y$-intercept is the point $(0,1)$.
\nb) Substitute $x=1$ into the equation: $y=\\var{b}^1=\\var{b}$. Therefore, another easily found point is $(1,\\var{b})$.
\nc) Let's investigate what happens to the value of $y$ when we add 1 to the value of $x$:
\n\\[\\var{b}^{x+1}=\\var{b}^x\\var{b}^1=\\var{b}^x\\var{b}\\] That is, the old $y$ value is multiplied by $\\var{b}$, so we can say that $y$ is increased by a factor of $\\var{b}$.
\nd) Since $y=\\var{b}^x$ is an exponential and as $x$ increases $y$ increases without bound, we call this exponential growth.
\ne) An asymptote is a line or curve that approaches a given curve arbitrarily closely. For the curve $y=\\var{b}^x$ the smaller $x$ gets, the closer $y$ gets to $0$. In other words as $x$ approaches negative infinity, $y$ approaches $0$. This means that the asymptote for $y=\\var{b}^x$ is the line $y=0$ (the $x$-axis).
\nf) Given all the information above, it should be clear that the graph should look like
\n{graph1(1)}
", "type": "question", "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}