diff --git a/TP-EDP.ipynb b/TP-EDP.ipynb index 3d64577..48030a5 100644 --- a/TP-EDP.ipynb +++ b/TP-EDP.ipynb @@ -132,11 +132,11 @@ "outputs": [], "source": [ "def f(x, y):\n", - " return 2 * np.pi ** 2 * np.sin(np.pi * x) * np.sin(np.pi * y)\n", - " # try:\n", - " # return np.ones(x.shape[0])\n", - " # except:\n", - " # return 1\n", + " # return 2 * np.pi ** 2 * np.sin(np.pi * x) * np.sin(np.pi * y)\n", + " try:\n", + " return np.ones(x.shape[0])\n", + " except:\n", + " return 1\n", "\n", "\n", "def u_ex(x, y):\n",