// Numbas version: exam_results_page_options {"name": "Roof Truss (SOHCAHTOA)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/Triangle_1.png", "/srv/numbas/media/question-resources/Triangle_1.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Roof Truss (SOHCAHTOA)", "tags": [], "metadata": {"description": "Simple application of SOH-CAH-TOA", "licence": "All rights reserved"}, "statement": "

The diagram shows a symmetrical roof truss, with rise $r=\\var{r}$ m  and rafter  $AC$ inclined at $\\var{angle}^\\circ$.

\n

\n

Evaluate the length of the rafter $AC$ and the span $AB$.

", "advice": "

The $\\var{r}$ m is opposite the angle $\\var{angle}$, and we need to find the hypotenuse $AC$.

\n

Using SOH-CAH-TOA and rearranging gives:

\n

\\[ AC=\\frac{\\var{r}}{\\sin{\\var{angle}}}=\\var{AC}\\]

\n

We now need to claculate the length of the span $AB$. You have two options.

\n

First of all, label the midpoint of $AB$ as $x$ then:

\n

If you are really confident about your first answer you can use Pythagoras' Theorem

\n

\\[Ax=\\sqrt{\\var{AC}^{2}-\\var{r}^{2}}=\\var{Ax}\\]

\n

Now double this to get the span.

\n

\\[\\var{Ax} \\times 2=\\var{AB}\\]

\n

A second (safer) method would be to use only the information that you are given and are certain about.

\n

Again using SOH-CAH-TOA and rearranging gives:

\n

\\[Ax=\\frac{\\var{r}}{\\tan{\\var{angle}}}=\\var{Ax}\\]

\n

Now double this to get the span.

\n

\\[\\var{Ax} \\times 2=\\var{AB}\\]

", "rulesets": {}, "extensions": [], "variables": {"r": {"name": "r", "group": "Ungrouped variables", "definition": "random(3 .. 9#0.5)", "description": "", "templateType": "randrange"}, "angle_rad": {"name": "angle_rad", "group": "Ungrouped variables", "definition": "{angle}*(pi/180)", "description": "", "templateType": "anything"}, "AC": {"name": "AC", "group": "Ungrouped variables", "definition": "precround({r}/sin(angle_rad),2)", "description": "", "templateType": "anything"}, "angle": {"name": "angle", "group": "Ungrouped variables", "definition": "random(24 .. 44#1)", "description": "", "templateType": "randrange"}, "AB": {"name": "AB", "group": "Ungrouped variables", "definition": "precround(({r}/tan(angle_rad))*2,2)", "description": "", "templateType": "anything"}, "Ax": {"name": "Ax", "group": "Ungrouped variables", "definition": "precround(({r}/tan(angle_rad)),2)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["r", "angle", "angle_rad", "AC", "AB", "Ax"], "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 length of rafter $AC$ in metres:

\n

", "minValue": "{AC}", "maxValue": "{AC}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "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": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

The length of the span $AB$ in meters:

\n

", "minValue": "{AB}", "maxValue": "{AB}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "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/"}]}