// Numbas version: exam_results_page_options {"name": "Luis's copy of Equation of a straight line 0", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"ungrouped_variables": ["a", "c2", "c1", "b", "c"], "name": "Luis's copy of Equation of a straight line 0", "variablesTest": {"condition": "", "maxRuns": 100}, "preamble": {"js": "", "css": ""}, "parts": [{"prompt": "

$y=\\;\\phantom{{}}$[[0]]

", "gaps": [{"checkvariablenames": false, "showpreview": true, "vsetrangepoints": 5, "answersimplification": "std", "type": "jme", "expectedvariablenames": [], "scripts": {}, "marks": 2, "checkingaccuracy": 0.001, "checkingtype": "absdiff", "answer": "({-a}/{b})x+{c}/{b}", "showCorrectAnswer": true, "vsetrange": [0, 1], "notallowed": {"message": "

Input all numbers as fractions or integers as appropriate and not as decimals.

", "strings": ["."], "showStrings": false, "partialCredit": 0}}], "showCorrectAnswer": true, "type": "gapfill", "scripts": {}, "marks": 0}], "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "type": "question", "functions": {}, "variables": {"c2": {"name": "c2", "templateType": "anything", "description": "", "definition": "random(-11..11 except 0)", "group": "Ungrouped variables"}, "a": {"name": "a", "templateType": "anything", "description": "", "definition": "random(1..9)", "group": "Ungrouped variables"}, "c1": {"name": "c1", "templateType": "anything", "description": "", "definition": "gcd(a,b)", "group": "Ungrouped variables"}, "b": {"name": "b", "templateType": "anything", "description": "", "definition": "random(-9..9 except 0)", "group": "Ungrouped variables"}, "c": {"name": "c", "templateType": "anything", "description": "", "definition": "if(gcd(c1,c2)=1,c2,c2+1)", "group": "Ungrouped variables"}}, "variable_groups": [], "question_groups": [{"name": "", "pickQuestions": 0, "pickingStrategy": "all-ordered", "questions": []}], "showQuestionGroupNames": false, "tags": ["SFY0001", "checked2015", "equation of a straight line", "standard form"], "advice": "\n \n ", "statement": "

Express the equation of the given line in the form $y=mx+c$.

\n

\\[\\simplify[std]{{a}x+{b}y={c}}\\]

\n

Input your answer in the form $mx+c$ for suitable values of $m$ and $c$.

\n

Input $m$ and $c$ as fractions or integers as appropriate and not as decimals.

\n

If you input $m$ as a fraction, put brackets ( ) around the fraction. For example, if your answer for $m$ is $-\\dfrac{2}{3}$ and your answer for $c$ is $\\dfrac{7}{5}$, you should write $(-2/3)x+7/5$.

", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "notes": "\n \t\t\n \t\t", "description": "

Express the equation of the given line in the form $y=mx+c$.

"}, "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}]}