// Numbas version: exam_results_page_options {"name": "0: Getting Started with Numbas", "duration": 0, "metadata": {"description": "

These 5 questions will introduce the student to the Numbas system-

\n

1. Input 1          

\n

2. Input 2

\n

3. Input 3

\n

4. Input 4     

\n

5. Input 5                                           

\n

", "licence": "Creative Commons Attribution 4.0 International"}, "allQuestions": true, "shuffleQuestions": false, "percentPass": 0, "timing": {"allowPause": true, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "pickQuestions": 0, "navigation": {"onleave": {"action": "none", "message": ""}, "reverse": true, "allowregen": true, "showresultspage": "oncompletion", "preventleave": true, "browse": true, "showfrontpage": true}, "feedback": {"showtotalmark": true, "advicethreshold": 0, "allowrevealanswer": true, "feedbackmessages": [], "showactualmark": true, "showanswerstate": true, "intro": ""}, "type": "exam", "questions": [], "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": [{"name": "Input 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}], "functions": {}, "tags": ["Numbas", "answers", "entering", "fields", "input", "introduction", "mathematical notation", "numbas", "parts", "practice mode", "reveal", "submit"], "advice": "", "rulesets": {}, "parts": [{"prompt": "

Questions are often split into parts.

\n

In each part you will see various input fields for your answers. 

\n

This is the first part and contains one question for you to answer .

\n

It will be clear from the question what you need to enter in each field.

\n

For example, a question could be:

\n

$2+2=\\;$[[0]] (enter a number)

\n

You are expected to enter the answer and then press the Submit part button.

\n

Try it: enter the correct value; note that a box appears showing your input; press Submit part - a tick appears. Brilliant!

\n

Now enter an incorrect value. Press Submit part and a cross appears. Note the Show Feedback button; clicking on that gives a more detailed feedback - in this case there is not much to say!

\n

This is the sort of feedback you get in practice mode.

\n

Try putting in 2+2 as your answer and see what happens as well.

\n

You will be given an error message; click on OK and continue.

\n

So you must be careful and always check that the answer in the input field is what you expect it to be before you move on.

\n

Pressing the Reveal answers button at the bottom of the screen gives you the answers for all parts and usually also gives you a full solution for each part. This is only available in Practice mode and certainly not available in Exam mode.

\n

Also note that in Practice mode you have available a button at the bottom labelled Try another question like this one. This is useful for you to try other versions of the question, if it is randomised. This question is not randomised, so you will get the same one back again!

", "gaps": [{"integerpartialcredit": 0.0, "integeranswer": true, "maxvalue": 4.0, "minvalue": 4.0, "marks": 1.0, "type": "numberentry", "showPrecisionHint": false}], "type": "gapfill", "marks": 0.0}, {"prompt": "

This is the second part of this example and it contains 2 questions.

\n

Enter your answers for both and then press Submit part for both.

\n

Note that your input in mathematical notation is displayed next to your input so you can check it has been interpreted as you intended.

\n

$x+x=\\;$[[0]] (Enter a multiple of $x$ )

\n

Enter your answer as 2*x. You could just enter 2x without the *, but we advise you to use * for all multiplications as there are some cases where the meaning of your input would be ambiguous otherwise.

\n

Simplify the following expression. Once again you see your answer in the best possible mathematical notation next to your input.

\n

This check becomes more important when you input more complicated expressions - see later questions.

\n

$2x-x+y-2y=\\;$[[1]]

\n

Try getting one right and one wrong and see the sort of feedback you get. The greyed-out tick indicates that you were awarded some of the available marks but not all.

\n

Also try inputting x+x for the answer to the first question in this part and see what happens after you submit.

\n

Note the red exclamation marks next to the input field when you enter something the system does not like or you have submitted without answering the question. Move the cursor over the mark and you will get a message saying what the problem is.

\n

The Submit all parts button at the bottom allows you to submit all your answers at once without submitting each part separately. In this case, the answers in both parts will be submitted.

", "gaps": [{"notallowed": {"message": "

Simplify the expression please!

", "showstrings": false, "strings": ["+"], "partialcredit": 0.0}, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0.0, 1.0], "showpreview": true, "vsetrangepoints": 5.0, "checkingtype": "absdiff", "marks": 1.0, "answer": "2*x", "checkvariablenames": false, "type": "jme"}, {"notallowed": {"message": "

Simplify further!

", "showstrings": false, "strings": ["+"], "partialcredit": 0.0}, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0.0, 1.0], "showpreview": true, "vsetrangepoints": 5.0, "checkingtype": "absdiff", "marks": 1.0, "answer": "x-y", "checkvariablenames": false, "type": "jme"}], "type": "gapfill", "marks": 0.0}], "statement": "\n

This example explains how you enter your answers and submit them. 

\n

This example and the others are in practice mode - you will be given information on whether or not you have the answer correct or not. 

\n

Exam mode does not give you this information.

\n

It is very important that you submit all your answers. If you do not your results will not be recorded.  Note that the list of questions in the exam on the left of the window gives information on whether or not you have completed a question. For each question the marks you have gained by submitting are shown there, so if nothing is shown you have not attempted the question.

\n

Go to the next question. You can then come back. Note that until you quit the exam for good you can go back to any question and change your answers if you want to.

\n ", "variable_groups": [], "progress": "in-progress", "type": "question", "variables": {}, "metadata": {"notes": "", "description": "

Entering numbers and algebraic symbols  in Numbas.

", "licence": "Creative Commons Attribution 4.0 International"}, "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Input 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}], "functions": {}, "tags": ["Fractions", "Numbas", "decimals", "fractions", "input", "introduction", "numbas", "numbers", "tolerance", "whole numbers"], "advice": "

