Higher June 2025 Paper 4 Q11

OCRHigherCurrent spec5 marksFunctionsSimultaneous Equations

11 Function A and function B are shown below.

Function A: Input, subtract 5, multiply by a, Output. Function B: Input, add b, multiply by 3, Output

When the input for both machines is 11, the output of Function A is equal to the output of Function B.
When the input for both machines is 29, the output of Function A is twice the output of Function B.

Find the value of \(a\) and the value of \(b\). [5]