// Numbas version: exam_results_page_options {"percentPass": 0, "name": "MA1002 First Real Exam", "feedback": {"showactualmark": true, "showanswerstate": true, "advicethreshold": 0, "intro": "", "feedbackmessages": [], "allowrevealanswer": true, "showtotalmark": true}, "metadata": {"description": "

First Real Exam on Wednesday 1st March 2017

", "licence": "None specified"}, "showQuestionGroupNames": false, "duration": 3000, "navigation": {"reverse": true, "showresultspage": "oncompletion", "allowregen": true, "showfrontpage": true, "onleave": {"message": "", "action": "none"}, "preventleave": true, "browse": true}, "timing": {"timeout": {"message": "

Yuor time has run out. You will get credit for the work you have done so far.

", "action": "warn"}, "allowPause": true, "timedwarning": {"message": "

Warning, your time will run out in five minutes. 

", "action": "warn"}}, "showstudentname": true, "question_groups": [{"pickQuestions": 1, "pickingStrategy": "all-ordered", "name": "Group", "questions": [{"name": "MA1002 Antiderivatives", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Kieran Mulchrone", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1243/"}], "preamble": {"css": "", "js": ""}, "parts": [{"marks": "2", "showFeedbackIcon": true, "checkingaccuracy": 0.001, "vsetrangepoints": 5, "checkingtype": "absdiff", "expectedvariablenames": [], "variableReplacements": [], "type": "jme", "checkvariablenames": false, "prompt": "

$f(x) = \\var{a}x - \\var{b}$

", "variableReplacementStrategy": "originalfirst", "showpreview": true, "answer": "{a}x^2/2-{b}x+C", "vsetrange": [0, 1], "scripts": {}, "showCorrectAnswer": false}, {"marks": "2", "showFeedbackIcon": true, "checkingaccuracy": 0.001, "vsetrangepoints": 5, "checkingtype": "absdiff", "expectedvariablenames": [], "variableReplacements": [], "type": "jme", "checkvariablenames": false, "prompt": "

$f(x) = \\frac{1}{\\var{c}}+ \\frac{2}{\\var{d}}x^2 - \\frac{3}{\\var{f}}x^3$

", "variableReplacementStrategy": "originalfirst", "showpreview": true, "answer": "1/{c}x+2/(3{d})x^3-3x^4/(4{f})+C", "vsetrange": [0, 1], "scripts": {}, "showCorrectAnswer": false}, {"marks": "2", "showFeedbackIcon": true, "checkingaccuracy": 0.001, "vsetrangepoints": 5, "checkingtype": "absdiff", "expectedvariablenames": [], "variableReplacements": [], "type": "jme", "checkvariablenames": false, "prompt": "

$f(x) = e^\\var{g}$

", "variableReplacementStrategy": "originalfirst", "showpreview": true, "answer": "e^{g}x+C", "vsetrange": [0, 1], "scripts": {}, "showCorrectAnswer": false}, {"marks": "2", "showFeedbackIcon": true, "checkingaccuracy": 0.001, "vsetrangepoints": 5, "checkingtype": "absdiff", "expectedvariablenames": [], "variableReplacements": [], "type": "jme", "checkvariablenames": false, "prompt": "

$f(x) = e^{\\var{g}x}$

", "variableReplacementStrategy": "originalfirst", "showpreview": true, "answer": "e^({g}x)/{g}+C", "vsetrange": [0, 1], "scripts": {}, "showCorrectAnswer": false}], "tags": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "statement": "

Find the most general antiderivatives of the functions. Use the letter C to represent an unknown constant. 

", "ungrouped_variables": ["a", "c", "b", "d", "g", "f"], "advice": "

Don't forget to include the unknown constant C.

", "metadata": {"description": "

Antiderivatives

\n

