// Numbas version: exam_results_page_options {"name": "Q3 Trigonometric functions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"preamble": {"js": "", "css": ""}, "advice": "", "name": "Q3 Trigonometric functions", "variable_groups": [], "tags": [], "variablesTest": {"condition": "(b > 0.5 || b < -0.5) &&\nvalid_check ", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "function_angle", "function_sign", "function_name", "valid_check", "function", "angle_radians", "angle_d2", "quadrants", "solution1", "solution2", "solution_array", "marks"], "extensions": [], "functions": {}, "metadata": {"description": "

Solve a trigonometric equation

", "licence": "None specified"}, "parts": [{"prompt": "

$\\simplify{{a}{function}(theta)+{b} = 0}$

\n

\n

In which quadrants do the solutions exist (select two)?

\n

[[0]]

\n

Give all angles below in degrees.

\n

1st solution (lowest angle)

\n

[[1]]$^\\circ$

\n

2nd solution (highest angle)

\n

[[2]]$^\\circ$

", "

"], "displayType": "checkbox"}, {"strictPrecision": false, "mustBeReduced": false, "marks": "4", "showFeedbackIcon": true, "precisionPartialCredit": "50", "maxValue": "{solution1}", "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "minValue": "{solution1}", "type": "numberentry", "variableReplacements": [], "correctAnswerFraction": false, "precision": "2", "precisionMessage": "You have not given your answer to the correct precision.", "scripts": {}, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "correctAnswerStyle": "plain", "precisionType": "dp", "showPrecisionHint": true}, {"strictPrecision": false, "mustBeReduced": false, "marks": "4", "showFeedbackIcon": true, "precisionPartialCredit": "50", "maxValue": "{solution2}", "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "minValue": "{solution2}", "type": "numberentry", "variableReplacements": [], "correctAnswerFraction": false, "precision": "2", "precisionMessage": "You have not given your answer to the correct precision.", "scripts": {}, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "correctAnswerStyle": "plain", "precisionType": "dp", "showPrecisionHint": true}]}], "variables": {"angle_radians": {"description": "", "definition": "switch(function_name='sin',arcsin(function_angle),\n function_name='cos',arccos(function_angle),\n function_name='tan',arctan(function_angle),\n 'error')", "group": "Ungrouped variables", "name": "angle_radians", "templateType": "anything"}, "a": {"description": "", "definition": "random(2..9)", "group": "Ungrouped variables", "name": "a", "templateType": "anything"}, "marks": {"description": "", "definition": "switch(function_name='sin' and function_sign=1,[1,1,0,0],\n function_name='sin' and function_sign=-1,[0,0,1,1],\n function_name='cos'and function_sign=1,[1,0,0,1],\n function_name='cos'and function_sign=-1,[0,1,1,0],\n function_name='tan'and function_sign=1,[1,0,1,0],\n function_name='tan'and function_sign=-1,[0,1,0,1],\n 'error')", "group": "Ungrouped variables", "name": "marks", "templateType": "anything"}, "valid_check": {"description": "", "definition": "function_name='tan' || abs(b)Evaluate for all angles of $\\theta$ in the interval $0^\\circ \\leq \\theta < 360^\\circ$ satisfying: