// Numbas version: exam_results_page_options {"name": "Tree - SOHCAHTOA", "extensions": [], "custom_part_types": [], "resources": [["question-resources/Tree1.png", "/srv/numbas/media/question-resources/Tree1.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Tree - SOHCAHTOA", "tags": [], "metadata": {"description": "Simple SOHCAHTOA example", "licence": "All rights reserved"}, "statement": "

Determine the angle $x$:

\n

\n

When the distance from the surveyor's eyepiece to the tree $a=\\var{a}$ m, and from the eyepiece to the top of the tree $h=\\var{h}$ m.

\n

Give your answer to the nearest degree.

", "advice": "

By applying SOH-CAH-TOA we have:

\n

\\[\\cos(x)=\\frac{\\var{a}}{\\var{h}}=\\var{cosx}\\]

\n

Now we need to take the inverse cosine to get the angle:

\n

\\[x=\\cos^{-1}(\\var{cosx})=\\var{x}\\]

", "rulesets": {}, "extensions": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1.5 .. 12#0.5)", "description": "", "templateType": "randrange"}, "x": {"name": "x", "group": "Ungrouped variables", "definition": "random(10 .. 50#1)", "description": "", "templateType": "randrange"}, "h": {"name": "h", "group": "Ungrouped variables", "definition": "precround({a}/cos({x_rad}),2)", "description": "", "templateType": "anything"}, "x_rad": {"name": "x_rad", "group": "Ungrouped variables", "definition": "radians({x})", "description": "", "templateType": "anything"}, "cosx": {"name": "cosx", "group": "Ungrouped variables", "definition": "precround(cos((x_rad)),4)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "x", "x_rad", "h", "cosx"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

The angle of elevation $x$, in degrees, is

", "minValue": "{x}", "maxValue": "{x}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": 0, "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "contributors": [{"name": "Michael Proudman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/269/"}]}]}], "contributors": [{"name": "Michael Proudman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/269/"}]}