partie3_ex83.py

Created by cahier-indice-algo-1techno

Created on April 22, 2022

116 Bytes


def f(x):
    return x**3 - 3 * x**2 + 1

def Taux_var(a, b):
    return (f(b) - f(a)) / (b - a)