diff --git a/ISC_421_Controle_4_Saroukhanian_Iliya.py b/ISC_421_Controle_4_Saroukhanian_Iliya.py index 04cc8135444eb70566fe009db848c04e3a1d2910..10917343bed6abe857e85f49b762f2408fcd9143 100644 --- a/ISC_421_Controle_4_Saroukhanian_Iliya.py +++ b/ISC_421_Controle_4_Saroukhanian_Iliya.py @@ -171,6 +171,8 @@ def ex2(): axs[0, 1].plot(t, SD.f(t), color='black', label='$f$') axs[0, 1].plot(t, y0, color='orange', label='$T_{f}$') + axs[0, 1].plot(SD.Taylor_points[0], SD.f( + SD.Taylor_points[0]), "-o", color='red', label=f'a = {SD.Taylor_points[0]}') axs[0, 1].set_title( f'Développement de $T_f$ en $a = {SD.Taylor_points[0]}$') axs[0, 1].set_ylim([-1.2, 1.2]) @@ -179,6 +181,8 @@ def ex2(): axs[1, 0].plot(t, SD.f(t), color='black', label='$f$') axs[1, 0].plot(t, y1, color='blue', label='$T_{f}$') + axs[1, 0].plot(SD.Taylor_points[1], SD.f( + SD.Taylor_points[1]), "-o", color='red', label=f'a = {SD.Taylor_points[1]}') axs[1, 0].set_title( f'Développement de $T_f$ en $a = {SD.Taylor_points[1]}$') axs[1, 0].set_ylim([-1.2, 1.2]) @@ -187,6 +191,8 @@ def ex2(): axs[1, 1].plot(t, SD.f(t), color='black', label='$f$') axs[1, 1].plot(t, y2, color='violet', label='$T_{f}$') + axs[1, 1].plot(SD.Taylor_points[2], SD.f( + SD.Taylor_points[2]), "-o", color='red', label=f'a = {SD.Taylor_points[2]}') axs[1, 1].set_title( f'Développement de $T_f$ en $a = {SD.Taylor_points[2]}$') axs[1, 1].set_ylim([-1.2, 1.2]) diff --git a/figs/ex2_taylor.png b/figs/ex2_taylor.png index 8cb8e0f364564f0c1700025bf4b9a1eb10de2b79..654a0b57a0096455f2781c755774498c111ac43c 100644 Binary files a/figs/ex2_taylor.png and b/figs/ex2_taylor.png differ