A computer uses a rule to process numbers as shown in the diagram below.

The rule is: multiply by 2, then add 9.
Find the output when the input is 11.
Find the input when the output is 21.
Practise OCR GCSE Maths Function Machines with exam-style questions for Foundation and Higher tier. 39 questions, matched to the OCR GCSE Maths (J560) specification and written in the written papers style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.