Fix: inégalités dans l'algorithme
This commit is contained in:
parent
f7b7e12ab6
commit
63d33da905
Binary file not shown.
|
@ -93,9 +93,9 @@
|
|||
\SetAlgoLined
|
||||
$a \leftarrow 1$ \;
|
||||
$b \leftarrow 5$ \;
|
||||
\Tq{$b-a \leq 0.01$}{
|
||||
\Tq{$b-a \geq 0.01$}{
|
||||
$m \leftarrow \dfrac{b+a}{2}$ \;
|
||||
\eSi{f(m) > 0}{
|
||||
\eSi{f(m) < 0}{
|
||||
$a \leftarrow m$\;
|
||||
}{
|
||||
$b \leftarrow m$\;
|
||||
|
@ -111,7 +111,7 @@
|
|||
\begin{center}
|
||||
\begin{tabular}{|*{5}{p{2cm}|}}
|
||||
\hline
|
||||
$a$ & $b$ & $(b-a) \leq 0.01$ & $m$ & $f(m) > 0$ \\
|
||||
$a$ & $b$ & $(b-a) \geq 0.01$ & $m$ & $f(m) < 0$ \\
|
||||
\hline
|
||||
& & & & \\
|
||||
\hline
|
||||
|
|
Loading…
Reference in New Issue