// Numbas version: exam_results_page_options {"name": "Trigonometry", "metadata": {"description": "

11 questions that test trig equations including use of identities and those needing stretches and translations. Also some questions related to trig graph shapes and applications.

", "licence": "Creative Commons Attribution-NonCommercial 4.0 International"}, "duration": 0, "percentPass": 0, "showQuestionGroupNames": true, "shuffleQuestionGroups": false, "showstudentname": true, "question_groups": [{"name": "Trig Equations (Basics)", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", ""], "variable_overrides": [[], [], []], "questions": [{"name": "Trig Equation Basics (tan)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mike Phipps", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14139/"}], "tags": [], "metadata": {"description": "

Solving tanx in given interval. With random variation and worked solutions.

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

Simpler Trig Questions

", "advice": "

WORKED SOLUTIONS

\n

\\begin{align}
tan(x)&=\\var{t} \\\\\\\\
x_1&=tan^{-1}\\var{t}=\\var{t_1_3sf}^c \\\\\\\\
x_2&=\\var{t_1_5sf}+\\pi=\\var{t_2_3sf}^c
\\end{align}

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"coeffsin": {"name": "coeffsin", "group": "Part 1 sin", "definition": "random(5 .. 10#1)", "description": "", "templateType": "randrange", "can_override": false}, "RHS": {"name": "RHS", "group": "Part 1 sin", "definition": "random(0 .. 4#1)", "description": "", "templateType": "randrange", "can_override": false}, "val_sin": {"name": "val_sin", "group": "Part 1 sin", "definition": "RHS/coeffsin", "description": "", "templateType": "anything", "can_override": false}, "first_soln": {"name": "first_soln", "group": "Part 1 sin", "definition": "arcsin({val_sin})*180/pi", "description": "", "templateType": "anything", "can_override": false}, "second_soln": {"name": "second_soln", "group": "Part 1 sin", "definition": "180-first_soln", "description": "", "templateType": "anything", "can_override": false}, "first_soln_3": {"name": "first_soln_3", "group": "Part 1 sin", "definition": "sigformat(first_soln,3)", "description": "", "templateType": "anything", "can_override": false}, "second_soln_3": {"name": "second_soln_3", "group": "Part 1 sin", "definition": "sigformat(second_soln,3)", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Part 2 cos", "definition": "random(16 .. 25#1)", "description": "", "templateType": "randrange", "can_override": false}, "b": {"name": "b", "group": "Part 2 cos", "definition": "random(-5 .. 5#1)", "description": "", "templateType": "randrange", "can_override": false}, "c": {"name": "c", "group": "Part 2 cos", "definition": "random(1 .. 10#1)", "description": "", "templateType": "randrange", "can_override": false}, "cosx": {"name": "cosx", "group": "Part 2 cos", "definition": "(c-b)/a", "description": "", "templateType": "anything", "can_override": false}, "x_1_3sf": {"name": "x_1_3sf", "group": "Part 2 cos", "definition": "sigformat(arccos({cosx}),3)", "description": "", "templateType": "anything", "can_override": false}, "x_2_3sf": {"name": "x_2_3sf", "group": "Part 2 cos", "definition": "sigformat(2pi-arccos({cosx}),3)", "description": "", "templateType": "anything", "can_override": false}, "x_3_3sf": {"name": "x_3_3sf", "group": "Part 2 cos", "definition": "sigformat(2pi+arccos({cosx}),3)", "description": "", "templateType": "anything", "can_override": false}, "x_1": {"name": "x_1", "group": "Part 2 cos", "definition": "arccos({cosx})", "description": "", "templateType": "anything", "can_override": false}, "x_2": {"name": "x_2", "group": "Part 2 cos", "definition": "2pi-arccos({cosx})", "description": "", "templateType": "anything", "can_override": false}, "x_3": {"name": "x_3", "group": "Part 2 cos", "definition": "2pi+arccos({cosx})", "description": "", "templateType": "anything", "can_override": false}, "x_1_6sf": {"name": "x_1_6sf", "group": "Part 2 cos", "definition": "sigformat(arccos({cosx}),6)", "description": "", "templateType": "anything", "can_override": false}, "first_soln_5": {"name": "first_soln_5", "group": "Part 1 sin", "definition": "sigformat(first_soln,5)", "description": "", "templateType": "anything", "can_override": false}, "t": {"name": "t", "group": "part c tan", "definition": "random(-3 .. 3#0.1)", "description": "", "templateType": "randrange", "can_override": false}, "t_1": {"name": "t_1", "group": "part c tan", "definition": "arctan({t})", "description": "", "templateType": "anything", "can_override": false}, "t_2": {"name": "t_2", "group": "part c tan", "definition": "{t_1}+pi", "description": "", "templateType": "anything", "can_override": false}, "t_1_5sf": {"name": "t_1_5sf", "group": "part c tan", "definition": "sigformat({t_1,5)", "description": "", "templateType": "anything", "can_override": false}, "t_1_3sf": {"name": "t_1_3sf", "group": "part c tan", "definition": "sigformat({t_1},3)", "description": "", "templateType": "anything", "can_override": false}, "t_2_3sf": {"name": "t_2_3sf", "group": "part c tan", "definition": "sigformat({t_2},3)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Part 1 sin", "variables": ["coeffsin", "RHS", "val_sin", "second_soln", "first_soln", "first_soln_3", "second_soln_3", "first_soln_5"]}, {"name": "Part 2 cos", "variables": ["a", "b", "c", "cosx", "x_1_3sf", "x_2_3sf", "x_3_3sf", "x_1", "x_2", "x_3", "x_1_6sf"]}, {"name": "part c tan", "variables": ["t", "t_1", "t_2", "t_1_5sf", "t_1_3sf", "t_2_3sf"]}], "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": "

Solve $tan(x)=\\var{t}$ between $-\\frac{\\pi}{2}\\leq x \\leq \\frac{3\\pi}{2}$

\n

\n

Write your answers below in ascending order and to 3 significant figures.

\n

\n

$x=$[[0]]$^c$ or [[1]]$^c$

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "t1", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{t_1}", "maxValue": "{t_1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "precisionPartialCredit": "50", "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": "t2", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{t_2}", "maxValue": "{t_2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "precisionPartialCredit": "50", "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"}, {"name": "Trig Equation Basics (sin)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mike Phipps", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14139/"}], "tags": [], "metadata": {"description": "

Solving sinx in given interval. With random variation and worked solutions.

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

Simpler Trig Questions

", "advice": "

WORKED SOLUTIONS

\n

\n

\\begin{align}
\\var{coeffsin}sin{x} &=\\var{RHS} \\\\\\\\
sin{x} &=\\frac{\\var{RHS}}{\\var{coeffsin}} \\\\\\\\
x &=\\arcsin{\\frac{\\var{RHS}}{\\var{coeffsin}}} \\\\\\\\
x_1 &=\\var{first_soln_3}^o \\text {  to 3 sig fig}\\\\\\\\
x_2 &=180-\\var{first_soln_5}=\\var{second_soln_3}^o\\text {  to 3 sig fig}
\\end{align}

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"coeffsin": {"name": "coeffsin", "group": "Part 1 sin", "definition": "random(6 .. 11#1)", "description": "", "templateType": "randrange", "can_override": false}, "RHS": {"name": "RHS", "group": "Part 1 sin", "definition": "random(1 .. 5#1)", "description": "", "templateType": "randrange", "can_override": false}, "val_sin": {"name": "val_sin", "group": "Part 1 sin", "definition": "RHS/coeffsin", "description": "", "templateType": "anything", "can_override": false}, "first_soln": {"name": "first_soln", "group": "Part 1 sin", "definition": "arcsin({val_sin})*180/pi", "description": "", "templateType": "anything", "can_override": false}, "second_soln": {"name": "second_soln", "group": "Part 1 sin", "definition": "180-first_soln", "description": "", "templateType": "anything", "can_override": false}, "first_soln_3": {"name": "first_soln_3", "group": "Part 1 sin", "definition": "sigformat(first_soln,3)", "description": "", "templateType": "anything", "can_override": false}, "second_soln_3": {"name": "second_soln_3", "group": "Part 1 sin", "definition": "sigformat(second_soln,3)", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Part 2 cos", "definition": "random(16 .. 25#1)", "description": "", "templateType": "randrange", "can_override": false}, "b": {"name": "b", "group": "Part 2 cos", "definition": "random(-5 .. 5#1)", "description": "", "templateType": "randrange", "can_override": false}, "c": {"name": "c", "group": "Part 2 cos", "definition": "random(1 .. 10#1)", "description": "", "templateType": "randrange", "can_override": false}, "cosx": {"name": "cosx", "group": "Part 2 cos", "definition": "(c-b)/a", "description": "", "templateType": "anything", "can_override": false}, "x_1_3sf": {"name": "x_1_3sf", "group": "Part 2 cos", "definition": "sigformat(arccos({cosx}),3)", "description": "", "templateType": "anything", "can_override": false}, "x_2_3sf": {"name": "x_2_3sf", "group": "Part 2 cos", "definition": "sigformat(2pi-arccos({cosx}),3)", "description": "", "templateType": "anything", "can_override": false}, "x_3_3sf": {"name": "x_3_3sf", "group": "Part 2 cos", "definition": "sigformat(2pi+arccos({cosx}),3)", "description": "", "templateType": "anything", "can_override": false}, "x_1": {"name": "x_1", "group": "Part 2 cos", "definition": "arccos({cosx})", "description": "", "templateType": "anything", "can_override": false}, "x_2": {"name": "x_2", "group": "Part 2 cos", "definition": "2pi-arccos({cosx})", "description": "", "templateType": "anything", "can_override": false}, "x_3": {"name": "x_3", "group": "Part 2 cos", "definition": "2pi+arccos({cosx})", "description": "", "templateType": "anything", "can_override": false}, "x_1_6sf": {"name": "x_1_6sf", "group": "Part 2 cos", "definition": "sigformat(arccos({cosx}),6)", "description": "", "templateType": "anything", "can_override": false}, "first_soln_5": {"name": "first_soln_5", "group": "Part 1 sin", "definition": "sigformat(first_soln,5)", "description": "", "templateType": "anything", "can_override": false}, "t": {"name": "t", "group": "part c tan", "definition": "random(-3 .. 3#0.1)", "description": "", "templateType": "randrange", "can_override": false}, "t_1": {"name": "t_1", "group": "part c tan", "definition": "arctan({t})", "description": "", "templateType": "anything", "can_override": false}, "t_2": {"name": "t_2", "group": "part c tan", "definition": "{t_1}+pi", "description": "", "templateType": "anything", "can_override": false}, "t_1_5sf": {"name": "t_1_5sf", "group": "part c tan", "definition": "sigformat({t_1,5)", "description": "", "templateType": "anything", "can_override": false}, "t_1_3sf": {"name": "t_1_3sf", "group": "part c tan", "definition": "sigformat({t_1},3)", "description": "", "templateType": "anything", "can_override": false}, "t_2_3sf": {"name": "t_2_3sf", "group": "part c tan", "definition": "sigformat({t_2},3)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Part 1 sin", "variables": ["coeffsin", "RHS", "val_sin", "second_soln", "first_soln", "first_soln_3", "second_soln_3", "first_soln_5"]}, {"name": "Part 2 cos", "variables": ["a", "b", "c", "cosx", "x_1_3sf", "x_2_3sf", "x_3_3sf", "x_1", "x_2", "x_3", "x_1_6sf"]}, {"name": "part c tan", "variables": ["t", "t_1", "t_2", "t_1_5sf", "t_1_3sf", "t_2_3sf"]}], "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": "

Solve  $\\var{coeffsin}sin(x)=\\var{RHS}$  between  $0 \\leq x<360^o$ 

\n

\n

Write your answers here with the smallest first and giving your answer to 3 significant figures.

\n

\n

$x=$[[0]]$^o$ or [[1]]$^o$

\n

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "First solution", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{first_soln}", "maxValue": "{first_soln}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "precisionPartialCredit": "50", "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": "Second solution", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{second_soln}", "maxValue": "{second_soln}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "precisionPartialCredit": "50", "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"}, {"name": "Trig Equation Basics (cos)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mike Phipps", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14139/"}], "tags": [], "metadata": {"description": "

Solving cosx in given interval. With random variation and worked solutions.

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

Simpler Trig Questions

", "advice": "

WORKED SOLUTIONS

\n

\n

\\begin{align}
\\simplify{{a}cos(x)+{b}}&=\\var{c} \\\\\\\\
cos{x}&=\\frac{\\var{c}-\\var{b}}{\\var{a}} \\\\\\\\
x &=cos^{-1}\\frac{\\simplify{{c}-{b}}}{\\var{a}} \\\\\\\\
x_1 &=\\var{x_1_3sf}^c \\text {  to 3 sig fig} \\\\\\\\
x_2 &=2\\pi-\\var{x_1_6sf}=\\var{x_2_3sf}^c\\text {  to 3 sig fig} \\\\\\\\
x_3&=\\var{x_1_6sf}+2\\pi=\\var{x_3_3sf}^c\\text {  to 3 sig fig}
\\end{align}

\n

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"coeffsin": {"name": "coeffsin", "group": "Part 1 sin", "definition": "random(5 .. 10#1)", "description": "", "templateType": "randrange", "can_override": false}, "RHS": {"name": "RHS", "group": "Part 1 sin", "definition": "random(0 .. 4#1)", "description": "", "templateType": "randrange", "can_override": false}, "val_sin": {"name": "val_sin", "group": "Part 1 sin", "definition": "RHS/coeffsin", "description": "", "templateType": "anything", "can_override": false}, "first_soln": {"name": "first_soln", "group": "Part 1 sin", "definition": "arcsin({val_sin})*180/pi", "description": "", "templateType": "anything", "can_override": false}, "second_soln": {"name": "second_soln", "group": "Part 1 sin", "definition": "180-first_soln", "description": "", "templateType": "anything", "can_override": false}, "first_soln_3": {"name": "first_soln_3", "group": "Part 1 sin", "definition": "sigformat(first_soln,3)", "description": "", "templateType": "anything", "can_override": false}, "second_soln_3": {"name": "second_soln_3", "group": "Part 1 sin", "definition": "sigformat(second_soln,3)", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Part 2 cos", "definition": "random(16 .. 25#1)", "description": "", "templateType": "randrange", "can_override": false}, "b": {"name": "b", "group": "Part 2 cos", "definition": "random(-5 .. 5#1)", "description": "", "templateType": "randrange", "can_override": false}, "c": {"name": "c", "group": "Part 2 cos", "definition": "random(1 .. 10#1)", "description": "", "templateType": "randrange", "can_override": false}, "cosx": {"name": "cosx", "group": "Part 2 cos", "definition": "(c-b)/a", "description": "", "templateType": "anything", "can_override": false}, "x_1_3sf": {"name": "x_1_3sf", "group": "Part 2 cos", "definition": "sigformat(arccos({cosx}),3)", "description": "", "templateType": "anything", "can_override": false}, "x_2_3sf": {"name": "x_2_3sf", "group": "Part 2 cos", "definition": "sigformat(2pi-arccos({cosx}),3)", "description": "", "templateType": "anything", "can_override": false}, "x_3_3sf": {"name": "x_3_3sf", "group": "Part 2 cos", "definition": "sigformat(2pi+arccos({cosx}),3)", "description": "", "templateType": "anything", "can_override": false}, "x_1": {"name": "x_1", "group": "Part 2 cos", "definition": "arccos({cosx})", "description": "", "templateType": "anything", "can_override": false}, "x_2": {"name": "x_2", "group": "Part 2 cos", "definition": "2pi-arccos({cosx})", "description": "", "templateType": "anything", "can_override": false}, "x_3": {"name": "x_3", "group": "Part 2 cos", "definition": "2pi+arccos({cosx})", "description": "", "templateType": "anything", "can_override": false}, "x_1_6sf": {"name": "x_1_6sf", "group": "Part 2 cos", "definition": "sigformat(arccos({cosx}),6)", "description": "", "templateType": "anything", "can_override": false}, "first_soln_5": {"name": "first_soln_5", "group": "Part 1 sin", "definition": "sigformat(first_soln,5)", "description": "", "templateType": "anything", "can_override": false}, "t": {"name": "t", "group": "part c tan", "definition": "random(-3 .. 3#0.1)", "description": "", "templateType": "randrange", "can_override": false}, "t_1": {"name": "t_1", "group": "part c tan", "definition": "arctan({t})", "description": "", "templateType": "anything", "can_override": false}, "t_2": {"name": "t_2", "group": "part c tan", "definition": "{t_1}+pi", "description": "", "templateType": "anything", "can_override": false}, "t_1_5sf": {"name": "t_1_5sf", "group": "part c tan", "definition": "sigformat({t_1,5)", "description": "", "templateType": "anything", "can_override": false}, "t_1_3sf": {"name": "t_1_3sf", "group": "part c tan", "definition": "sigformat({t_1},3)", "description": "", "templateType": "anything", "can_override": false}, "t_2_3sf": {"name": "t_2_3sf", "group": "part c tan", "definition": "sigformat({t_2},3)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Part 1 sin", "variables": ["coeffsin", "RHS", "val_sin", "second_soln", "first_soln", "first_soln_3", "second_soln_3", "first_soln_5"]}, {"name": "Part 2 cos", "variables": ["a", "b", "c", "cosx", "x_1_3sf", "x_2_3sf", "x_3_3sf", "x_1", "x_2", "x_3", "x_1_6sf"]}, {"name": "part c tan", "variables": ["t", "t_1", "t_2", "t_1_5sf", "t_1_3sf", "t_2_3sf"]}], "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": "

Solve   $\\simplify{{a}cos(x)+{b}}=\\var{c}$  between  $0<x<3 \\pi$

\n

\n

Write your answers below in ascending order and to 3 significant figures.

\n

\n

$x=$ [[0]]$^c$ or [[1]]$^c$ or [[2]]$^c$

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "x1", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x_1}", "maxValue": "{x_1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "precisionPartialCredit": "50", "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": "x2", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x_2}", "maxValue": "{x_2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "precisionPartialCredit": "50", "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": "x3", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x_3}", "maxValue": "{x_3}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "precisionPartialCredit": "50", "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"}]}, {"name": "Trig Equations (translations and stretches)", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", ""], "variable_overrides": [[], []], "questions": [{"name": "Trig Equations 2 (stretch)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mike Phipps", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14139/"}], "tags": [], "metadata": {"description": "

Solve trig equation in a given internval with stretch and worked solutions

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

Trig Equation with a stretch

", "advice": "

\\begin{align}
cos(2x) & =\\var{a} \\\\\\\\
2x & = cos^{-1}\\var{a}=\\var{x1x2_5} \\text{  or  } 2\\pi-\\var{x1x2_5} \\\\\\\\
\\text{(To find a second angle you could also use  $-\\var{x1x2_5}$ and then add $2\\pi$)} \\\\\\\\
2x & = \\var{x1x2_5} \\text{  or  } \\var{x2x2_5} \\\\\\\\


\\text{You can now add $2\\pi$ to both of these angles to find extra angles} \\\\\\\\


2x & = \\var{x1x2_5} \\text{  or  } \\var{x2x2_5} \\text{  or  } (\\var{x1x2_5}+2\\pi) \\text{  or  } (\\var{x2x2_5}+2\\pi)   \\\\\\\\
2x & = \\var{x1x2_5} \\text{  or  } \\var{x2x2_5} \\text{  or  } \\var{x3x2_5} \\text{  or  } \\var{x4x2_5} \\\\\\\\
x &= \\var{x1_3}^c \\text{  or  }\\var{x2_3}^c \\text{  or  }\\var{x3_3}^c \\text{  or  }\\var{x4_3}^c \\text{  to 3 sig fig}
\\end{align}

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(0.01 .. 0.99#0.01)", "description": "", "templateType": "randrange", "can_override": false}, "x1x2": {"name": "x1x2", "group": "Ungrouped variables", "definition": "arccos(a)", "description": "", "templateType": "anything", "can_override": false}, "x2x2": {"name": "x2x2", "group": "Ungrouped variables", "definition": "2pi-{x1x2}", "description": "", "templateType": "anything", "can_override": false}, "x3x2": {"name": "x3x2", "group": "Ungrouped variables", "definition": "{x1x2}+2pi", "description": "", "templateType": "anything", "can_override": false}, "x4x2": {"name": "x4x2", "group": "Ungrouped variables", "definition": "{x2x2}+2pi", "description": "", "templateType": "anything", "can_override": false}, "x1": {"name": "x1", "group": "Ungrouped variables", "definition": "{x1x2}/2", "description": "", "templateType": "anything", "can_override": false}, "x2": {"name": "x2", "group": "Ungrouped variables", "definition": "{x2x2}/2", "description": "", "templateType": "anything", "can_override": false}, "x3": {"name": "x3", "group": "Ungrouped variables", "definition": "{x3x2}/2", "description": "", "templateType": "anything", "can_override": false}, "x4": {"name": "x4", "group": "Ungrouped variables", "definition": "{x4x2}/2", "description": "", "templateType": "anything", "can_override": false}, "x1x2_5": {"name": "x1x2_5", "group": "Ungrouped variables", "definition": "sigformat(x1x2,5)", "description": "", "templateType": "anything", "can_override": false}, "x2x2_5": {"name": "x2x2_5", "group": "Ungrouped variables", "definition": "sigformat(x2x2,5)", "description": "", "templateType": "anything", "can_override": false}, "x3x2_5": {"name": "x3x2_5", "group": "Ungrouped variables", "definition": "sigformat(x3x2,5)", "description": "", "templateType": "anything", "can_override": false}, "x4x2_5": {"name": "x4x2_5", "group": "Ungrouped variables", "definition": "sigformat(x4x2,5)", "description": "", "templateType": "anything", "can_override": false}, "x1_3": {"name": "x1_3", "group": "Ungrouped variables", "definition": "sigformat(x1,3)", "description": "", "templateType": "anything", "can_override": false}, "x2_3": {"name": "x2_3", "group": "Ungrouped variables", "definition": "sigformat(x2,3)", "description": "", "templateType": "anything", "can_override": false}, "x3_3": {"name": "x3_3", "group": "Ungrouped variables", "definition": "sigformat(x3,3)", "description": "", "templateType": "anything", "can_override": false}, "x4_3": {"name": "x4_3", "group": "Ungrouped variables", "definition": "sigformat(x4,3)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "x1x2", "x2x2", "x3x2", "x4x2", "x1", "x2", "x3", "x4", "x1x2_5", "x2x2_5", "x3x2_5", "x4x2_5", "x1_3", "x2_3", "x3_3", "x4_3"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": true, "customName": "a)", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Solve   $cos(2x)=\\var{a}$  between  $0 \\leq x \\leq 2\\pi$

\n

\n

Enter your answers below giving the angles in ascending order and to 3 significant figures.

\n

\n

$x=$ [[3]]$^c$ or [[0]]$^c$ or [[1]]$^c$ or [[2]]$^c$  

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "x2", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x2}", "maxValue": "{x2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "precisionPartialCredit": "50", "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": "x3", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x3}", "maxValue": "{x3}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "precisionPartialCredit": "50", "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": "x4", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x4}", "maxValue": "{x4}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "precisionPartialCredit": "50", "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": "x1", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x1}", "maxValue": "{x1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "precisionPartialCredit": "50", "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"}, {"name": "Trig Equation 2 (translation)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mike Phipps", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14139/"}], "tags": [], "metadata": {"description": "

solve trig equation involving a translation in given internval. with worked solutions

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

Trig equation with a translation

", "advice": "

\\begin{align}

sin \\left(x-\\frac{\\pi}{2} \\right) & =\\var{a} \\\\\\\\
\\left(x-\\frac{\\pi}{2} \\right) & = sin^{-1}(\\var{a})=\\var{x1n} \\\\\\\\
\\text{for $sinx$ you can find a second solution by going $\\pi-x_1$} \\\\\\\\
\\left(x-\\frac{\\pi}{2} \\right) & = \\pi-\\var{x1n}=\\var{x2n} \\\\\\\\

\\end{align}

\n

As the range of solution goes down to $-2\\pi$ you can find two more angles by taking away $2\\pi$ from the first two angles.

\n

\\begin{align}

x_3 &=\\var{x1n}-2\\pi=\\var{x3n} \\\\\\\\
x_4 &=\\var{x2n}-2\\pi=\\var{x4n}

\\end{align}

\n

In ascending order your three solutions so far are

\n

\\begin{align}
\\left(x-\\frac{\\pi}{2} \\right) & =\\var{x3n} \\text{   or   } \\var{x4n} \\text{   or   } \\var{x1n} \\text{   or   } \\var{x2n}
\\end{align}

\n

To find $x$ all you need to do now is add $\\frac{\\pi}{2}$

\n

\\begin{align}
x=\\var{x3} \\text{   or   } \\var{x4} \\text{   or   } \\var{x1} \\text{   or   } \\var{x2}
\\end{align}

\n

To 3 significant figures this gives

\n

\\begin{align}
x=\\var{x3_3}^c \\text{   or   } \\var{x4_3}^c \\text{   or   } \\var{x1_3}^c \\text{   or   } \\var{x2_3}^c
\\end{align}

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(-0.95 .. 0.95#0.05)", "description": "", "templateType": "randrange", "can_override": false}, "x1n": {"name": "x1n", "group": "Ungrouped variables", "definition": "arcsin(a)", "description": "", "templateType": "anything", "can_override": false}, "x2n": {"name": "x2n", "group": "Ungrouped variables", "definition": "pi-x1n", "description": "", "templateType": "anything", "can_override": false}, "x3n": {"name": "x3n", "group": "Ungrouped variables", "definition": "x1n-2pi", "description": "", "templateType": "anything", "can_override": false}, "x4n": {"name": "x4n", "group": "Ungrouped variables", "definition": "x2n-2pi", "description": "", "templateType": "anything", "can_override": false}, "x1": {"name": "x1", "group": "Ungrouped variables", "definition": "x1n+pi/2", "description": "", "templateType": "anything", "can_override": false}, "x2": {"name": "x2", "group": "Ungrouped variables", "definition": "x2n+pi/2", "description": "", "templateType": "anything", "can_override": false}, "x3": {"name": "x3", "group": "Ungrouped variables", "definition": "x3n+pi/2", "description": "", "templateType": "anything", "can_override": false}, "x4": {"name": "x4", "group": "Ungrouped variables", "definition": "x4n+pi/2", "description": "", "templateType": "anything", "can_override": false}, "x1_3": {"name": "x1_3", "group": "Ungrouped variables", "definition": "sigformat(x1,3)", "description": "", "templateType": "anything", "can_override": false}, "x2_3": {"name": "x2_3", "group": "Ungrouped variables", "definition": "sigformat(x2,3)", "description": "", "templateType": "anything", "can_override": false}, "x3_3": {"name": "x3_3", "group": "Ungrouped variables", "definition": "sigformat(x3,3)", "description": "", "templateType": "anything", "can_override": false}, "x4_3": {"name": "x4_3", "group": "Ungrouped variables", "definition": "sigformat(x4,3)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "x1n", "x2n", "x3n", "x4n", "x1", "x2", "x3", "x4", "x1_3", "x2_3", "x3_3", "x4_3"], "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": "

Solve $sin \\left(x-\\frac{\\pi}{2} \\right)=\\var{a}$ between $-2\\pi<x<2\\pi$

\n

\n

Give your answers in radians in ascending order and to 3 significant figures.

\n

\n

$x_1$=[[2]]

\n

$x_2$=[[3]]

\n

$x_3$=[[0]]

\n

$x_4$=[[1]]

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "x1", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x1}", "maxValue": "{x1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "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": "x2", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x2}", "maxValue": "{x2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "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": "x3", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x3}", "maxValue": "{x3}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "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": "x4", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x4}", "maxValue": "{x4}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}, {"name": "Trig Equations (Identities)", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", ""], "variable_overrides": [[], [], []], "questions": [{"name": "Trig equations 3 (sin2x)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mike Phipps", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14139/"}], "tags": [], "metadata": {"description": "

solve trig equation involving sin2x=2sinxcosx in a given interval

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

First replace $sin2x$ with $2sinxcosx$ and rearrange

\n

\\begin{align}

\\var{a}sin2x & =\\simplify{0+{b} cosx}  \\\\\\\\
\\var{a}\\times 2sinxcosx & =\\simplify{0+{b} cosx} \\\\\\\\
\\simplify{2{a}}sinxcosx \\simplify{0-{b}cosx} & =0 \\\\\\\\
cosx(\\simplify{2{a}}sinx-\\var{b}) &=0
\\end{align}

\n

This can now be solved to give

\n

\\[ cosx=0 \\text{  or  } sinx=\\frac{\\var{b}}{\\simplify{2{a}}} \\]

\n

Taking $cosx=0$ and remembering that for $cosx$ a second angle can be found by talking the first away from $2 \\pi$

\n

\\begin{align}

cosx=0 \\implies x=cos^{-1}(0)=\\frac{\\pi}{2} \\text{  or  } \\frac{3 \\pi}{2}

\\end{align}

\n

\n

Next taking $cosx=\\frac{\\var{b}}{\\simplify{2{a}}}$ and remembering that for $sinx$ a second angle can be found by talking the first away from $ \\pi$

\n

\\begin{align}

sinx=\\frac{\\var{b}}{\\simplify{2{a}}} \\implies x=sin^{-1}\\left(\\frac{\\var{b}}{\\simplify{2{a}}}\\right)=\\var{x1} \\text{  or  } \\var{x3}

\\end{align}

\n

To 3 significant figures and in radians the answers are therefore

\n

$\\var{x1_3} \\text{  and  } \\var{x2_3} \\text{  and  } \\var{x3_3} \\text{  and  } \\var{x4_3}$

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(3 .. 8#1)", "description": "", "templateType": "randrange", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(1 .. 5#1)", "description": "", "templateType": "randrange", "can_override": false}, "x1": {"name": "x1", "group": "Ungrouped variables", "definition": "arcsin(b/(2a))", "description": "", "templateType": "anything", "can_override": false}, "x3": {"name": "x3", "group": "Ungrouped variables", "definition": "pi-x1", "description": "", "templateType": "anything", "can_override": false}, "x1_3": {"name": "x1_3", "group": "Ungrouped variables", "definition": "sigformat(x1,3)", "description": "", "templateType": "anything", "can_override": false}, "x3_3": {"name": "x3_3", "group": "Ungrouped variables", "definition": "sigformat(x3,3)", "description": "", "templateType": "anything", "can_override": false}, "x2_3": {"name": "x2_3", "group": "Ungrouped variables", "definition": "sigformat(pi/2,3)", "description": "", "templateType": "anything", "can_override": false}, "x4_3": {"name": "x4_3", "group": "Ungrouped variables", "definition": "sigformat(1.5pi,3)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "x1", "x3", "x1_3", "x3_3", "x2_3", "x4_3"], "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": "

Solve the equation $\\var{a}sin2x=\\simplify{0+{b} cosx}$ in the range $0\\leq x \\leq 2\\pi$

\n

\n

Give your answers below in ascending order and to 3 significant figures.

\n

\n

$x_1=$[[0]]

\n

$x_2=$[[1]]

\n

$x_3=$[[2]]

\n

$x_4=$[[3]]

\n

", "stepsPenalty": "1", "steps": [{"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": "

The first setp is to replace $sin2x$ with $2sinxcosx$

"}], "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "x1", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x1}", "maxValue": "{x1}", "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"}, {"type": "numberentry", "useCustomName": true, "customName": "x2", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "pi/2", "maxValue": "pi/2", "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"}, {"type": "numberentry", "useCustomName": true, "customName": "x3", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x3}", "maxValue": "{x3}", "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"}, {"type": "numberentry", "useCustomName": true, "customName": "x4", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "1.5pi", "maxValue": "1.5pi", "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"}, {"name": "Trig Equations 3 (sin^2x+cos^2x)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mike Phipps", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14139/"}], "tags": [], "metadata": {"description": "

solve trig equation that requires use of s^s+c^2=1. with worked solutions.

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

\\begin{align}

\\simplify{{a}sin^2(x)+({a}{c}-{b})cos(x)+({b}{c}-{a})}&=0 \\\\\\\\

\\text{first replace $sin^2(x) \\text{  with  } 1-cos^2(x)$} \\\\\\\\

\\simplify{{a}(1-cos^2 ( x) )+({a}{c}-{b})cos(x)+({b}{c}-{a})}&=0 \\\\\\\\

\\text{then move everything to the other side and simplify} \\\\\\\\

0&=\\simplify{{a}cos^2(x)+({b}-{a}{c})cos(x)+(-{b}{c})} \\\\\\\\

\\text{now you can factorise} \\\\\\\\

0&=(\\simplify{{a}cos(x)+{b}})(cos(x)-\\var{c}) \\\\\\\\

cos(x)&=-\\frac{\\var{b}}{\\var{a}} \\text{  or  } \\var{c} \\\\\\\\

\\text{there are no solutions to $cos(x)=\\var{c}$ so this leaves only}\\\\\\\\

x_1 &=cos^{-1}-\\frac{\\var{b}}{\\var{a}}= \\var{x1_3} \\\\\\\\

x_2 &=2\\pi-\\var{x1_3}=\\var{x2_3}

\\end{align}

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2 .. 3#1)", "description": "", "templateType": "randrange", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-1,1,-2)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(2 .. 7#1)", "description": "", "templateType": "randrange", "can_override": false}, "cosx": {"name": "cosx", "group": "Ungrouped variables", "definition": "-{b}/{a}", "description": "", "templateType": "anything", "can_override": false}, "x1": {"name": "x1", "group": "Ungrouped variables", "definition": "(arccos({cosx}))*180/pi", "description": "", "templateType": "anything", "can_override": false}, "x2": {"name": "x2", "group": "Ungrouped variables", "definition": "360-{x1}", "description": "", "templateType": "anything", "can_override": false}, "x1_3": {"name": "x1_3", "group": "Ungrouped variables", "definition": "sigformat(x1,3)", "description": "", "templateType": "anything", "can_override": false}, "x2_3": {"name": "x2_3", "group": "Ungrouped variables", "definition": "sigformat(x2,3)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "cosx", "x1", "x2", "x1_3", "x2_3"], "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": "

Solve

\n

$\\simplify{{a}sin^2(x)+({a}{c}-{b})cos(x)+({b}{c}-{a})}=0$ betwwen $0\\leq x\\leq 360^o$

\n

\n

Give your answers below in ascending order and to 3 significant figures

\n

\n

[[0]]$^o$ or  [[1]]$^o$

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "x1", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x1}", "maxValue": "{x1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "precisionPartialCredit": "50", "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": "x2", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x2}", "maxValue": "{x2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "precisionPartialCredit": "50", "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"}, {"name": "Trig equations 3 (cos2x)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mike Phipps", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14139/"}], "tags": [], "metadata": {"description": "

trig equation that uses cos2x=c^2-s^s

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

Solve $\\simplify{2{a}{d}+2{b}{c}}sinx=\\simplify{{a}{c}cos2x-{a}{c}-2{b}{d}}$

\n

The first step is to replace $cos2x$ with $1-2sin^2x$ as below

\n

\\[ \\simplify{2{a}{d}+2{b}{c}}sinx=\\simplify{{a}{c}(1-2sin^2x)-{a}{c}-2{b}{d}} \\]

\n

If you expand the brackets and rearrange you will get the following.

\n

\\[ \\simplify{ {a}{c}sin^2x +{a}{d}sinx+{b}{c}sinx+{b}{d}} \\]

\n

which factorises to

\n

\\[ (\\simplify{{a}sinx+{b}})(\\var{c}sinx+\\var{d})=0 \\]

\n

You can now take each bracket separately

\n

\\[ sinx=\\frac{\\var{absb}}{\\var{a}} \\text{  or  }  sinx=\\frac{-\\var{d}}{\\var{c}} \\]

\n

Taking each separately

\n

\\[ x=sin^{-1}\\frac{\\var{absb}}{\\var{a}} = \\var{x1} \\text{  or  } \\pi-\\var{x1} \\]

\n

\\[ x=sin^{-1}\\frac{-\\var{d}}{\\var{c}} = \\var{x3} \\text{  or  } \\pi-\\var{x3} \\]

\n

To 3 significant figures and in ascending order this gives

\n

\\[ x=\\var{x1_3} \\text{  or  }\\var{x2_3} \\text{  or  }\\var{x3_3} \\text{  or  }\\var{x4_3} \\]

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(3,4,5)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-1,-2)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(3,4)", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "if(b=-1,2,1)", "description": "", "templateType": "anything", "can_override": false}, "x1": {"name": "x1", "group": "Solutions", "definition": "arcsin(-b/a)", "description": "", "templateType": "anything", "can_override": false}, "x2": {"name": "x2", "group": "Solutions", "definition": "pi-x1", "description": "", "templateType": "anything", "can_override": false}, "x3": {"name": "x3", "group": "Solutions", "definition": "pi-arcsin(-d/c)", "description": "", "templateType": "anything", "can_override": false}, "x4": {"name": "x4", "group": "Solutions", "definition": "2pi+arcsin(-d/c)", "description": "", "templateType": "anything", "can_override": false}, "absb": {"name": "absb", "group": "Ungrouped variables", "definition": "abs(b)", "description": "", "templateType": "anything", "can_override": false}, "x1_3": {"name": "x1_3", "group": "Solutions", "definition": "sigformat(x1,3)", "description": "", "templateType": "anything", "can_override": false}, "x2_3": {"name": "x2_3", "group": "Solutions", "definition": "sigformat(x2,3)", "description": "", "templateType": "anything", "can_override": false}, "x3_3": {"name": "x3_3", "group": "Solutions", "definition": "sigformat(x3,3)", "description": "", "templateType": "anything", "can_override": false}, "x4_3": {"name": "x4_3", "group": "Solutions", "definition": "sigformat(x4,3)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "d", "absb"], "variable_groups": [{"name": "Solutions", "variables": ["x1", "x2", "x3", "x4", "x1_3", "x2_3", "x3_3", "x4_3"]}], "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": "

Solve $\\simplify{2{a}{d}+2{b}{c}}sinx=\\simplify{{a}{c}cos2x-{a}{c}-2{b}{d}}$ between $0<x<2\\pi$

\n

\n

Give your answers to 3 significant figures and in ascending order.

\n

\n

[[0]]

\n

[[1]]

\n

[[2]]

\n

[[3]]

", "stepsPenalty": 0, "steps": [{"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": "

The first step is to replace $cos2x$ with $1-2sin^2x$

"}], "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "x1", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x1}", "maxValue": "{x1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "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": "x2", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x2}", "maxValue": "{x2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "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": "x3", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x3}", "maxValue": "{x3}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "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": "x4", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x4}", "maxValue": "{x4}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}, {"name": "Amplitude, Period, Phase Shift", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", ""], "variable_overrides": [[], []], "questions": [{"name": "Amplitude, period and phase shift (from graph)", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mike Phipps", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14139/"}], "tags": [], "metadata": {"description": "

given plot of a graph. find amplitude, period and phase shift

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

What are the period, amplitude and phase shift (from $y=sinx^o$) of the graph shown below?

\n

\n

If needed you can zoom and pan the graph to find suitable points.

\n

\n

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

", "advice": "\n

\n\n

\n", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..3)", "description": "", "templateType": "anything", "can_override": false}, "defs": {"name": "defs", "group": "Ungrouped variables", "definition": "[\n['a',a],\n ['b',b],\n ['c',c]\n ]", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(0.2,0.3,0.4,0.5,0.6,0.8,0.9,1,1.2,1.5,1.6,1.8,2)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-40,-35,-30,-25,-20,-15,-10,-5,5,10,15,20,25,30,35,40)", "description": "", "templateType": "anything", "can_override": false}, "abs_c": {"name": "abs_c", "group": "Ungrouped variables", "definition": "abs({c})", "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(c<0,right,left)", "description": "", "templateType": "anything", "can_override": false}, "period": {"name": "period", "group": "Ungrouped variables", "definition": "360/b", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "defs", "abs_c", "Left", "right", "L_R", "period"], "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": "\n

