// Numbas version: finer_feedback_settings {"name": "identify the reverse bearing", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "identify the reverse bearing", "tags": [], "metadata": {"description": "

Students are shown a random bearing from A to B and asked to give the bearing from B to A as either a compass bearing or a true bearing.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

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

\n

The bearing shown from A to B is {dsp_angle}.

", "advice": "

To find a compass bearing going from B to A, we start with the compass bearing from A to B, and:

\n

(1) replace N by S or S by N.

\n

(2) leave the number in the middle unchanged.

\n

(3) replace E by W or W by E.

\n

To find a true bearing going from B to A: 

\n

if the true bearing from A to B < 180°, then the bearing from B to A is 180° + bearing from A to B.

\n

If the true bearing from A to B is > 180°, then the bearing from B to A is bearing from A to B - 180°.

\n

Then you need to give it in the correct format, which may mean converting from true bearing to compass bearing or the other way around.

", "rulesets": {}, "extensions": ["geogebra"], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"defs": {"name": "defs", "group": "geogebra vars", "definition": "[\n ['bearing_1',angle]\n ]", "description": "", "templateType": "anything", "can_override": false}, "angle": {"name": "angle", "group": "geogebra vars", "definition": "random(0..359)", "description": "", "templateType": "anything", "can_override": false}, "angle_compass": {"name": "angle_compass", "group": "display vars", "definition": "switch(angle=0,\"N\",\n 0Find the bearing from B to A. Give your answer as a {ans_type}.

\n

You can copy the \" ° \" sign from here, or just leave it out of your answer.

", "answer": "{answer1}|{answer2}", "displayAnswer": "{answer1}", "matchMode": "regex"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}]}], "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}