// Numbas version: exam_results_page_options {"name": "A randomised line in a GeoGebra worksheet - set the positions of two points", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {}, "ungrouped_variables": ["a", "b"], "statement": "

$a = \\var{a}$

\n

$b = \\var{b}$

\n

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

", "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"js": "", "css": ""}, "tags": [], "parts": [], "variable_groups": [], "metadata": {"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.

", "licence": "Creative Commons Attribution 4.0 International"}, "advice": "", "name": "A randomised line in a GeoGebra worksheet - set the positions of two points", "variables": {"a": {"name": "a", "description": "", "group": "Ungrouped variables", "definition": "vector( random(-3..3), random(-3..3) )", "templateType": "anything"}, "b": {"name": "b", "description": "", "group": "Ungrouped variables", "definition": "vector( random(-3..3), random(-3..3) )", "templateType": "anything"}}, "type": "question", "extensions": ["geogebra"], "functions": {}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}