No advice available.

", "rulesets": {}, "parts": [{"prompt": "

Whole numbers

\n

This is an example of a randomised question - the next time you use this example you will be asked to do a different calculation.

\n

Find the result of this calculation: 

\n

$\\var{a}\\times\\var{b}+\\var{c}=\\;$[[0]]

\n

You must input a whole number; for example, if the answer were $2$ then you could input 2 or 2.0 - try both forms.

", "gaps": [{"minvalue": "a*b+c", "type": "numberentry", "maxvalue": "a*b+c", "marks": 1.0, "showPrecisionHint": false}], "type": "gapfill", "marks": 0.0}, {"prompt": "

Sometimes I could force you to enter a whole number not in decimal form. But this should be no problem as you will be warned.

\n

Enter the result of this calculation, but do not enter it as a decimal.

\n

$\\var{a}\\times\\var{b}+\\var{c}=\\;$[[0]]

\n

Enter the correct answer as a decimal, i.e. in the form 2.0, and see what happens.

", "gaps": [{"notallowed": {"message": "

Do not enter your answer as a decimal. Enter as a whole number without the decimal point.

", "showstrings": false, "strings": ["."], "partialcredit": 0.0}, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0.0, 1.0], "showpreview": true, "vsetrangepoints": 5.0, "checkingtype": "absdiff", "marks": 1.0, "answer": "{a*b+c}", "checkvariablenames": false, "type": "jme"}], "type": "gapfill", "marks": 0.0}, {"prompt": "

Decimals

\n

Many calculations will result in numbers which must be entered in decimal notation.

\n

I will always ask for the decimal to be input to a certain number of decimal places. 

\n

Often there is a small tolerance built in so that if you get the result wrong by 1 in the last decimal place then it will be marked as correct. 

\n

But accuracy is important - so make sure that you get the calculations correct.

\n

For example: 

\n

Input $\\displaystyle \\frac{\\var{a1}}{\\var{b1}}$ as a decimal correct to 2 decimal places here: [[0]]

\n

Try putting in the correct value and submitting. Then vary the last decimal place by 1 either way and submitting, and then the last place by 2 either way and submitting.

