// Numbas version: exam_results_page_options {"name": "Period amplitude phase shift (from eqn)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Period amplitude phase shift (from eqn)", "tags": [], "metadata": {"description": "

given trig equation. find period, amplitude and phase shift

", "licence": "Creative Commons Attribution-NonCommercial 4.0 International"}, "statement": "", "advice": "\n

\n\n

\n", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1.1 .. 3#0.1)", "description": "

amplitude

", "templateType": "randrange", "can_override": false}, "e": {"name": "e", "group": "Ungrouped variables", "definition": "random(1 .. 12#1)", "description": "

vertical translation

", "templateType": "randrange", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(-3..3 except 0)", "description": "

negative of the phase shift

", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(3,5,7,11)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(2,4,8,13)", "description": "", "templateType": "anything", "can_override": false}, "absd": {"name": "absd", "group": "Ungrouped variables", "definition": "abs(d)", "description": "", "templateType": "anything", "can_override": false}, "left": {"name": "left", "group": "Ungrouped variables", "definition": "\"left\"", "description": "", "templateType": "string", "can_override": false}, "right": {"name": "right", "group": "Ungrouped variables", "definition": "\"right\"", "description": "", "templateType": "string", "can_override": false}, "L_R": {"name": "L_R", "group": "Ungrouped variables", "definition": "if(d>0,left,right)", "description": "", "templateType": "anything", "can_override": false}, "period": {"name": "period", "group": "Ungrouped variables", "definition": "2pi*(c)/(b)", "description": "", "templateType": "anything", "can_override": false}, "period3sf": {"name": "period3sf", "group": "Ungrouped variables", "definition": "sigformat(period,3)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "d", "absd", "e", "left", "right", "L_R", "period", "period3sf"], "variable_groups": [], "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": "

What are the amplitude, period and phase shift (from $y=cosx^c$) for the following equation

\n

\n

\\[ y=\\var{a}cos \\left (\\frac{\\var{b}}{\\var{c}} (\\simplify{x^c+{d}}) \\right)+\\var{e} \\]

\n

\n

amplitude  [[0]]

\n

period  [[2]]$^c$   Give your answer to 3 significant figures

\n

phase shift  [[1]]$^c$   Give your answer to 1 decimal place

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "amplitude", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{a}", "maxValue": "{a}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "1", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "phase shift", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "-{d}", "maxValue": "-{d}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "1", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "period", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "2pi*{c}/{b}", "maxValue": "2pi*{c}/{b}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Mike Phipps", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14139/"}]}]}], "contributors": [{"name": "Mike Phipps", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14139/"}]}