// Numbas version: exam_results_page_options {"name": "Trigonometric functions v0.2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Trigonometric functions v0.2", "tags": [], "metadata": {"description": "

Solve a trigonometric equation

", "licence": "None specified"}, "statement": "

Evaluate for all angles of $\\theta$ in the interval $0^\\circ \\leq \\theta < 360^\\circ $ satisfying:

", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"angle_radians": {"name": "angle_radians", "group": "Ungrouped variables", "definition": "switch(function_name='sin',arcsin(function_angle),\n function_name='cos',arccos(function_angle),\n function_name='tan',arctan(function_angle),\n 'error')", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "templateType": "anything", "can_override": false}, "answers": {"name": "answers", "group": "Ungrouped variables", "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')", "description": "", "templateType": "anything", "can_override": false}, "valid_check": {"name": "valid_check", "group": "Ungrouped variables", "definition": "function_name='tan' || abs(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", "answers"], "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": "

$\\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$

", "gaps": [{"type": "m_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "mark:\n apply(base_mark);\n switch(\n total_score = 2/2,\n positive_feedback(\"Both quadrants are correct.\"),\n total_score = 1/2,\n feedback(\"Only one of your quadrants is correct.\")\n , // otherwise\n negative_feedback(\"Both of your quadrants are incorrect.\")\n )", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": "2", "shuffleChoices": false, "displayType": "checkbox", "displayColumns": 0, "minAnswers": "2", "maxAnswers": "2", "warningType": "prevent", "showCellAnswerState": true, "markingMethod": "sum ticked cells", "choices": ["

Quadrant 1

", "

Quadrant 2

", "

Quadrant 3

", "

Quadrant 4

"], "matrix": "answers"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "4", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{solution1}", "maxValue": "{solution1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "2", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "4", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{solution2}", "maxValue": "{solution2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "2", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "David Wishart", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1461/"}]}]}], "contributors": [{"name": "David Wishart", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1461/"}]}