\n

Try putting in the fraction as it is (i.e. $\\var{a1}/\\var{b1}$ ) and see what happens. 

\n

The system gives an error message, as what you have put in is not a decimal representation of a number. But you can always re-enter.

\n

So be careful - always check after submitting your answer that the input field contains the answer that you thought you input.

", "gaps": [{"minvalue": "{ans1-tol}", "type": "numberentry", "maxvalue": "{ans1+tol}", "marks": 1.0, "showPrecisionHint": false}], "type": "gapfill", "marks": 0.0}, {"prompt": "

Fractions

\n

You will find that some questions may ask you to input fractions and not decimals.

\n

For example: 

\n

Find the following sum as a fraction:

\n

$\\displaystyle \\frac{1}{\\var{a1}}+\\frac{1}{\\var{b1}}=\\;$[[0]]

\n

(input as a fraction and not a decimal)

\n

You input the answer as {a1+b1}/{a1*b1}.

\n

Try inputting the decimal version of this to as many places as you like, and see what happens.

", "gaps": [{"notallowed": {"message": "

Simplify into a single fraction. Do not enter as a decimal.

", "showstrings": false, "strings": ["+", "."], "partialcredit": 0.0}, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0.0, 1.0], "showpreview": true, "vsetrangepoints": 5.0, "checkingtype": "absdiff", "answersimplification": "all, fractionNumbers", "marks": 1.0, "answer": "{a1+b1}/{a1*b1}", "checkvariablenames": false, "type": "jme", "musthave": {"message": "

Input as a fraction.

", "showstrings": false, "strings": ["/"], "partialcredit": 0.0}}], "type": "gapfill", "marks": 0.0}, {"prompt": "

As this question is in practice mode, if you click on the Reveal answers button at the bottom of the screen all the question fields are filled with the correct answers. Also, if available, there will be a full solution given under the heading Advice. Just scroll down to see this. However, there is no Advice available for this question as it is not needed.

\n

Finally as you are in practice mode, if you click on the Try another question like this one button at the bottom you will get this question again but with different numbers (usually!), and you can try it again. This is true for all practice mode questions which are randomised.

", "type": "information", "marks": 0.0}], "statement": "

In this example we show how to enter numbers, either as whole numbers (integers), decimals (rounded to a number of decimal places), or fractions.

", "variable_groups": [], "progress": "in-progress", "type": "question", "variables": {"a": {"definition": "random(1..9)", "name": "a"}, "c": {"definition": "random(2..9)", "name": "c"}, "b": {"definition": "random(3..9)", "name": "b"}, "ans1": {"definition": "precround(a1/b1,2)", "name": "ans1"}, "a1": {"definition": "random(2,3,4,5,6,8,9,10,12)", "name": "a1"}, "b1": {"definition": "random(7,11,13)", "name": "b1"}, "tol": {"definition": 0.01, "name": "tol"}}, "metadata": {"notes": "", "description": "

Details on inputting numbers into Numbas.

", "licence": "Creative Commons Attribution 4.0 International"}, "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Input 3", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}], "functions": {}, "tags": ["Numbas", "brackets", "input", "introduction", "numbas", "powers"], "advice": "", "rulesets": {}, "parts": [{"prompt": "

Write $e^{\\simplify{{a}x}}$. [[0]]

\n

Your input is shown in mathematical notation in a box next to your input so that you can check that you have entered it correctly.

\n

Click on Submit part to check your answer.

\n

Click on the input field and remove the brackets, then re-submit and see what happens.

\n

 

\n

 

", "gaps": [{"expectedvariablenames": [], "checkingaccuracy": 1e-05, "vsetrange": [0.0, 0.1], "showpreview": true, "vsetrangepoints": 5.0, "checkingtype": "absdiff", "answersimplification": "all", "marks": 1.0, "answer": "e^({a}*x)", "checkvariablenames": false, "type": "jme"}], "type": "gapfill", "marks": 0.0}, {"prompt": "

