update exercise 3: implement heat equation simulation in Jupyter notebook, add matrix construction and temperature profile visualization

This commit is contained in:
Félix MARQUET
2025-04-01 11:41:08 +02:00
parent 3447bc74d5
commit 2b0bdf89cf

View File

@@ -257,8 +257,8 @@
"import matplotlib.pyplot as plt\n",
"\n",
"# Constantes et paramètres\n",
"N = 100\n",
"delta_t = 0.0005\n",
"N = 10\n",
"delta_t = (delta_x2 / 2 * D)\n",
"delta_x2 = 1/N\n",
"D = 1\n",
"T0 = 0\n",