// Numbas version: finer_feedback_settings {"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": [{"tags": ["SFY0001", "checked2015", "equation of a straight line", "standard form"], "statement": "
Express the equation of the given line in the form $y=mx+c$.
\n\\[\\simplify[std]{{a}x+{b}y={c}}\\]
\nInput your answer in the form $mx+c$ for suitable values of $m$ and $c$.
\nInput $m$ and $c$ as fractions or integers as appropriate and not as decimals.
\nIf 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$.
", "name": "Luis's copy of Equation of a straight line 0", "metadata": {"notes": "\n \t\t\n \t\t", "licence": "Creative Commons Attribution 4.0 International", "description": "Express the equation of the given line in the form $y=mx+c$.
"}, "ungrouped_variables": ["a", "c2", "c1", "b", "c"], "parts": [{"prompt": "$y=\\;\\phantom{{}}$[[0]]
", "type": "gapfill", "marks": 0, "showCorrectAnswer": true, "gaps": [{"checkvariablenames": false, "showCorrectAnswer": true, "answer": "({-a}/{b})x+{c}/{b}", "vsetrange": [0, 1], "answersimplification": "std", "expectedvariablenames": [], "vsetrangepoints": 5, "type": "jme", "scripts": {}, "checkingtype": "absdiff", "notallowed": {"partialCredit": 0, "message": "Input all numbers as fractions or integers as appropriate and not as decimals.
", "showStrings": false, "strings": ["."]}, "marks": 2, "checkingaccuracy": 0.001, "showpreview": true}], "scripts": {}}], "variables": {"c2": {"definition": "random(-11..11 except 0)", "name": "c2", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "c": {"definition": "if(gcd(c1,c2)=1,c2,c2+1)", "name": "c", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "a": {"definition": "random(1..9)", "name": "a", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "b": {"definition": "random(-9..9 except 0)", "name": "b", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "c1": {"definition": "gcd(a,b)", "name": "c1", "templateType": "anything", "group": "Ungrouped variables", "description": ""}}, "variable_groups": [], "preamble": {"css": "", "js": ""}, "type": "question", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "advice": "\n \n ", "showQuestionGroupNames": false, "functions": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "questions": [], "pickQuestions": 0}], "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/"}]}