// Numbas version: finer_feedback_settings {"name": "Pythagorean Identity: find sin given cos", "extensions": [], "custom_part_types": [], "resources": [["question-resources/right_angled_triangle_4erLEm1.svg", "/srv/numbas/media/question-resources/right_angled_triangle_4erLEm1.svg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Pythagorean Identity: find sin given cos", "tags": ["pythagoras", "Trigonometry", "trigonometry"], "metadata": {"description": "
Use $\\cos^2\\theta+\\sin^2\\theta=1$ and/or an understanding on the unit circle definitions to determine $\\sin\\theta$ given $\\cos\\theta$ and the quadrant theta is in.
", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "You are told that $\\cos\\theta=\\simplify{{a}/sqrt({cc})}$.
", "advice": "The equation of the unit circle is \\[x^2+y^2=1\\]
\nThis equation is a consequence of Pythagoras' Theorem, $a^2+b^2=c^2$, on a triangle in the unit circle with hypotenuse 1.
\nGiven that $\\cos\\theta$ is the $x$ coordinate of a point on the unit circle, and that $\\sin\\theta$ is the $y$ coordinate of the same point, by substitution we have the following Pythagorean identity \\[\\cos^2\\theta+\\sin^2\\theta=1\\]
\nwhere $\\cos^2\\theta$ and $\\sin^2\\theta$ is the notation used to represent $(\\cos\\theta)^2$ and $(\\sin\\theta)^2$ respectively.
\nUsing the value of $\\cos\\theta$ given in the question we have that $\\left(\\simplify{{a}/sqrt({cc})}\\right)^2+\\sin^2\\theta=1$. We solve for $\\sin\\theta$:
\n$\\simplify{{aa}/{cc}}+\\sin^2\\theta$ | \n$=$ | \n$1$ | \n
$\\sin^2\\theta$ | \n$=$ | \n$1-\\simplify{{aa}/{cc}}$ | \n
$\\sin^2\\theta$ | \n$=$ | \n$\\simplify[fractionNumbers]{{diff}}$ | \n
$\\sin\\theta$ | \n$=$ | \n$\\pm\\simplify[fractionNumbers]{sqrt({diff})}$ | \n
Because we are told that $\\cos\\theta$ is positive, we know that $\\theta$ is in the first or fourth quadrant (since $\\cos\\theta$ is the $x$ coordinate). If $\\theta$ is in the first quadrant, then (since $\\sin\\theta$ is the $y$ coordinate) $\\sin\\theta$ is positive, that is, $\\sin\\theta=\\simplify[fractionNumbers]{sqrt({diff})}$. However, if $\\theta$ is in the fourth quadrant, then (since $\\sin\\theta$ is the $y$ coordinate) $\\sin\\theta$ is negative, that is, $\\sin\\theta=-\\simplify[fractionNumbers]{sqrt({diff})}$. negative, we know that $\\theta$ is in the second or third quadrant (since $\\cos\\theta$ is the $x$ coordinate). If $\\theta$ is in the second quadrant, then (since $\\sin\\theta$ is the $y$ coordinate) $\\sin\\theta$ is positive, that is, $\\sin\\theta=\\simplify[fractionNumbers]{sqrt({diff})}$. However, if $\\theta$ is in the third quadrant, then (since $\\sin\\theta$ is the $y$ coordinate) $\\sin\\theta$ is negative, that is, $\\sin\\theta=-\\simplify[fractionNumbers]{sqrt({diff})}$.
\n", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"c": {"name": "c", "group": "Ungrouped variables", "definition": "'\\$\\\\simplify{sqrt({cc})\\}$'", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(-11..11 except 0)", "description": "", "templateType": "anything", "can_override": false}, "aa": {"name": "aa", "group": "Ungrouped variables", "definition": "a^2", "description": "", "templateType": "anything", "can_override": false}, "cc": {"name": "cc", "group": "Ungrouped variables", "definition": "random(144..624 except [169,196,225,256,289,324,361,400,441,484,529,576])", "description": "", "templateType": "anything", "can_override": false}, "diff": {"name": "diff", "group": "Ungrouped variables", "definition": "1-aa/cc", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "c", "aa", "cc", "diff"], "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": "If $\\theta$ is in the firstsecond quadrant, then the exact value of $\\sin\\theta$ is [[0]].
\nNote: In this question we require you input your answer without decimals and without entering the words sin, cos or tan. For example, if your answer is $\\frac{\\sqrt{5}}{\\sqrt{17}}$, then enter sqrt(5)/sqrt(17)
", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "sqrt({diff})", "answerSimplification": "fractionNumbers", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "notallowed": {"strings": [".", "sin", "cos", "tan", "sec", "cosec", "cot"], "showStrings": true, "partialCredit": 0, "message": ""}, "valuegenerators": []}], "sortAnswers": false}, {"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": "If $\\theta$ is in the thirdfourth quadrant, then the exact value of $\\sin\\theta$ is [[0]].
\nNote: In this question we require you input your answer without decimals and without entering the words sin, cos or tan. For example, if your answer is $\\frac{\\sqrt{5}}{\\sqrt{17}}$, then enter sqrt(5)/sqrt(17)
", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "-sqrt({diff})", "answerSimplification": "fractionNumbers", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "notallowed": {"strings": [".", "sin", "cos", "tan", "sec", "cosec", "cot"], "showStrings": true, "partialCredit": 0, "message": ""}, "valuegenerators": []}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}