L

@Larger

TSpé-Cours-Intégrales-Méthode des rectangles

Python
1 month ago
def f(x): return(2-x**2) def rect(n,a,b): s=0 S=0 h=(b-a)/n for k in range (n): s=s+f(a+k*h)*h for k in range (1,n+1):

1ère-TP1 p. 286-Proba conditionnelles

Python
4 months ago
from random import randint def mille_sauts(): position=0 for i in range(1000): if randint(0,1)==0: position=position+1 else: position=position-1 return position #print(mille_sauts())

Tale Spé-Contrôle 5-Ex. 1

Python
4 months ago
def f(x): return (1/3)*x**3-2*x**2+2 def méthode_1(p): a=0 b=4 while abs(b-a)>=10**(-p): c=(a+b)/2 if f(c)>-2: a=c

Socrative Tale Spé 15/01/26

Python
4 months ago
def f(x): y=x**3-3*x+1 return y def résol(n): a=1 b=2 if f(a)<f(b) : while b-a>10**(-n): m=(a+b)/2

Tale Compl-Contrôle 4 (25/26)

Python
5 months ago
from math import exp def seuil(a): t=0 while 100*exp(-0.12*t)>a: t=t+1 return(t) print(seuil(80))

Tale Spé-ex. 30 p. 96-Barbazo

Python
7 months ago
x=0 for i in range(1,150): F=(3+2*x)/(x**2+1) x=x+100 print (F)

101-Sujet B-Contrôle 2 du 16/10/25-Ex. 2

Python
7 months ago
def Suite (n): L=[] u=1 for i in range (n): L=L+[u] u=3*u-1.4 return(L) print(Suite(5))

101-SujetA-Contrôle 2 du 16/10/25-Ex. 2

Python
7 months ago
def Suite (n): L=[] u=-1 for i in range (n): L=L+[u] u=-1.4*u-3 return(L) print(Suite(5))

Exemple III du cours-chap. 2-1ère

Python
7 months ago
def suite (n): L=[] u=3 for i in range (1,n+2): L=L+[u] u=-4*u+5 return(L) print(suite(5))

104-Socrative-Suites 1

Python
7 months ago
def terme(n): u=-1 for i in range (n): u=3*u-2 return(u) print(terme(3))

Tale Spe-Tp1 p56

Python
9 months ago
import matplotlib.pyplot as plt def pop_cigognes(a,n): u=0.3 for i in range (n): u=a*u*(1-u) return(u) for a in range(1,5): x=[n for n in range(50)]

Tale Comp-Cours-Calcul intégral (incomplet)

Python
11 months ago
from math import log def f(x): return (..........) def rect(n,a,b): s=0 S=0 h=............ for k in range(n): s=s+f(............)*...

Tale Comp-Cours-Calcul intégral

Python
11 months ago
from math import log def f(x): return (log(x)) def rect(n,a,b): s=0 S=0 h=(b-a)/n for k in range(n): s=s+f(a+k*h)*h

1ère 4-Interro Socrative Fonction exp

Python
1 year ago
from math import exp def g(): x=-4 y=4*exp(-2) z=4*exp(-2) while y<=z: x=x+0.1 y=3*x*exp(-2)+16*exp(-2) z=-x*exp(x+2) return(x)

1ère 1-Interro Socrative Fonction exp

Python
1 year ago
from math import exp def g(): x=-3 y=3*exp(-1) z=3*exp(-1) while y<=z: x=x+0.1 y=2*x*exp(-1)+9*exp(-1) z=-x*exp(x+2) return(x)