// Numbas version: exam_results_page_options {"name": "Tom's copy of Michael's copy of Trig transformation (1)", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variablesTest": {"maxRuns": "200", "condition": "abs(a)+abs(d)<5"}, "ungrouped_variables": ["a", "b", "defs", "c", "d"], "name": "Tom's copy of Michael's copy of Trig transformation (1)", "variables": {"defs": {"templateType": "anything", "group": "Ungrouped variables", "definition": "[\n ['a',a],\n ['b',b],\n ['c',c],\n ['d',d]\n]", "name": "defs", "description": ""}, "b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1/2,2/3,1,2,3,4)", "name": "b", "description": ""}, "d": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(-3..3 except 0)", "name": "d", "description": ""}, "c": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(-90,-60,-45,30,30,45,60,90)", "name": "c", "description": ""}, "a": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(-5..5 except -1..1)", "name": "a", "description": ""}}, "parts": [{"showCorrectAnswer": true, "variableReplacements": [], "shuffleChoices": true, "maxMarks": 0, "customName": "", "unitTests": [], "marks": 0, "matrix": ["2", 0, 0, 0, 0, 0], "useCustomName": false, "variableReplacementStrategy": "originalfirst", "type": "1_n_2", "extendBaseMarkingAlgorithm": true, "minMarks": 0, "showCellAnswerState": true, "showFeedbackIcon": false, "displayType": "radiogroup", "distractors": ["", "", "", "", "", ""], "displayColumns": "1", "prompt": "

What is the equation of this curve?

", "scripts": {}, "customMarkingAlgorithm": "", "choices": ["

$y=\\simplify[unitFactor,fractionNumbers]{{a} sin({b}x+{c})+{d}}$

", "

$y=\\simplify[unitFactor,fractionNumbers]{{a} sin({1/b}x+{c})+{d}}$

", "

$y=\\simplify[unitFactor,fractionNumbers]{-{a} sin({b}x+{c})+{d}}$

", "

$y=\\simplify[unitFactor,fractionNumbers]{{2a} sin({b}x-{c})+{d}}$

", "

$y=\\simplify[unitFactor,fractionNumbers]{{a+1} sin({b}x-{c})+{2*d}}$

", "

$y=\\simplify[unitFactor,fractionNumbers]{{a} sin({2*b}x+{c})+{d}}$

"]}], "variable_groups": [], "extensions": ["geogebra"], "advice": "", "statement": "

The graph shows a sine curve.

\n

{geogebra_applet('https://ggbm.at/GqxVC76x', defs, [])}

\n

\n

{geogebra_applet('https://ggbm.at/adxu7wfp', defs, [])}

\n

", "preamble": {"css": "", "js": ""}, "rulesets": {}, "tags": [], "functions": {"graph": {"type": "html", "parameters": [], "definition": "geogebra_applet('https://ggbm.at/aXxv2ECN', defs, [])", "language": "jme"}}, "metadata": {"description": "

This uses an embedded Geogebra graph of a sine curve $y=a\\sin (bx+c)+d$  with random coefficients set by NUMBAS.

", "licence": "Creative Commons Attribution 4.0 International"}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}, {"name": "Michael Proudman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/269/"}, {"name": "Tom Bold", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3477/"}]}]}], "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}, {"name": "Michael Proudman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/269/"}, {"name": "Tom Bold", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3477/"}]}