Lyceeomar.atspace.cc
CPGE OUJDA Ingénierie Numérique(Zéro d’une fonction) SPE
[pic]
[pic]
Question1 : Ecrire une fonction python qui cherche le zéro d’une fonction par la méthode dichotomique(donner une version itérative et une version récursive)
[pic]
[pic]
[pic]
Question2 : Ecrire une fonction python qui cherche le zéro d’une fonction par la méthode de la fausse position (donner une version itérative et une version récursive)
[pic]
[pic]
[pic]
[pic]
Question3 : Ecrire une fonction python qui Calcule la dérivée d’une fonction par la deuxième méthode
[pic]
Question4 : Ecrire une fonction python qui cherche le zéro d’une fonction par la méthode de Newton(donner une version itérative et une version récursive)
Solutions :
Solutions Zero d’une fnction
Dichotomie
[pic]
import math
def f(x):
return x**(1/2) * math.cos(x)
def dichotomie(a, b, f, eps=1e-10): """ calcul du zéro d'une focntion
a,b : l'intervalle [a,b]
f : la fonction
eps : la valeur epsillon de la précission souhaitée """
if(math.fabs(a - b) ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- g cc to kg m 3
- g cc to kg mm3
- piston dish cc calculator
- free photoshop cc plugins
- cc to cup conversion chart
- cc to hp conversion chart
- cc horsepower conversion chart
- briggs cc to horsepower conversion
- briggs and stratton cc to hp chart
- engine cc to horsepower calculator
- cc to horse power calculator
- 160 cc to hp conversion