Skip to content

Instantly share code, notes, and snippets.

@MyDePain
MyDePain / solver.py
Last active March 8, 2026 21:24
TEST2
from math import *
from student import *
from ulab.scipy.optimize import newton
# 1. A editer
def mg(x):
""" Membre de gauche de l'equation """
return invt(0.975, x - 1) * (17.4389 / sqrt(x)) * sqrt(1 - x/300)
def md(x):
@MyDePain
MyDePain / solver.py
Last active March 8, 2026 21:12
test
from math import *
from student import *
# 1. A editer
def mg(x):
""" Membre de gauche de l'equation """
return invt(0.975, x - 1) * (17.4389 / sqrt(x)) * sqrt(1 - x/300)
def md(x):
""" Membre de droite de l'equation """