partie3_ex81.py

Created by cahier-indice-algo-1techno

Created on April 22, 2022

226 Bytes


def epidemie():
    t = 0
    V = -4 * t**3 + 60 * t**2
    M = V
    j = t
    for t in range(0, 16):
        V = -4 * t**3 + 60 * t**2
        if V > M:
            M = V
            j = t
    return j, M