// Numbas version: finer_feedback_settings {"name": "Sin, cos, arealsetning", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Sin, cos, arealsetning", "tags": [], "metadata": {"description": "", "licence": "All rights reserved"}, "statement": "

Gitt en trekant $ABC$ med sidene $AC=\\var{AC}$, $AB=\\var{AB}$ og vinkel $\\angle BAC=\\var{angleA}^{\\circ}$

\n

{geogebra_applet('https://www.geogebra.org/m/sxxas4f3',defs)}

\n

(Trykk på bildet for å flytte på trekanten.)

", "advice": "", "rulesets": {}, "extensions": ["geogebra"], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"A_vect": {"name": "A_vect", "group": "Ungrouped variables", "definition": "vector(random(-8,-3),-1)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(6..10)", "description": "", "templateType": "anything", "can_override": false}, "defs": {"name": "defs", "group": "Ungrouped variables", "definition": "[\n ['A',A_vect],\n ['b',b],\n ['B',B_vect]\n ]", "description": "", "templateType": "anything", "can_override": false}, "B_vect": {"name": "B_vect", "group": "Ungrouped variables", "definition": "vector(7,-1)", "description": "", "templateType": "anything", "can_override": false}, "AC": {"name": "AC", "group": "Ungrouped variables", "definition": "10", "description": "", "templateType": "anything", "can_override": false}, "AB": {"name": "AB", "group": "Ungrouped variables", "definition": "7-dot(A_vect,vector(1,0))", "description": "", "templateType": "anything", "can_override": false}, "BC": {"name": "BC", "group": "Ungrouped variables", "definition": "b", "description": "", "templateType": "anything", "can_override": false}, "angleA": {"name": "angleA", "group": "Ungrouped variables", "definition": "round(degrees(arccos((AC^2+AB^2-BC^2)/(2*AB*AC))))", "description": "", "templateType": "anything", "can_override": false}, "angleB": {"name": "angleB", "group": "Ungrouped variables", "definition": "round(degrees(arcsin(AC*sin(radians(angleA))/BC)))", "description": "", "templateType": "anything", "can_override": false}, "": {"name": "", "group": "Ungrouped variables", "definition": "", "description": "", "templateType": "anything", "can_override": false}, "Areal": {"name": "Areal", "group": "Ungrouped variables", "definition": "AC*AB*sin(radians(angleA))/2", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["A_vect", "b", "defs", "B_vect", "AC", "AB", "BC", "angleA", "angleB", "", "Areal"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Bruk cosinussetningen og finn siden $BC$

", "minValue": "{BC}", "maxValue": "{BC}", "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": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Bruk sinussetningen for å finne vinkelen $\\angle ABC$ i grader

", "minValue": "angleB", "maxValue": "angleB", "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": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Bruk arealsetningen for å finne arealet til trekanten $ABC$ 

", "minValue": "{Areal}", "maxValue": "{Areal}", "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": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Elena Malyutina", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7213/"}]}]}], "contributors": [{"name": "Elena Malyutina", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7213/"}]}