Brevet (DNB) 2025 — Mathematics general stream, Nouvelle Calédonie 11 décembre 2025 — exercise 3 : Calculation programs (official exam paper)
Statement
Consider the following calculation programs:
PROGRAM A:
• Choose a number
• Add 4
• Multiply by 3
PROGRAM B:
• Choose a number
• Multiply by 5
• Subtract 3
• Subtract the starting number
1. In this question, we choose the number 2 to test the two programs.
a. Verify by calculation that we obtain 18 with program A.
b. Verify by calculation that we obtain 5 with program B.
2. Let $f$ be the function associated with program A, which maps the chosen number x to the result $f(x)$.
a. Explain why $f(x) = 3x + 12$.
b. Find the antecedent of 27 by the function $f$.
3. Let $g$ be the function associated with program B, which maps the chosen number $x$ to the result $g(x)$.
a. Give the expression for $g(x)$.
b. What number should be chosen with program B to obtain 2 as the result?
Hugo chose a number.
He tested it with both programs and found the same result each time.
4. What number did he choose?
⏳ Solution not generated yet
Open this statement in Expert Maths AI: the step-by-step solution is computed on demand, checked by a second resolution, then published here for everyone.
📝 See the solutionHave a similar exercise? Get it solved step by step, for free.
🧮 Solve my exercise