// Numbas version: finer_feedback_settings {"name": "Rearrange formula 5", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Rearrange formula 5", "tags": [], "metadata": {"description": "

Students are presented with an AI generated solution to rerrange the quadratic equation where the AI has made errors, they are asked to rewrite the solution correctly. No variables but this is version 5 of 5 versions of the question. This version uses a much more mangled AI generated solution that the other 4 versions and does not ask for the line with the first error, just for the student to rewrite the solution correctly.

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

To rearrange the quadratic formula \\(\\displaystyle{x=\\frac{-b+\\sqrt{b^2-4ac}}{2a}}\\) to make \\(c\\) the subject, follow these steps:

\n
    \n
  1. Start with the equation:\\(\\displaystyle{x=\\frac{-b+\\sqrt{b^2-4ac}}{2a}}\\)
  2. \n
  3. Multiply both sides by \\(2a\\): \\(2ax = -b + \\sqrt{b^2 - 4ac}\\)
  4. \n
  5. Add \\(b\\) to both sides: \\(2ax + b = \\sqrt{b^2 - 4ac}\\)
  6. \n
  7. Square both sides: \\((2ax + b)^2 = b^2 - 4ac\\)
  8. \n
  9. Expand the left sides: \\(4a^2x^2 + 4abx + b^2 = b^2 - 4ac\\)
  10. \n
  11. Subtract \\(b^2\\) from both sides:\\(4a^2x^2 + 4abx = -4ac\\)
  12. \n
  13. Divide both sides by \\(-4a\\) : \\(-ax^2 - bx = c\\)
  14. \n
  15. Now, \\(c\\) is the subject of the equation: \\(c = -ax^2 - bx\\)
  16. \n
", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

I asked an AI chat program to rearrange \\(\\displaystyle{x=\\frac{-b+\\sqrt{b^2-4ac}}{2a}}\\) to make \\(c\\) the subject. The response was:

\n

\n

Starting with the formula: \\(\\displaystyle{x = \\frac{-b + \\sqrt{b^2 - 4ac}}{ 2a}}\\)

\n

We want to isolate the variable \\(c\\) on one side of the equation. To do this, we will follow a series of steps:

\n

Multiply both sides of the equation by \\(2a: 2a  x = -b + \\sqrt{b^2 - 4ac}\\)

\n

Subtract \\(\\sqrt{b^2 - 4ac}\\) from both sides of the equation: \\(2a  x - \\sqrt{b^2 - 4ac} = -b\\)

\n

Add \\(b\\) to both sides of the equation: \\(2ax - \\sqrt{b^2 - 4ac} + b = 0\\)

\n

Add \\(\\sqrt{b^2 - 4ac} - b\\) to both sides of the equation: \\(2ax + \\sqrt{b^2 - 4ac} - b = \\sqrt{b^2 - 4ac} - b\\)

\n

Simplify the right-hand side: \\(2ax + \\sqrt{b^2 - 4ac} - b = -4ac / (\\sqrt{b^2 - 4ac}) + b)\\)

\n

Divide both sides of the equation by \\(-4a: c = (\\sqrt{b^2 - 4ac} - b) / 2a - x / 2a\\)

\n

Therefore, the equation rearranged to make \\(c\\) the subject is: \\(c = (\\sqrt{b^2 - 4ac} - b) / 2a - x / 2a.\\)

\n

\n

\n

On your handwritten notes comment on this solution and correct any errors that have been made.

"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Jim Pettigrew", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2037/"}, {"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "resources": []}]}], "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Jim Pettigrew", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2037/"}, {"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}