Brevet (DNB) 2026 — Mathematics general stream, Métropole -- Antilles -- Guyane 10 septembre 2026 — exercise 4 : Calculation programs and function (official exam paper)
Statement
Consider the following two calculation programs.
Program A:
- Choose a number.
- Add 3 to it.
- Calculate the square of the sum obtained.
- Subtract 9 from the result.
Program B:
- Choose a number.
- Add 6 to it.
- Multiply the result obtained by the starting number.
1. We choose 4 as the starting number.
a. Show that we obtain 40 with Program A.
b. What result do we obtain with Program B?
2. We use a spreadsheet to obtain other results.
Spreadsheet: columns A to G. Row 1: in A1, “Starting number”; in B1, $-3$; in C1, $-1$; in D1, 1; in E1, 3; in F1, 7; in G1, 9. Row 2: in A2, “Program A”; in B2, $-9$; in C2, $-5$; in D2, 7; in E2, 27; in F2, 91; in G2, 135. Row 3: in A3, “Program B”; cell B3 is selected.
What formula should be entered in cell B3 so that it can be dragged to the right to complete the table?
3. Let $f$ be the function which, to a starting number $x$, associates the number obtained by Program B. The graph opposite represents the function $f$.
Graph: coordinate system with marked axes, horizontal axis $x$ from about -6.6 to 3.2, vertical axis $f(x)$ from about -9.6 to 6.3, grid with step 1. The labels are not all shown; 0 is indicated at the origin, as well as 1 on each axis. The red curve represents the function $f(x)=x^2+6x$ on a domain going approximately from $-6.9$ to $0.9$.
a. Determine graphically the image of $-3$ by the function $f$.
b. Determine graphically the antecedents of $-5$ by the function $f$.
4. Determine by calculation all the numbers that make it possible to obtain 0 with Program B.
5. Let $x$ denote the number chosen at the start.
a. Prove that: $(x + 3)(x + 3) = x^2 + 6x + 9$.
b. Show that the two programs give the same result whatever the starting number $x$ chosen.
⏳ 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