// Numbas version: exam_results_page_options {"name": "Test GGB Communication", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "name": "Test GGB Communication", "parts": [{"sortAnswers": false, "prompt": "

Where's the centroid?

\n

\n

\n

$\\bar{x} =$ [[0]]

\n

$\\bar{y} =$ [[1]]

This question demonstrates sending commands to geogebra and getting geogebra values and using them as part of a marking algorithm.

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

{geogebra_applet('um6ck7qc',[['A',A],['B',B],['C',C],['D',D]])}

\n

\n

", "variables": {"C": {"templateType": "anything", "description": "", "definition": "vector(Cx,Ay-Cy)", "name": "C", "group": "Ungrouped variables"}, "By": {"templateType": "anything", "description": "

4

", "definition": "0", "name": "By", "group": "Ungrouped variables"}, "Ax": {"templateType": "anything", "description": "", "definition": "0", "name": "Ax", "group": "Ungrouped variables"}, "D": {"templateType": "anything", "description": "", "definition": "vector(Dx,Dy)", "name": "D", "group": "Ungrouped variables"}, "Dy": {"templateType": "anything", "description": "", "definition": "Ay-Cy", "name": "Dy", "group": "Ungrouped variables"}, "Ay": {"templateType": "anything", "description": "", "definition": "4.88", "name": "Ay", "group": "Ungrouped variables"}, "A": {"templateType": "anything", "description": "", "definition": "vector(Ax,Ay)", "name": "A", "group": "Ungrouped variables"}, "Bx": {"templateType": "anything", "description": "", "definition": "1", "name": "Bx", "group": "Ungrouped variables"}, "Dx": {"templateType": "anything", "description": "", "definition": "0.5", "name": "Dx", "group": "Ungrouped variables"}, "B": {"templateType": "anything", "description": "", "definition": "vector(Bx,By)", "name": "B", "group": "Ungrouped variables"}, "Cx": {"templateType": "anything", "description": "", "definition": "0", "name": "Cx", "group": "Ungrouped variables"}, "Cy": {"templateType": "anything", "description": "", "definition": "5\n", "name": "Cy", "group": "Ungrouped variables"}}, "preamble": {"js": "\n", "css": ""}, "tags": [], "ungrouped_variables": ["A", "B", "C", "D", "Ax", "Ay", "Bx", "By", "Cx", "Cy", "Dx", "Dy"], "type": "question", "contributors": [{"name": "Lars Hansson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/774/"}, {"name": "William Haynes", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2530/"}]}]}], "contributors": [{"name": "Lars Hansson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/774/"}, {"name": "William Haynes", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2530/"}]}