The plane is equipped with an orthonormal coordinate system $(\mathrm{O}; \vec{\imath}, \vec{\jmath})$. Consider the points $\mathrm{A}(-1;1)$, $\mathrm{B}(0;1)$, $\mathrm{C}(4;3)$, $\mathrm{D}(7;0)$, $\mathrm{E}(4;-3)$, $\mathrm{F}(0;-1)$ and $\mathrm{G}(-1;-1)$.
The part of the curve located above the x-axis is decomposed as follows:
- the portion located between points A and B is the graph of the constant function $h$ defined on the interval $[-1;0]$ by $h(x) = 1$;
- the portion located between points B and C is the graph of a function $f$ defined on the interval $[0;4]$ by $f(x) = a + b\sin\left(c + \frac{\pi}{4}x\right)$, where $a$, $b$ and $c$ are fixed non-zero real numbers and where the real number $c$ belongs to the interval $\left[0; \frac{\pi}{2}\right]$;
- the portion located between points C and D is a quarter circle with diameter [CE].
The part of the curve located below the x-axis is obtained by symmetry with respect to the x-axis.
- a. We call $f'$ the derivative function of function $f$. For every real number $x$ in the interval $[0;4]$, determine $f'(x)$. b. We require that the tangent lines at points B and C to the graph of function $f$ be parallel to the x-axis. Determine the value of the real number $c$.
- Determine the real numbers $a$ and $b$.