\n

Amplitude [[0]]

\n

period [[2]]

\n

phase shift [[1]]

\n

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "amp", "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, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "phase", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "-{c}", "maxValue": "-{c}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "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": "per", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "360/{b}", "maxValue": "360/{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"}, {"name": "Period amplitude phase shift (from eqn)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mike Phipps", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14139/"}], "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": {}, "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"}]}, {"name": "Application", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": [""], "variable_overrides": [[]], "questions": [{"name": "Trig application question (tides)", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mike Phipps", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14139/"}], "tags": [], "metadata": {"description": "

given trig function applied to tides. students need to find max depth, time of low tide and times between which a boat of given depth can use the port.

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

Part a

\n

Low tide will be at the minimum value on the graph. This will be the central line $\\var{a}$ minus the amplitude of $\\var{b}$ which gives $\\simplify{{a}-{b}}$

\n

\n

Part b

\n

The graph is shown below.

\n

It can be found by applying the following transformations to $y=cosx$

\n\n

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

\n

\n

From the graph you can see that the first high tide after midnight is at $t=12$ which is 12pm.

\n

\n

You could also have solved the equation equal to the maximum value as shown below

\n

\\[\\simplify{{a}+{b}}=\\var{a}+\\var{b}cos \\left( \\frac{\\pi t}{6} \\right) \\]

\n

\n

Part c

\n

To do this you need to solve as follows

\n

\\[\\var{c}=\\var{a}+\\var{b}cos \\left( \\frac{\\pi t}{6} \\right) \\]

\n


Rearranging this gives

\n

\\begin{align}
cos \\left( \\frac{\\pi t}{6} \\right) & =\\left( \\frac{\\var{c}-\\var{a}}{\\var{b}} \\right) \\\\\\\\
\\left( \\frac{\\pi t}{6}\\right) & = cos^{-1}\\left( \\frac{\\var{c}-\\var{a}}{\\var{b}} \\right)=\\var{pt_6} \\text{  or  }2\\pi-\\var{pt_6} \\\\\\\\
t & = \\var{t1} \\text{  or } \\var{t2}
\\end{align}

\n\n

\n

So the boat cannot use the port between $\\var{t1_min} \\text{  minutes past  } \\var{t1_hour}$ and $\\var{t2_min} \\text{  minutes past  } \\var{t2_hour}$

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Original Equation", "definition": "random(2 .. 3#0.1)", "description": "", "templateType": "randrange", "can_override": false}, "b": {"name": "b", "group": "Original Equation", "definition": "random(1 .. 2#0.1)", "description": "", "templateType": "randrange", "can_override": false}, "c": {"name": "c", "group": "Original Equation", "definition": "random(2.21 .. 2.79#0.02)", "description": "", "templateType": "randrange", "can_override": false}, "pt_6": {"name": "pt_6", "group": "Solution steps to original equation", "definition": "arccos((c-a)/b)", "description": "", "templateType": "anything", "can_override": false}, "t1": {"name": "t1", "group": "Solution steps to original equation", "definition": "(6*pt_6)/pi", "description": "", "templateType": "anything", "can_override": false}, "t2": {"name": "t2", "group": "Solution steps to original equation", "definition": "(2pi-pt_6)*6/pi", "description": "", "templateType": "anything", "can_override": false}, "defs": {"name": "defs", "group": "Original Equation", "definition": "[\n ['a',a],\n ['b',b],\n ]", "description": "", "templateType": "anything", "can_override": false}, "t1_hour": {"name": "t1_hour", "group": "Times", "definition": "trunc(t1)", "description": "", "templateType": "anything", "can_override": false}, "t2_hour": {"name": "t2_hour", "group": "Times", "definition": "trunc(t2)", "description": "", "templateType": "anything", "can_override": false}, "t1_min": {"name": "t1_min", "group": "Times", "definition": "int((t1-trunc(t1))*60)", "description": "", "templateType": "anything", "can_override": false}, "t2_min": {"name": "t2_min", "group": "Times", "definition": "int((t2-trunc(t2))*60)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Original Equation", "variables": ["a", "b", "c", "defs"]}, {"name": "Solution steps to original equation", "variables": ["pt_6", "t1", "t2"]}, {"name": "Times", "variables": ["t1_hour", "t2_hour", "t1_min", "t2_min"]}], "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": "

The depth of water ($x$ m) in a port is given by the equation below where $t$ represents the time in hours after midnight

\n

\\[x=\\var{a}+\\var{b}cos \\left( \\frac{\\pi t}{6} \\right) \\]

"}, {"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 is the depth of water at the low tide? (you do not need to include the units in your answer)

\n

[[0]]

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "low", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{a}-{b}", "maxValue": "{a}-{b}", "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": "

What is the time of the first high tide after $t=0$?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "dropdownlist", "displayColumns": 0, "showCellAnswerState": true, "choices": ["1am", "2am", "3am", "4am", "5am", "6am", "7am", "8am", "9am", "10am", "11am", "12pm"], "matrix": [0, 0, 0, 0, 0, "0", "0", "0", 0, 0, 0, "1"], "distractors": ["", "", "", "", "", "", "", "", "", "", "", ""]}, {"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 first two times after midnight and between which a boat with a draught of $\\var{c}$m is not able to use the port?

\n\n

\n\n

\n

The boat is not able to use the port between [[2]] minutes past [[0]] and [[3]] minutes past [[1]]

\n

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "t1h", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{t1_hour}", "maxValue": "{t1_hour}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "t2h", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{t2_hour}", "maxValue": "{t2_hour}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "t1m", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{t1_min}", "maxValue": "{t1_min}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "t2m", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{t2_min}", "maxValue": "{t2_min}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}], "allowPrinting": true, "navigation": {"allowregen": true, "reverse": true, "browse": true, "allowsteps": false, "showfrontpage": true, "showresultspage": "oncompletion", "navigatemode": "sequence", "onleave": {"action": "none", "message": "

Please check you have answered all parts.

"}, "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": "", "reviewshowscore": true, "reviewshowfeedback": true, "reviewshowexpectedanswer": true, "reviewshowadvice": true, "feedbackmessages": []}, "diagnostic": {"knowledge_graph": {"topics": [], "learning_objectives": []}, "script": "diagnosys", "customScript": ""}, "contributors": [{"name": "Mike Phipps", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14139/"}], "extensions": ["geogebra"], "custom_part_types": [], "resources": []}