// Numbas version: exam_results_page_options {"name": "Terry's copy of A randomised line in a GeoGebra worksheet - set the positions of two points", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"preventleave": false, "showfrontpage": false, "allowregen": true}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "tags": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "name": "Terry's copy of A randomised line in a GeoGebra worksheet - set the positions of two points", "ungrouped_variables": ["a", "b"], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Construct a line through two points in a GeoGebra worksheet. Change the line by setting the positions of the two points when the worksheet is embedded into the question.

"}, "functions": {}, "parts": [], "preamble": {"js": "", "css": ""}, "statement": "

\$a = \\var{a}\$

\n

\$b = \\var{b}\$

\n

{geogebra_applet('UqJChZFJ',[ ['A',a], ['B',b] ])}

", "variables": {"a": {"definition": "vector( random(-3..3), random(-3..3) )", "group": "Ungrouped variables", "name": "a", "templateType": "anything", "description": ""}, "b": {"definition": "vector( random(-3..3), random(-3..3) )", "group": "Ungrouped variables", "name": "b", "templateType": "anything", "description": ""}}, "advice": "", "type": "question", "rulesets": {}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}], "extensions": ["geogebra"]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}]}