rebel 

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "functions": {}, "rulesets": {}, "variable_groups": [], "variables": {"f": {"definition": "random(4,5,7,8)", "templateType": "anything", "name": "f", "group": "Ungrouped variables", "description": ""}, "b": {"definition": "random(1..9 except a)", "templateType": "anything", "name": "b", "group": "Ungrouped variables", "description": ""}, "a": {"definition": "2*random(2..4)", "templateType": "anything", "name": "a", "group": "Ungrouped variables", "description": ""}, "d": {"definition": "random(3,5,7)", "templateType": "anything", "name": "d", "group": "Ungrouped variables", "description": ""}, "g": {"definition": "random(2..5)", "templateType": "anything", "name": "g", "group": "Ungrouped variables", "description": ""}, "c": {"definition": "random(2..4)", "templateType": "anything", "name": "c", "group": "Ungrouped variables", "description": ""}}, "type": "question"}, {"name": "MA1002 Integration by Substitution", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Kieran Mulchrone", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1243/"}], "preamble": {"css": "", "js": ""}, "parts": [{"type": "gapfill", "marks": 0, "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "gaps": [{"answer": "(({a[0]}*(x^2)+{b[0]})^({m[0]}+1))/(2*{a[0]}*({m[0]}+1))+C", "marks": "2", "showFeedbackIcon": true, "checkingaccuracy": 0.001, "vsetrangepoints": 5, "checkingtype": "absdiff", "answersimplification": "all", "notallowed": {"partialCredit": 0, "message": "

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

", "showStrings": false, "strings": ["."]}, "type": "jme", "showpreview": true, "expectedvariablenames": [], "variableReplacementStrategy": "originalfirst", "checkvariablenames": false, "variableReplacements": [], "vsetrange": [0, 1], "scripts": {}, "showCorrectAnswer": false}, {"marks": 1, "showFeedbackIcon": true, "checkingaccuracy": 0.001, "vsetrangepoints": 5, "checkingtype": "absdiff", "answersimplification": "all", "showCorrectAnswer": false, "type": "jme", "showpreview": true, "expectedvariablenames": [], "variableReplacementStrategy": "originalfirst", "checkvariablenames": false, "variableReplacements": [], "vsetrange": [0, 1], "scripts": {}, "answer": "2{a[0]}x"}, {"marks": "1", "showFeedbackIcon": true, "checkingaccuracy": 0.001, "vsetrangepoints": 5, "checkingtype": "absdiff", "answersimplification": "all", "showCorrectAnswer": false, "type": "jme", "showpreview": true, "expectedvariablenames": [], "variableReplacementStrategy": "originalfirst", "checkvariablenames": false, "variableReplacements": [], "vsetrange": [0, 1], "scripts": {}, "answer": "du/(2{a[0]}x)"}, {"marks": 1, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "scripts": {}, "allowFractions": true, "correctAnswerFraction": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "minValue": "1/(2{a[0]})", "variableReplacements": [], "mustBeReducedPC": 0, "showCorrectAnswer": false, "maxValue": "1/(2{a[0]})", "notationStyles": ["plain", "en", "si-en"]}, {"marks": "1", "showFeedbackIcon": true, "checkingaccuracy": 0.001, "vsetrangepoints": 5, "checkingtype": "absdiff", "answersimplification": "all", "showCorrectAnswer": false, "type": "jme", "showpreview": true, "expectedvariablenames": [], "variableReplacementStrategy": "originalfirst", "checkvariablenames": false, "variableReplacements": [], "vsetrange": [0, 1], "scripts": {}, "answer": "u^({m[0]}+1)/({m[0]}+1)"}], "prompt": "

$I=\\simplify[std]{Int( x*({a[0]}x^2+{b[0]})^{m[0]},x)}$

\n

\n

Use $u=\\simplify[std]{{a[0]}x^2+{b[0]}}$ as your substitution.

\n

$\\frac{du}{dx}=$ [[1]]

\n

$dx=$ [[2]]

\n

Substituting back into the original equation for $dx$ and pulling out constants gives

\n

$I=$[[3]]$\\simplify[std]{Int(u^{m[0]},u)}$

\n

The next step is to integrate.

\n

$\\simplify{Int(u^{m[0]},u)}=$ [[4]]

\n

Putting all of these results together, we get the final answer of:

\n

[[0]]

", "variableReplacements": [], "scripts": {}, "showCorrectAnswer": true}], "ungrouped_variables": ["a", "b", "m"], "variablesTest": {"maxRuns": 100, "condition": ""}, "statement": "

Integrate the following by substitution.

\n

Don't forget the constant of integration ($C$).

", "tags": [], "advice": "

This problem is best solved by using substitution.
Note that if we let $u=\\simplify[std]{{a[0]} * (x ^ 2) + {b[0]}}$ then $du=\\simplify[std]{(2*{a[0]} * x)*dx }$
Hence we can replace $xdx$ by $\\frac{1}{2*\\var{a[0]}}du$.

\n

Hence the integral becomes:

\n

\\[\\begin{eqnarray*} I&=&\\simplify[std]{Int((1/(2{a[0]}))u^{m[0]},u)}\\\\ &=&\\simplify[all]{(1/(2{a[0]}))u^{m[0]+1}/{m[0]+1}+C}\\\\ &=& \\simplify[all]{({a[0]} * (x ^ 2) + {b[0]})^{m[0]+1}/(2{a[0]}*({m[0]}+1))+C} \\end{eqnarray*}\\]

\n

A Useful Result
This example can be generalised.
Suppose \\[I = \\int\\; f'(x)g(f(x))\\;dx\\]
The using the substitution $u=f(x)$ we find that $du=f'(x)\\;dx$ and so using the same method as above:
\\[I = \\int g(u)\\;du \\]
And if we can find this simpler integral in terms of $u$ we can replace $u$ by $f(x)$ and get the result in terms of $x$.

", "metadata": {"description": "

Step by step solving for integration by substitution

", "licence": "Creative Commons Attribution 4.0 International"}, "functions": {}, "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "variable_groups": [], "variables": {"a": {"definition": "repeat(random(1..5),5)", "templateType": "anything", "description": "", "name": "a", "group": "Ungrouped variables"}, "m": {"definition": "repeat(random(4..9),5)", "templateType": "anything", "description": "", "name": "m", "group": "Ungrouped variables"}, "b": {"definition": "repeat(random(-9..9 except 0),5)", "templateType": "anything", "description": "", "name": "b", "group": "Ungrouped variables"}}, "type": "question"}, {"name": "MA1002 Integration by substitution 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Kieran Mulchrone", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1243/"}], "variablesTest": {"condition": "", "maxRuns": 100}, "variable_groups": [], "variables": {"b": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "b", "definition": "random(1..8 except a)"}, "c": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "c", "definition": "random(1..9)"}, "a": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "a", "definition": "random(2..6)"}}, "statement": "

Evaluate the following indefinite integrals using integration by substitution. Use the letter C to represent any unknown constants.

", "preamble": {"css": "", "js": ""}, "parts": [{"variableReplacements": [], "showFeedbackIcon": true, "checkvariablenames": false, "prompt": "

$\\int e^x\\sqrt{1+e^x}\\mathrm{dx}$

", "checkingaccuracy": 0.001, "showpreview": true, "answer": "2(1+e^x)^(3/2)/3+C", "scripts": {}, "variableReplacementStrategy": "originalfirst", "vsetrangepoints": 5, "type": "jme", "checkingtype": "absdiff", "showCorrectAnswer": false, "vsetrange": [0, 1], "marks": "2", "expectedvariablenames": []}, {"variableReplacements": [], "showFeedbackIcon": true, "checkvariablenames": false, "prompt": "

$\\int\\frac{\\mathrm{dx}}{\\var{a}x+\\var{b}}$.

\n

Answer in terms of the natural log, represented by ln( ).

", "checkingaccuracy": 0.001, "showpreview": true, "answer": "1/{a}ln({a}x+{b})+C", "scripts": {}, "variableReplacementStrategy": "originalfirst", "vsetrangepoints": 5, "type": "jme", "checkingtype": "absdiff", "showCorrectAnswer": false, "vsetrange": [0, 1], "marks": "2", "expectedvariablenames": []}, {"variableReplacements": [], "showFeedbackIcon": true, "checkvariablenames": false, "prompt": "

$\\int \\frac{x \\mathrm{dx}}{\\var{c}+x^2}$.

\n

Answer in terms of the natural log, represented by ln( ).

", "checkingaccuracy": 0.001, "showpreview": true, "answer": "ln({c}+x^2)/2+C", "scripts": {}, "variableReplacementStrategy": "originalfirst", "vsetrangepoints": 5, "type": "jme", "checkingtype": "absdiff", "showCorrectAnswer": false, "vsetrange": [0, 1], "marks": "2", "expectedvariablenames": []}], "metadata": {"description": "

Integration by susbtitution, no hint given

", "licence": "Creative Commons Attribution 4.0 International"}, "advice": "

integration by Susbtitution

", "ungrouped_variables": ["c", "b", "a"], "tags": [], "functions": {}, "rulesets": {}, "type": "question"}, {"name": "MA1002 using fractions (simple operations)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Kieran Mulchrone", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1243/"}], "statement": "

These are basic questions to help you practice adding, subtracting, multiplying and dividing fractions.

\n

Attempt the questions without a calculator.

\n

Give your answer as a fraction.

", "functions": {}, "metadata": {"description": "

This is a set of questions designed to help you practice adding, subtracting, multiplying and dividing fractions.

\n

All of these can be done without a calculator.

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

When adding/subtracting fractions, you must first find a common denominator between the fractions. If they already have the same denominator then you only need to worry about adding/subtracting the numerators and dividing the result by the common denominator.

\n

For example:
To find a common denominator of $\\frac{2}{5} + \\frac{7}{15}$, the most obvious would be $15$, because $5\\times3=15$. Therefore, you must multiply both sides of the fraction $\\frac{2}{5}$ by $3$ to obtain a new fraction $\\frac{6}{15}$. This is known as 'scaling up'.
Now you can add the two fractions together (by adding the numerators) because they have the same denominator:
$\\frac{6}{15}+\\frac{7}{15}=\\frac{13}{15}$.

\n

The same applies with subtraction as well as addition.

\n

\n

When multiplying fractions, you can simply multiply the two numerators and divide this by the multiplication of the two denominators.

\n

For example:
$\\frac{a}{b}\\times\\frac{c}{d}$ = $\\frac{a\\times{c}}{b\\times{d}}$

\n

\n

When dividing fractions, you firstly need to reciprocate (flip) the second fraction, then multiply the numerators and denominators as you would a normal multiplication question.

\n

For example:
$\\frac{a}{b} \\div \\frac{c}{d}$ would be flipped to become $\\frac{a}{b} \\div \\frac{d}{c}$ and then treated as a normal multiplication question (as explained above).

", "tags": [], "parts": [{"showCorrectAnswer": false, "correctAnswerFraction": true, "allowFractions": true, "prompt": "

What is the answer to $\\frac{\\var{a}}{\\var{b}} \\times \\frac{\\var{c}}{\\var{b}}$?

", "marks": "1", "showFeedbackIcon": true, "minValue": "(a*c)/(b*b)", "mustBeReducedPC": 0, "type": "numberentry", "steps": [{"showCorrectAnswer": false, "correctAnswerFraction": false, "maxValue": "a*c", "allowFractions": false, "prompt": "

Multiply the numerators

", "marks": 1, "showFeedbackIcon": true, "minValue": "a*c", "mustBeReducedPC": 0, "type": "numberentry", "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "correctAnswerStyle": "plain"}, {"showCorrectAnswer": false, "correctAnswerFraction": false, "maxValue": "b*b", "allowFractions": false, "prompt": "

Multiply the denominators

", "marks": 1, "showFeedbackIcon": true, "minValue": "b*b", "mustBeReducedPC": 0, "type": "numberentry", "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "correctAnswerStyle": "plain"}, {"showCorrectAnswer": false, "correctAnswerFraction": true, "maxValue": "(a*c)/(b*b)", "allowFractions": true, "prompt": "

Put into a fraction, with the new numerator over the new denominator

", "marks": 1, "showFeedbackIcon": true, "minValue": "(a*c)/(b*b)", "mustBeReducedPC": 0, "type": "numberentry", "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "correctAnswerStyle": "plain"}], "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "maxValue": "(a*c)/(b*b)", "variableReplacements": [], "correctAnswerStyle": "plain", "stepsPenalty": 0}, {"showCorrectAnswer": false, "correctAnswerFraction": true, "allowFractions": true, "prompt": "

