diff --git a/TST/07_Logarithme_et_equation_puissance/3-4B_equation_algorithme.pdf b/TST/07_Logarithme_et_equation_puissance/3-4B_equation_algorithme.pdf new file mode 100644 index 0000000..5fd359c Binary files /dev/null and b/TST/07_Logarithme_et_equation_puissance/3-4B_equation_algorithme.pdf differ diff --git a/TST/07_Logarithme_et_equation_puissance/3-4B_equation_algorithme.tex b/TST/07_Logarithme_et_equation_puissance/3-4B_equation_algorithme.tex new file mode 100644 index 0000000..66b2d17 --- /dev/null +++ b/TST/07_Logarithme_et_equation_puissance/3-4B_equation_algorithme.tex @@ -0,0 +1,65 @@ +\documentclass[a4paper,10pt]{article} +\usepackage{myXsim} + +\author{Benjamin Bertrand} +\title{Logarithme et équation puissance - Cours} +\date{décembre 2020} + +\pagestyle{empty} + +\begin{document} + +\maketitle + +\setcounter{section}{2} +\section{Résolution exacte d'équation avec puissance} + +\subsection*{Exemples} +Résolution de l'équation +\[ + 2\times 10^x = 10 +\] +\afaire{} + +Résolution de l'équation +\[ + 0.8^x = 50 +\] +\afaire{} + +\section{Algorithmes de seuil- boucle while} + +Pour répéter une calcul ou une action dans un programme, on utilise la boucle \textbf{while} (\textbf{tant que} en anglais). + +Voici une exemple de programme qui calcule les puissance de 10 tant que l'on ne dépasse pas 700. + +\bigskip + +\begin{multicols}{2} + \paragraph{Programme Python} ~\\ + + \begin{lstlisting}[language=Python, basicstyle=\small, frame=] + # Initialisation + n = 0 + u = 10**n + + # Boucle + while u < 700: + n = n+1 + u = 10**n + + # Résultat final + print(n) + print(u) + \end{lstlisting} + + \columnbreak + \paragraph{Tableau des variables} ~\\ + +\end{multicols} + + + + + +\end{document} diff --git a/TST/07_Logarithme_et_equation_puissance/index.rst b/TST/07_Logarithme_et_equation_puissance/index.rst index f3c2413..2502bc0 100644 --- a/TST/07_Logarithme_et_equation_puissance/index.rst +++ b/TST/07_Logarithme_et_equation_puissance/index.rst @@ -2,7 +2,7 @@ Logarithme et équation puissance ################################ :date: 2020-12-17 -:modified: 2021-01-17 +:modified: 2021-01-26 :authors: Benjamin Bertrand :tags: Logarithme, Fonctions :category: TST @@ -63,4 +63,7 @@ Exercices techniques de manipulations du logarithme pour en particulier résoudr `Programmation des algorithmes de seuils (html) <./4E_algo_seuil.html>`_ +.. image:: ./3-4B_equation_algorithme.pdf + :height: 200px + :alt: Bilan sur les équations et les algorithmes diff --git a/TST/index.rst b/TST/index.rst index e4bac98..9098a45 100644 --- a/TST/index.rst +++ b/TST/index.rst @@ -2,7 +2,7 @@ Terminale technologique ####################### :date: 2020-08-21 -:modified: 2021-01-04 +:modified: 2021-01-26 :authors: Bertrand Benjamin :category: TST :tags: Progression @@ -43,7 +43,7 @@ Période 3 (Janvier - 5 semaines) ================================ - `Équation puissances et logarithme <./07_Logarithme_et_equation_puissance>`_ -- Loi binomiale +- `Loi binomiale <./08_Loi_binomiale>`_ Période 4 (Février mars avril - 7 semaines) ===========================================