Input $x^{\\var{c}}x^{\\var{d}}$ as a single power of $x$.

\n

For example, you would input $x^{-6}x^{-5}$ as x^(-11).

\n

$x^{\\var{c}}x^{\\var{d}}=\\;$[[0]]

", "gaps": [{"expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0.0, 1.0], "showpreview": true, "vsetrangepoints": 5.0, "checkingtype": "absdiff", "answersimplification": "all", "marks": 1.0, "answer": "x^({c+d})", "checkvariablenames": false, "type": "jme"}], "type": "gapfill", "marks": 0.0}, {"prompt": "

Input $(xy)^{\\var{f}}$ in the form $x^ay^b$ for suitable values of $a$ and $b$. 

\n

$(xy)^{\\var{f}}=\\;$[[0]]

", "gaps": [{"notallowed": {"message": "

Input in the form $x^ay^b$ for suitable values of $a$ and $b$.

", "showstrings": false, "strings": ["xy", "x*y"], "partialcredit": 0.0}, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0.0, 1.0], "showpreview": true, "vsetrangepoints": 5.0, "checkingtype": "absdiff", "answersimplification": "all", "marks": 1.0, "answer": "x^{f}*y^{f}", "checkvariablenames": false, "type": "jme"}], "type": "gapfill", "marks": 0.0}], "statement": "

In this example we show you how to input powers. It is important that you get this right as many questions ask for such inputs.

\n

$a^b$ is input as a^b.

\n

But you have to be careful with inputting such expressions as

\n

\\[e^{2x},\\;x^{-2},\\;(xy)^2\\]

\n

In these cases the exponent must be enclosed in brackets. 

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
PowerCorrect InputIncorrect InputWhy it's wrong
$e^{2x}$e^(2*x)e^2*xThe system thinks this is $(e^2) \\cdot x$
$x^{-2}$x^(-2)x^-2This produces an error
$(xy)^2$(x*y)^2x*y^2The system thinks this is $x \\cdot (y^2)$
\n

So make sure that you use brackets to properly define your powers. This is a major source of input inaccuracies.

\n

To test your input of powers, try the following examples.

", "variable_groups": [], "progress": "in-progress", "type": "question", "variables": {"a": {"definition": "random(6..12)*s", "name": "a"}, "s": {"definition": "random(1,-1)", "name": "s"}, "f": {"definition": "random(-5,-4,-3,-2,-1)", "name": "f"}, "c": {"definition": "random(-12..-6)", "name": "c"}, "d": {"definition": "random(-12..-6)", "name": "d"}}, "metadata": {"notes": "", "description": "

Information on inputting powers

", "licence": "Creative Commons Attribution 4.0 International"}, "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Input 4", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}], "functions": {}, "tags": ["Numbas", "algebraic expressions", "input", "introduction", "notation", "numbas", "polynomials", "symbols"], "advice": "", "rulesets": {}, "parts": [{"prompt": "

Inputting polynomials such as $3x^2+5x-2$ is easy: just input 3*x^2+5*x-2.

\n

Input this polynomial: $\\simplify[all]{{a}*x^{b}+{c}*x+{d}}=\\;$[[0]]

", "gaps": [{"expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0.0, 1.0], "showpreview": true, "vsetrangepoints": 5.0, "checkingtype": "absdiff", "answersimplification": "all", "marks": 1.0, "answer": "{a}*x^{b}+{c}x+{d}", "checkvariablenames": false, "type": "jme"}], "type": "gapfill", "marks": 0.0}, {"prompt": "

Now consider this problem.

\n

Expand the brackets and input the resulting expression:

\n

$\\simplify[all]{(x+{a}y)(x+{c}y)}=\\;$[[0]]

\n

(Do not include brackets in your answer.)

\n

Two adjacent letters are treated as a single variable: xy is not interpreted as the product of $x$ and $y$, $x \\times y$. You must use the multiplication symbol to separate the two variables, i.e. enter x*y. If you don't do this you will often be given a warning that your answer might not have been interpreted as you intended.

", "gaps": [{"notallowed": {"message": "

Do not include brackets in your answer.

", "showstrings": false, "strings": ["("], "partialcredit": 0.0}, "expectedvariablenames": ["x", "y"], "checkingaccuracy": 0.001, "vsetrange": [0.0, 1.0], "showpreview": true, "vsetrangepoints": 5.0, "checkingtype": "absdiff", "answersimplification": "all", "marks": 1.0, "answer": "x^2+{a+c}x*y+{a*c}y^2", "checkvariablenames": true, "type": "jme"}], "type": "gapfill", "marks": 0.0}], "statement": "

In this example, we look at how you input algebraic expressions - those involving symbols.

\n

The box next to your input shows your answer in mathematical notation and is very important as you can use it to check your answer has been interpreted as you intended.

", "variable_groups": [], "progress": "in-progress", "type": "question", "variables": {"a": {"definition": "random(2..9)", "name": "a"}, "s": {"definition": "random(1,-1)", "name": "s"}, "b": {"definition": "random(2..4)", "name": "b"}, "c": {"definition": "s*random(1..9)", "name": "c"}, "d": {"definition": "random(1..9)", "name": "d"}}, "metadata": {"notes": "", "description": "

Inputting algebraic expressions into Numbas.

", "licence": "Creative Commons Attribution 4.0 International"}, "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Input 5", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}], "functions": {}, "tags": ["Numbas", "algebraic input", "brackets", "input", "introduction", "mathematical expressions", "numbas", "ratios"], "advice": "

a)

\n

The correct input is ({a}+{b}x)/({c}+{d}y) - the rest are incorrect and you should have chosen those.

\n

b)

