4 questions pour 20 points au total. Chaque partie est annotée : consultez l'indication en cas de blocage, ou révélez le corrigé rédigé une fois votre démarche engagée.

from math import exp
def f(x):
return (20*x+8)*exp(-1/4*x)
def solution_equation():
a,b = 14,15
while b-a > 0.1 :
m = (a+b)/2
if f(m) > 8:
a = m
else:
b = m
return a,b