💻 2ᵉ SCIENCES
⚡ IDE Python 3
💡 Modèles :
Somme 2 entiers
Parité
range()
🔢 NumPy
📊 Pandas
📈 Matplotlib
Filtrage Chaîne
ADN (SVT)
🏠 Accueil
# 🐍 IDE Python 3 avec NumPy, Pandas & Matplotlib (2e Sciences) # Chargement automatique des bibliothèques à la demande via Pyodide WebAssembly import matplotlib.pyplot as plt import numpy as np x = np.linspace(0, 2 * np.pi, 100) y1 = np.sin(x) y2 = np.cos(x) plt.figure(figsize=(7, 4)) plt.plot(x, y1, label="sin(x)", color="#0284c7", linewidth=2) plt.plot(x, y2, label="cos(x)", color="#16a34a", linewidth=2, linestyle="--") plt.title("Fonctions Trigonométriques - 2e Sciences", fontsize=12, fontweight="bold") plt.xlabel("Angle (radians)") plt.ylabel("Valeur") plt.grid(True, linestyle=":", alpha=0.6) plt.legend() plt.show()