\n

A correct input is ({b} + {a}y) / ({c} + {d}z). Also correct is ({a}y+{b}) / ({c} + {d}z) etc.

\n

c)

\n

A correct input is ({d}z + {b}) / ((x + {a})*(y + {c})).

\n

Note the denominator (the bottom of the ratio) has to have two brackets, i.e. ((x + {a})*(y + {c})) as otherwise the expression ({d}z + {b}) / (x + {a})*(y + {c}) is seen by the system as $\\displaystyle \\left(\\simplify[std]{({d} * z + {b}) / (x + {a})}\\right) (y + \\var{c})$

\n

d)

\n

A correct input is ({a} -({b}x + {c})*e ^ ( -{2}x)) / ((x + {2*b})*(y -{3*d})).

\n ", "rulesets": {"std": ["all", "!collectNumbers"]}, "parts": [{"prompt": "

Suppose we wanted to input the expression $\\displaystyle \\frac{\\var{a}+\\var{b}x}{\\var{c}+\\var{d}y}$ into the system.

\n

Which of the following input expressions are incorrect?

\n

[[0]]

\n

Choose the incorrect input(s). (You lose 3 marks if you choose the wrong one!)

\n

After you have clicked Submit part, click on Show Feedback and you will be given more detail on your choices.

\n

You can click on Reveal answers at the bottom of the screen to see solutions, but it's best to work through these questions yourself. Remember you can always redo the question by clicking on the Try another question like this one button at the bottom of the screen.

", "gaps": [{"maxanswers": 0.0, "distractors": ["({a}+{b}x)/({c}+{d}y)
This is the correct input, so your choice is wrong!", "{a}+{b}x/({c}+{d}y)
Good choice: the system thinks this is $\\simplify[std]{ {a}+{b}x/({c}+{d}y)}$ and not $\\simplify[std]{ ({a}+{b}x)/({c}+{d}y)}$.", "{a}+{b}x/{c}+{d}y
Good choice: the system thinks this is $\\simplify[std]{ {a}+{b}x/{c}+{d}y}$ and not $\\simplify[std]{ ({a}+{b}x)/({c}+{d}y)}$.", "({a}+{b}x)/{c}+{d}y
Good choice: the system thinks this is $\\simplify[std]{ ({a}+{b}x)/{c}+{d}y}$ and not $\\simplify[std]{ ({a}+{b}x)/({c}+{d}y)}$."], "matrix": [-3.0, 1.0, 1.0, 1.0], "minanswers": 0.0, "shufflechoices": true, "choices": ["