What is the answer to $\\frac{\\var{d}}{\\var{f}} \\div \\frac{\\var{g}}{\\var{f}}$?

", "marks": "1", "showFeedbackIcon": true, "minValue": "d/g", "mustBeReducedPC": 0, "type": "numberentry", "steps": [{"showCorrectAnswer": false, "correctAnswerFraction": true, "maxValue": "f/g", "allowFractions": true, "prompt": "

Flip the second fraction e.g. $a/b$ becomes $b/a$

", "marks": 1, "showFeedbackIcon": true, "minValue": "f/g", "mustBeReducedPC": 0, "type": "numberentry", "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "correctAnswerStyle": "plain"}, {"showCorrectAnswer": false, "correctAnswerFraction": true, "maxValue": "(d*f)/(g*f)", "allowFractions": true, "prompt": "

Multiply the fractions as you would with a normal multiplication question using the flipped fraction above as the new second fraction

", "marks": 1, "showFeedbackIcon": true, "minValue": "(d*f)/(g*f)", "mustBeReducedPC": 0, "type": "numberentry", "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "correctAnswerStyle": "plain"}], "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "maxValue": "d/g", "variableReplacements": [], "correctAnswerStyle": "plain", "stepsPenalty": 0}, {"showCorrectAnswer": false, "correctAnswerFraction": true, "allowFractions": true, "prompt": "

