• Aucun résultat trouvé

precision precision sol_Newton precision precision sol_dichotomie nt123 Administrateur Évaluation2

N/A
N/A
Protected

Academic year: 2022

Partager "precision precision sol_Newton precision precision sol_dichotomie nt123 Administrateur Évaluation2"

Copied!
1
0
0

Texte intégral

(1)

Lycée Benjamin Franklin PTSI−2014-2015

D. Blottière, B. Mollier Informatique

Évaluation 2

Lundi 12 janvier de 17h à 18h

Consignes

• Se connecter sur le compte administrateur des machines.

Identifiant :Administrateur Mot de passe :nt123

• Tous les programmes seront documentés.

Exercice

Soitf la fonction définie par ¯¯¯

¯ f : [0, 1] → R

x 7→ x3+x−1 La fonctionf est

• définie sur [0, 1], qui est un intervalle ;

• continue sur [0, 1] puisque polynomiale ;

• strictement croissante sur [0, 1], puisque dérivable sur l’intervalle [0, 1] (polynomiale) etf(x)=3x2+1≥1>0 pour toutx∈[0, 1].

D’après le théorème de la bijection, la fonction

¯¯

¯¯

fe : [0, 1] → f([0, 1])=[−1, 1]

x 7→ x3+x−1 est bijective. Comme 0∈[−1, 1], nous en déduisons que l’équation

x3+x−1=0

d’inconnuex∈[0, 1] possède une unique solution. Nous noterons cette dernièreαdans la suite.

1. Construire une fonctionsol_dichotomie

• d’argument un flottantprecision

• qui retourne une valeur approchée deα, calculée pardichotomie, avec une erreur inférieure à la valeur precisionpassée en paramètre.

2. Afficher la courbe représentative de la fonctionf, afin de vérifier la cohérence du résultat obtenu à la question précédente.

3. Construire une fonctionsol_Newton

• d’argument un flottantprecision

• qui retourne une valeur approchée deα, calculée par laméthode de Newton, avec une erreur inférieure à la valeurprecisionpassée en paramètre.

Références

Documents relatifs

Constraining campaign positions (and or velocities) to long term positions (and or velocities) works fine ….. Mapping in a reference

When performing a numerical integration by means of a Newton-Cotes method, there are two sources of errors to consider: the mathematical error that comes from the method itself, and

The capability to provide a stable output voltage using a 5-volt input makes the AD580 an ideal choice for systems that con- tain a single logic power supply.. Thin-film

A new concept design is also utilized to investigate the in fl uence of geometry on the blades, pressure, and velocity of the air journal passage, axial effect of force, and torque on

This lecture deals with the consistency check of the Standard Model (SM) hypothesis driven by the electroweak precision measurements performed at the Z boson pole (LEP and

In the phase analysis of a multi-phase alloy by this spectroscopy it is required that the phases containing resonance atoms can be distinguished by the difference of at

When dimensioned for a precision of n bits, our multiplier executes a Montgomery modular multiplication with operands of length (at most) n bits “directly” in circa n clock

sensor data, weather/climate data and unstructured data e.g. drone/satel- lite imagery and maps. Big agricultural data can be used to provide predictive insights in farming