({a}+{b}x)/({c}+{d}y)

", "

{a}+{b}x/({c}+{d}y)

", "

{a}+{b}x/{c}+{d}y

", "

({a}+{b}x)/{c}+{d}y

"], "displaytype": "checkbox", "maxmarks": 0.0, "marks": 0.0, "displaycolumns": 1.0, "type": "m_n_2", "minmarks": 0.0}], "type": "gapfill", "marks": 0.0}, {"prompt": "

Input the expression $\\displaystyle \\frac{\\var{b}+\\var{a}y}{\\var{d}+\\var{c}z}$. [[0]]

", "gaps": [{"expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0.0, 1.0], "showpreview": true, "vsetrangepoints": 5.0, "checkingtype": "absdiff", "answersimplification": "std", "marks": 1.0, "answer": "({b}+{a}y)/({d}+{c}z)", "checkvariablenames": false, "type": "jme"}], "type": "gapfill", "marks": 0.0}, {"prompt": "

Input the expression $\\displaystyle \\frac {\\var{d} z + \\var{b}} {(x + \\var{a}) (y + \\var{c})}$. [[0]]

", "gaps": [{"expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0.0, 1.0], "showpreview": true, "vsetrangepoints": 5.0, "checkingtype": "absdiff", "answersimplification": "std", "marks": 1.0, "answer": "({d} * z + {b}) / ((x + {a}) * (y + {c}))", "checkvariablenames": false, "type": "jme"}], "type": "gapfill", "marks": 0.0}, {"prompt": "

Input the expression $\\displaystyle \\simplify[std]{({a} -(({b} * x + {c}) * e ^ (( -{2}) * x))) / ((x + {2 * b}) * (y -{3* d}))}$. [[0]]

", "gaps": [{"expectedvariablenames": [], "checkingaccuracy": 0.0001, "vsetrange": [0.0, 1.0], "showpreview": true, "vsetrangepoints": 5.0, "checkingtype": "absdiff", "answersimplification": "std", "marks": 1.0, "answer": "({a} -(({b} * x + {c}) * e ^ (( -{2}) * x))) / ((x + {2 b}) * (y -{3* d}))", "checkvariablenames": false, "type": "jme"}], "type": "gapfill", "marks": 0.0}], "statement": "

This question concerns ratios of algebraic expressions.

\n

By this we mean expressions of the form $\\displaystyle \\frac{p(x)}{q(x)}$ where $p(x)$ and $q(x)$ are algebraic expressions.

\n

If you want to input such an expression into the system you HAVE TO BE CAREFUL AND USE BRACKETS or mistakes will occur.

\n

Once again, the box displaying your input in mathematical notation beside the input boxes in parts a, b and c is very useful as it shows what the system thinks you have entered.

", "variable_groups": [], "progress": "in-progress", "type": "question", "variables": {"a": {"definition": "random(2..16#2)", "name": "a"}, "c": {"definition": "random(2..9)", "name": "c"}, "b": {"definition": "random(3..15#2)", "name": "b"}, "d": {"definition": "random(2..9 except [round(b*c/a),c])", "name": "d"}}, "metadata": {"notes": "", "description": "

Instructions on inputting ratios of algebraic expressions.

", "licence": "Creative Commons Attribution 4.0 International"}, "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}]}], "contributors": [{"name": "Nasir Firoz Khan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/909/"}], "extensions": [], "custom_part_types": [], "resources": []}