What is the answer to $\\frac{\\var{h}}{\\var{j}} + \\frac{\\var{k}}{\\var{j}}$?

", "marks": "1", "showFeedbackIcon": true, "minValue": "(h+k)/j", "mustBeReducedPC": 0, "type": "numberentry", "steps": [{"showCorrectAnswer": true, "scripts": {}, "prompt": "

Check to see if the denominators are the same. If they are, you only need to add the numerators together and leave the denominator as it is for the final answer.

", "variableReplacementStrategy": "originalfirst", "marks": 0, "type": "information", "showFeedbackIcon": true, "variableReplacements": []}, {"showCorrectAnswer": false, "correctAnswerFraction": false, "maxValue": "h+k", "allowFractions": true, "prompt": "

Add the numerators

", "marks": 1, "showFeedbackIcon": true, "minValue": "h+k", "mustBeReducedPC": 0, "type": "numberentry", "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "correctAnswerStyle": "plain"}, {"showCorrectAnswer": false, "correctAnswerFraction": true, "maxValue": "(h+k)/j", "allowFractions": true, "prompt": "

Write as a fraction over the similar denominator; cancel down if you can.

", "marks": 1, "showFeedbackIcon": true, "minValue": "(h+k)/j", "mustBeReducedPC": 0, "type": "numberentry", "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "correctAnswerStyle": "plain"}], "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "maxValue": "(h+k)/j", "variableReplacements": [], "correctAnswerStyle": "plain", "stepsPenalty": 0}, {"showCorrectAnswer": false, "correctAnswerFraction": true, "allowFractions": true, "prompt": "

