// Numbas version: finer_feedback_settings {"name": "Johan's copy of Embed geogebra with deployggb.js", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"type": "question", "functions": {}, "preamble": {"css": "", "js": ""}, "name": "Johan's copy of Embed geogebra with deployggb.js", "variables": {"a": {"definition": "vector(random(3..5#0.25),random(1..2#0.25))", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "a"}, "b": {"definition": "a-vector(3,0)", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "b"}, "a_def": {"definition": "\"(\"+a[0]+\",\"+a[1]+\")\"", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "a_def"}, "b_def": {"definition": "\"(\"+b[0]+\",\"+b[1]+\")\"", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "b_def"}}, "rulesets": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "variable_groups": [], "parts": [{"variableReplacements": [], "scripts": {}, "type": "gapfill", "gaps": [{"variableReplacementStrategy": "originalfirst", "marks": 1, "type": "extension", "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}}], "prompt": "
Construct an equilateral triangle with corners at the two given points, using the Polygon tool (it's not sufficient to create line segments between the corners).
\n{geogebra_applet('HjFhq32N',[[\"A\",a_def],[\"B\",b_def]],[[\"Tool1\",\"p0g0\"]])}
\nWhen your construction is complete, this part will be marked correct.
", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "marks": 0}], "question_groups": [{"pickQuestions": 0, "questions": [], "pickingStrategy": "all-ordered", "name": ""}], "metadata": {"description": "A sneak peek at a really clever integration of GeoGebra with Numbas.
", "licence": "Creative Commons Attribution 4.0 International"}, "extensions": ["geogebra"], "statement": "In this question, the position of point $\\mathbf{a}$ is picked randomly, and $\\mathbf{B}$ is 3 units to its left.
\n$\\mathbf{a} = \\var{a}$
", "ungrouped_variables": ["a", "a_def", "b", "b_def"], "showQuestionGroupNames": false, "tags": [], "advice": "Either construct the intersection of two circles centred at $\\mathbf{a}$ and $\\mathbf{b}$, or use the Regular Polygon tool.
\nHere's one way of doing it:
\n{geogebra_applet('eG6ezhKk',[[\"A\",a_def],[\"B\",b_def]],[])}
", "contributors": [{"name": "Johan Maertens", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1301/"}]}]}], "contributors": [{"name": "Johan Maertens", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1301/"}]}