Démo : Identifier une fonction
Considérons les
trois fonctions
suivantes et leurs
représentations graphiques
ci-dessous.
f(x)=x^2-4
|
|
g(x)=x+5
|
h(x)=3x
|
Question :
Associer chaque fonction à sa représentation.
Réponses :
La courbe
verte
est la fonction :
h(x)=3x
La courbe
rouge
est la fonction :
f(x)=x^2-4
La courbe
bleue
est la fonction :
g(x)=x+5
Code html correspondant
Le code qui correspond à la démo ci-dessus est le suivant :
<h1>Démo : Identifier une fonction</h1>
<p>Considérons les <b>trois fonctions</b> suivantes et leurs <b>représentations graphiques</b>ci-dessous.</p>
<table class="table table-bordered" style="text-align: center; font-size:1.5em;">
<tbody>
<tr>
<td style="vertical-align:middle"><equation>f(x)=x^2-4</equation></td>
<td rowspan="3">[500x350|https://www.desmos.com/calculator/8mbhzw1fkp]</td>
</tr>
<tr>
<td style="vertical-align:middle"><equation>g(x)=x+5</equation></td>
</tr>
<tr>
<td style="vertical-align:middle"><equation>h(x)=3x</equation></td>
</tr>
</tbody>
</table>
<span style="font-weight: bolder;"><u>Question :</u></span>
<p style="margin-left: 25px;">Associer chaque fonction à sa représentation.</p>
<p><u><b>Réponses :</b></u></p>
<p style="margin-left: 25px;">
La courbe <font color="#4b9758"><b>verte</b></font> est la fonction :
<spoiler>
<span style="color:#4b9758">
<equation>h(x)=3x</equation>
</span>
</spoiler>
</p>
<p style="margin-left: 25px;">
La courbe <font color="#cc5652"><b>rouge</b></font> est la fonction :
<spoiler>
<span style="color:#cc5652">
<equation>f(x)=x^2-4</equation>
</span>
</spoiler>
</p>
<p style="margin-left: 25px;">
La courbe <font color="#417eba"><b>bleue</b></font> est la fonction :
<spoiler>
<span style="color:#417eba">
<equation>g(x)=x+5</equation>
</span>
</spoiler>
</p>