What is the answer to $\\frac{\\var{l}}{\\var{m}} - \\frac{\\var{n}}{\\var{m}}$?

", "marks": "1", "showFeedbackIcon": true, "minValue": "(l-n)/m", "mustBeReducedPC": 0, "type": "numberentry", "steps": [{"showCorrectAnswer": true, "scripts": {}, "prompt": "

Check to see if the denominators are the same. If they are, you only need to subtract the numerators and leave the denominator as it is.

", "variableReplacementStrategy": "originalfirst", "marks": 0, "type": "information", "showFeedbackIcon": true, "variableReplacements": []}, {"showCorrectAnswer": false, "correctAnswerFraction": false, "maxValue": "(l-n)", "allowFractions": false, "prompt": "

Subtract the numerators

", "marks": 1, "showFeedbackIcon": true, "minValue": "(l-n)", "mustBeReducedPC": 0, "type": "numberentry", "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "correctAnswerStyle": "plain"}, {"showCorrectAnswer": false, "correctAnswerFraction": true, "maxValue": "(l-n)/m", "allowFractions": true, "prompt": "

Create a fraction with the original denominator; cancel down if you can.

", "marks": 1, "showFeedbackIcon": true, "minValue": "(l-n)/m", "mustBeReducedPC": 0, "type": "numberentry", "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "correctAnswerStyle": "plain"}], "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "maxValue": "(l-n)/m", "variableReplacements": [], "correctAnswerStyle": "plain", "stepsPenalty": 0}, {"showCorrectAnswer": false, "correctAnswerFraction": true, "allowFractions": true, "prompt": "

What is the answer to $\\frac{\\var{o}}{\\var{p}} \\times \\frac{\\var{q}}{\\var{r}}$?

", "marks": "1", "showFeedbackIcon": true, "minValue": "(o*q)/(p*r)", "mustBeReducedPC": 0, "type": "numberentry", "steps": [{"showCorrectAnswer": true, "scripts": {}, "prompt": "

Multiply the numerators to make the top of the fraction

\n

Multiply the denominators to make the bottom of the fraction

\n

Cancel down if you can

", "variableReplacementStrategy": "originalfirst", "marks": 0, "type": "information", "showFeedbackIcon": true, "variableReplacements": []}], "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "maxValue": "(o*q)/(p*r)", "variableReplacements": [], "correctAnswerStyle": "plain", "stepsPenalty": "0"}, {"showCorrectAnswer": false, "correctAnswerFraction": true, "allowFractions": true, "prompt": "

What is the answer to $\\frac{\\var{s}}{\\var{t}} \\div \\frac{\\var{u}}{\\var{v}}$?

", "marks": "1", "showFeedbackIcon": true, "minValue": "(s*v)/(u*t)", "mustBeReducedPC": 0, "type": "numberentry", "steps": [{"showCorrectAnswer": true, "scripts": {}, "prompt": "

Flip the second fraction as you did previously for division

\n

Multiply through

", "variableReplacementStrategy": "originalfirst", "marks": 0, "type": "information", "showFeedbackIcon": true, "variableReplacements": []}], "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "maxValue": "(s*v)/(u*t)", "variableReplacements": [], "correctAnswerStyle": "plain", "stepsPenalty": "0"}, {"showCorrectAnswer": false, "correctAnswerFraction": true, "allowFractions": true, "prompt": "

What is the answer to $\\frac{\\var{w}}{\\var{x}} + \\frac{\\var{y}}{\\var{z}}$?

", "marks": "1", "showFeedbackIcon": true, "minValue": "((w*z)+(y*x))/(x*z)", "mustBeReducedPC": 0, "type": "numberentry", "steps": [{"showCorrectAnswer": true, "scripts": {}, "prompt": "

Check to see if the denominators are the same

\n

If they are not - multiply each fraction up to equivalent fractions with equal denominators

\n

Once they are equal add the numerators and put over the equal denominator

\n

Cancel down if needed

", "variableReplacementStrategy": "originalfirst", "marks": 0, "type": "information", "showFeedbackIcon": true, "variableReplacements": []}], "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "maxValue": "((w*z)+(y*x))/(x*z)", "variableReplacements": [], "correctAnswerStyle": "plain", "stepsPenalty": "0"}, {"showCorrectAnswer": false, "correctAnswerFraction": true, "allowFractions": true, "prompt": "

What is the answer to $\\frac{\\var{aa}}{\\var{bb}} - \\frac{\\var{cc}}{\\var{dd}}$?

", "marks": "1", "showFeedbackIcon": true, "minValue": "((aa*dd)-(cc*bb))/(bb*dd)", "mustBeReducedPC": 0, "type": "numberentry", "steps": [{"showCorrectAnswer": true, "scripts": {}, "prompt": "

Check to see if the denominators are the same

\n

If they are not - multiply each fraction up to equivalent fractions with equal denominators

\n

Once they are equal subtract the numerators and put over the equal denominator

\n

Cancel down if needed

", "variableReplacementStrategy": "originalfirst", "marks": 0, "type": "information", "showFeedbackIcon": true, "variableReplacements": []}], "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "maxValue": "((aa*dd)-(cc*bb))/(bb*dd)", "variableReplacements": [], "correctAnswerStyle": "plain", "stepsPenalty": "0"}], "variable_groups": [], "preamble": {"js": "", "css": ""}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "j", "m", "p", "r", "t", "v", "x", "z", "bb", "dd", "ff", "hh", "jj", "ll", "nn", "pp", "rr", "tt", "h", "k", "l", "n", "o", "q", "s", "u", "w", "y", "aa", "cc", "ee", "gg", "ii", "kk", "mm", "oo", "qq", "ss"], "variablesTest": {"condition": "", "maxRuns": 100}, "variables": {"ii": {"description": "", "group": "Ungrouped variables", "name": "ii", "templateType": "anything", "definition": "random(1..jj-1) //random numerator less than denominator"}, "ee": {"description": "", "group": "Ungrouped variables", "name": "ee", "templateType": "anything", "definition": "random(1..ff-1) //random numerator less than denominator"}, "m": {"description": "", "group": "Ungrouped variables", "name": "m", "templateType": "anything", "definition": "random(2..20) //random denominator"}, "ff": {"description": "", "group": "Ungrouped variables", "name": "ff", "templateType": "anything", "definition": "random(2..20) //random denominator"}, "kk": {"description": "", "group": "Ungrouped variables", "name": "kk", "templateType": "anything", "definition": "random(1..ll-1) //random numerator less than denominator"}, "j": {"description": "", "group": "Ungrouped variables", "name": "j", "templateType": "anything", "definition": "random(2..20) //random denominator"}, "d": {"description": "", "group": "Ungrouped variables", "name": "d", "templateType": "anything", "definition": "random(1..f-1) //random numerator less than denominator"}, "c": {"description": "", "group": "Ungrouped variables", "name": "c", "templateType": "anything", "definition": "random(1..b-a) //random numerator less than denominator"}, "bb": {"description": "", "group": "Ungrouped variables", "name": "bb", "templateType": "anything", "definition": "random(2..20) //random denominator"}, "nn": {"description": "", "group": "Ungrouped variables", "name": "nn", "templateType": "anything", "definition": "random(2..20) //random denominator"}, "hh": {"description": "", "group": "Ungrouped variables", "name": "hh", "templateType": "anything", "definition": "random(2..20) //random denominator"}, "v": {"description": "", "group": "Ungrouped variables", "name": "v", "templateType": "anything", "definition": "random(2..20) //random denominator"}, "l": {"description": "", "group": "Ungrouped variables", "name": "l", "templateType": "anything", "definition": "random(1..m-1) //random numerator less than denominator"}, "q": {"description": "", "group": "Ungrouped variables", "name": "q", "templateType": "anything", "definition": "random(1..r-1) //random numerator less than denominator"}, "p": {"description": "", "group": "Ungrouped variables", "name": "p", "templateType": "anything", "definition": "random(2..20) //random denominator"}, "s": {"description": "", "group": "Ungrouped variables", "name": "s", "templateType": "anything", "definition": "random(1..t-1) //random numerator less than denominator"}, "u": {"description": "", "group": "Ungrouped variables", "name": "u", "templateType": "anything", "definition": "random(1..v-1) //random numerator less than denominator"}, "mm": {"description": "", "group": "Ungrouped variables", "name": "mm", "templateType": "anything", "definition": "random(1..nn-1) //random numerator less than denominator"}, "pp": {"description": "", "group": "Ungrouped variables", "name": "pp", "templateType": "anything", "definition": "random(2..20) //random denominator"}, "cc": {"description": "", "group": "Ungrouped variables", "name": "cc", "templateType": "anything", "definition": "random(1..dd-1) //random numerator less than denominator"}, "oo": {"description": "", "group": "Ungrouped variables", "name": "oo", "templateType": "anything", "definition": "random(1..pp-1) //random numerator less than denominator"}, "t": {"description": "", "group": "Ungrouped variables", "name": "t", "templateType": "anything", "definition": "random(2..20) //random denominator"}, "tt": {"description": "", "group": "Ungrouped variables", "name": "tt", "templateType": "anything", "definition": "random(2..20) //random denominator"}, "gg": {"description": "", "group": "Ungrouped variables", "name": "gg", "templateType": "anything", "definition": "random(1..hh-1) //random numerator less than denominator"}, "f": {"description": "", "group": "Ungrouped variables", "name": "f", "templateType": "anything", "definition": "random(2..20) //random denominator"}, "b": {"description": "", "group": "Ungrouped variables", "name": "b", "templateType": "anything", "definition": "random(2..20) //random denominator"}, "n": {"description": "", "group": "Ungrouped variables", "name": "n", "templateType": "anything", "definition": "random(1..m-l) //random numerator less than denominator"}, "z": {"description": "", "group": "Ungrouped variables", "name": "z", "templateType": "anything", "definition": "random(2..20) //random denominator"}, "g": {"description": "", "group": "Ungrouped variables", "name": "g", "templateType": "anything", "definition": "random(1..f-d) //random numerator less than denominator"}, "x": {"description": "", "group": "Ungrouped variables", "name": "x", "templateType": "anything", "definition": "random(2..20) //random denominator"}, "aa": {"description": "", "group": "Ungrouped variables", "name": "aa", "templateType": "anything", "definition": "random(1..bb-1) //random numerator less than denominator"}, "jj": {"description": "", "group": "Ungrouped variables", "name": "jj", "templateType": "anything", "definition": "random(2..20) //random denominator"}, "dd": {"description": "", "group": "Ungrouped variables", "name": "dd", "templateType": "anything", "definition": "random(2..20) //random denominator"}, "a": {"description": "", "group": "Ungrouped variables", "name": "a", "templateType": "anything", "definition": "random(1..b-1) //random numerator less than denominator"}, "ll": {"description": "", "group": "Ungrouped variables", "name": "ll", "templateType": "anything", "definition": "random(2..20) //random denominator"}, "k": {"description": "", "group": "Ungrouped variables", "name": "k", "templateType": "anything", "definition": "random(1..j-h) //random numerator less than denominator"}, "y": {"description": "", "group": "Ungrouped variables", "name": "y", "templateType": "anything", "definition": "random(1..x-1) //random numerator less than denominator"}, "ss": {"description": "", "group": "Ungrouped variables", "name": "ss", "templateType": "anything", "definition": "random(1..tt-1) //random numerator less than denominator"}, "r": {"description": "", "group": "Ungrouped variables", "name": "r", "templateType": "anything", "definition": "random(2..20) //random denominator"}, "h": {"description": "", "group": "Ungrouped variables", "name": "h", "templateType": "anything", "definition": "random(1..j-1) //random numerator less than denominator"}, "qq": {"description": "", "group": "Ungrouped variables", "name": "qq", "templateType": "anything", "definition": "random(1..rr-1) //random numerator less than denominator"}, "rr": {"description": "", "group": "Ungrouped variables", "name": "rr", "templateType": "anything", "definition": "random(2..20) //random denominator"}, "w": {"description": "", "group": "Ungrouped variables", "name": "w", "templateType": "anything", "definition": "random(1..x-1) //random numerator less than denominator"}, "o": {"description": "", "group": "Ungrouped variables", "name": "o", "templateType": "anything", "definition": "random(1..p-1) //random numerator less than denominator"}}, "type": "question"}]}], "type": "exam", "contributors": [{"name": "Kieran Mulchrone", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1243/"}], "extensions": [], "custom_part_types": [], "resources": []}