{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "tags": [
     "remove-input"
    ]
   },
   "outputs": [],
   "source": [
    "from myst_nb import glue\n",
    "%config InlineBackend.rc = {'figure.dpi': 300}\n",
    "%config InlineBackend.figure_format = 'svg'\n",
    "import sys\n",
    "sys.path.append(\"../py_figures\")\n",
    "import diagrams_2d_chap6 as diagrams_2d"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "(content:chap6.0:steady_two_dim_flow_wells)=\n",
    "# Steady two-dimensional flow to wells"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Many three-dimensional groundwater flow problems can be approximated as two-dimensional in the horizontal plane through adoption of the Dupuit–Forchheimer approximation. Of particular interest are problems that include wells. In this chapter, solutions are presented for extraction wells, injection wells, and wells near rivers and impermeable boundaries. Different solution techniques are demonstrated, depending on the type of problem. For homogeneous confined and unconfined aquifers, solutions are formulated in terms of a discharge potential so that the same potential solution can be used for confined flow, unconfined flow, and interface flow. The stream function is used in the horizontal plane for problems without areal infiltration. Solutions for flow to wells in semi-confined aquifers and two-aquifer systems are formulated in terms of heads."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "tags": [
     "remove-input",
     "remove-output"
    ]
   },
   "outputs": [
    {
     "data": {
      "application/papermill.record/image/svg+xml": "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n  \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n<svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"172.8pt\" height=\"172.8pt\" viewBox=\"0 0 172.8 172.8\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">\n <metadata>\n  <rdf:RDF xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\n   <cc:Work>\n    <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\n    <dc:date>2025-11-02T16:00:58.965596</dc:date>\n    <dc:format>image/svg+xml</dc:format>\n    <dc:creator>\n     <cc:Agent>\n      <dc:title>Matplotlib v3.10.6, https://matplotlib.org/</dc:title>\n     </cc:Agent>\n    </dc:creator>\n   </cc:Work>\n  </rdf:RDF>\n </metadata>\n <defs>\n  <style type=\"text/css\">*{stroke-linejoin: round; stroke-linecap: butt}</style>\n </defs>\n <g id=\"figure_1\">\n  <g id=\"patch_1\">\n   <path d=\"M 0 172.8 \nL 172.8 172.8 \nL 172.8 0 \nL 0 0 \nz\n\" style=\"fill: #ffffff\"/>\n  </g>\n  <g id=\"patch_2\">\n   <path d=\"M 7.2 165.6 \nL 165.6 165.6 \nL 165.6 7.2 \nL 7.2 7.2 \nz\n\" style=\"fill: #ffffff\"/>\n  </g>\n  <g id=\"axes_1\">\n   <g id=\"patch_3\">\n    <path d=\"M 115.715024 73.809824 \nQ 118.633554 72.620621 121.552085 71.431417 \nL 120.533256 68.93102 \nQ 125.549878 69.316527 130.566501 69.702034 \nQ 127.247926 73.483856 123.929351 77.265678 \nL 122.910523 74.765281 \nQ 119.991992 75.954484 117.073462 77.143688 \nL 115.715024 73.809824 \nz\n\" clip-path=\"url(#paff6982862)\" style=\"fill: #1f77b4; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"Line3DCollection_1\">\n    <path d=\"M 82.2901 98.623811 \nL 147.810444 108.832233 \nL 148.79055 52.451284 \nL 82.191244 44.537444 \nL 82.2901 98.623811 \n\" clip-path=\"url(#paff6982862)\" style=\"fill: none; stroke: #cccccc\"/>\n   </g>\n   <g id=\"text_1\">\n    <!-- $Q_x(x)$ -->\n    <g style=\"fill: #1f77b4\" transform=\"translate(32.961284 87.266503) rotate(8.334887) scale(0.1 -0.1)\">\n     <defs>\n      <path id=\"DejaVuSans-Oblique-51\" d=\"M 2309 -84 \nQ 2275 -88 2237 -89 \nQ 2200 -91 2125 -91 \nQ 1250 -91 756 411 \nQ 263 913 263 1797 \nQ 263 2319 452 2844 \nQ 641 3369 978 3788 \nQ 1369 4269 1858 4509 \nQ 2347 4750 2938 4750 \nQ 3794 4750 4287 4245 \nQ 4781 3741 4781 2869 \nQ 4781 1928 4265 1147 \nQ 3750 366 2919 44 \nL 3553 -825 \nL 2847 -825 \nL 2309 -84 \nz\nM 2919 4238 \nQ 2400 4238 2003 3986 \nQ 1606 3734 1313 3219 \nQ 1125 2891 1026 2522 \nQ 928 2153 928 1778 \nQ 928 1128 1239 775 \nQ 1550 422 2119 422 \nQ 2631 422 3032 676 \nQ 3434 931 3719 1434 \nQ 3909 1772 4009 2142 \nQ 4109 2513 4109 2881 \nQ 4109 3528 3796 3883 \nQ 3484 4238 2919 4238 \nz\n\" transform=\"scale(0.015625)\"/>\n      <path id=\"DejaVuSans-Oblique-78\" d=\"M 3841 3500 \nL 2234 1784 \nL 3219 0 \nL 2559 0 \nL 1819 1388 \nL 531 0 \nL -166 0 \nL 1556 1844 \nL 641 3500 \nL 1300 3500 \nL 1972 2234 \nL 3144 3500 \nL 3841 3500 \nz\n\" transform=\"scale(0.015625)\"/>\n      <path id=\"DejaVuSans-28\" d=\"M 1984 4856 \nQ 1566 4138 1362 3434 \nQ 1159 2731 1159 2009 \nQ 1159 1288 1364 580 \nQ 1569 -128 1984 -844 \nL 1484 -844 \nQ 1016 -109 783 600 \nQ 550 1309 550 2009 \nQ 550 2706 781 3412 \nQ 1013 4119 1484 4856 \nL 1984 4856 \nz\n\" transform=\"scale(0.015625)\"/>\n      <path id=\"DejaVuSans-29\" d=\"M 513 4856 \nL 1013 4856 \nQ 1481 4119 1714 3412 \nQ 1947 2706 1947 2009 \nQ 1947 1309 1714 600 \nQ 1481 -109 1013 -844 \nL 513 -844 \nQ 928 -128 1133 580 \nQ 1338 1288 1338 2009 \nQ 1338 2731 1133 3434 \nQ 928 4138 513 4856 \nz\n\" transform=\"scale(0.015625)\"/>\n     </defs>\n     <use xlink:href=\"#DejaVuSans-Oblique-51\" transform=\"translate(0 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(78.710938 -16.28125) scale(0.7)\"/>\n     <use xlink:href=\"#DejaVuSans-28\" transform=\"translate(122.871094 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(161.884766 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-29\" transform=\"translate(221.064453 0.125)\"/>\n    </g>\n   </g>\n   <g id=\"text_2\">\n    <!-- $Q_x(x+\\Delta x)$ -->\n    <g style=\"fill: #1f77b4\" transform=\"translate(122.168202 99.190824) rotate(8.226215) scale(0.1 -0.1)\">\n     <defs>\n      <path id=\"DejaVuSans-2b\" d=\"M 2944 4013 \nL 2944 2272 \nL 4684 2272 \nL 4684 1741 \nL 2944 1741 \nL 2944 0 \nL 2419 0 \nL 2419 1741 \nL 678 1741 \nL 678 2272 \nL 2419 2272 \nL 2419 4013 \nL 2944 4013 \nz\n\" transform=\"scale(0.015625)\"/>\n      <path id=\"DejaVuSans-394\" d=\"M 2188 4044 \nL 906 525 \nL 3472 525 \nL 2188 4044 \nz\nM 50 0 \nL 1831 4666 \nL 2547 4666 \nL 4325 0 \nL 50 0 \nz\n\" transform=\"scale(0.015625)\"/>\n     </defs>\n     <use xlink:href=\"#DejaVuSans-Oblique-51\" transform=\"translate(0 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(78.710938 -16.28125) scale(0.7)\"/>\n     <use xlink:href=\"#DejaVuSans-28\" transform=\"translate(122.871094 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(161.884766 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-2b\" transform=\"translate(240.546875 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-394\" transform=\"translate(343.818359 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(412.226562 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-29\" transform=\"translate(471.40625 0.125)\"/>\n    </g>\n   </g>\n   <g id=\"text_3\">\n    <!-- $Q_y(y+\\Delta y)$ -->\n    <g style=\"fill: #1f77b4\" transform=\"translate(113.010629 91.011865) rotate(-21.900343) scale(0.1 -0.1)\">\n     <defs>\n      <path id=\"DejaVuSans-Oblique-79\" d=\"M 1588 -325 \nQ 1188 -997 936 -1164 \nQ 684 -1331 294 -1331 \nL -159 -1331 \nL -63 -850 \nL 269 -850 \nQ 509 -850 678 -719 \nQ 847 -588 1056 -206 \nL 1234 128 \nL 459 3500 \nL 1069 3500 \nL 1650 819 \nL 3256 3500 \nL 3859 3500 \nL 1588 -325 \nz\n\" transform=\"scale(0.015625)\"/>\n     </defs>\n     <use xlink:href=\"#DejaVuSans-Oblique-51\" transform=\"translate(0 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(78.710938 -16.28125) scale(0.7)\"/>\n     <use xlink:href=\"#DejaVuSans-28\" transform=\"translate(122.871094 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(161.884766 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-2b\" transform=\"translate(240.546875 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-394\" transform=\"translate(343.818359 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(412.226562 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-29\" transform=\"translate(471.40625 0.125)\"/>\n    </g>\n   </g>\n   <g id=\"text_4\">\n    <!-- $N$ -->\n    <g style=\"fill: #1f77b4\" transform=\"translate(98.86034 29.044178) scale(0.1 -0.1)\">\n     <defs>\n      <path id=\"DejaVuSans-Oblique-4e\" d=\"M 1081 4666 \nL 1931 4666 \nL 3219 666 \nL 4000 4666 \nL 4616 4666 \nL 3706 0 \nL 2853 0 \nL 1569 4025 \nL 788 0 \nL 172 0 \nL 1081 4666 \nz\n\" transform=\"scale(0.015625)\"/>\n     </defs>\n     <use xlink:href=\"#DejaVuSans-Oblique-4e\" transform=\"translate(0 0.09375)\"/>\n    </g>\n   </g>\n   <g id=\"text_5\">\n    <!-- $\\Delta x$ -->\n    <g style=\"fill: #1f77b4\" transform=\"translate(67.934129 149.68337) rotate(10.568604) scale(0.1 -0.1)\">\n     <use xlink:href=\"#DejaVuSans-394\" transform=\"translate(0 0.09375)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(68.408203 0.09375)\"/>\n    </g>\n   </g>\n   <g id=\"text_6\">\n    <!-- $\\Delta y$ -->\n    <g style=\"fill: #1f77b4\" transform=\"translate(125.026252 150.828493) rotate(-28.637719) scale(0.1 -0.1)\">\n     <use xlink:href=\"#DejaVuSans-394\" transform=\"translate(0 0.09375)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(68.408203 0.09375)\"/>\n    </g>\n   </g>\n   <g id=\"patch_4\">\n    <path d=\"M 32.8416 73.225155 \nQ 42.220481 74.581053 51.599361 75.936951 \nL 51.985682 73.264731 \nQ 56.115973 76.135236 60.246263 79.00574 \nQ 55.472105 80.588935 50.697946 82.172129 \nL 51.084267 79.49991 \nQ 41.705386 78.144012 32.326506 76.788114 \nL 32.8416 73.225155 \nz\n\" clip-path=\"url(#paff6982862)\" style=\"fill: #1f77b4; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"Line3DCollection_2\">\n    <path d=\"M 41.060035 116.134651 \nL 82.2901 98.623811 \nL 82.191244 44.537444 \nL 40.250386 58.119201 \nL 41.060035 116.134651 \n\" clip-path=\"url(#paff6982862)\" style=\"fill: none; stroke: #cccccc\"/>\n   </g>\n   <g id=\"patch_5\">\n    <path d=\"M 122.539867 26.730195 \nQ 122.417644 39.282118 122.306308 50.716061 \n\" clip-path=\"url(#paff6982862)\" style=\"fill: none; stroke: #1f77b4; stroke-linecap: round\"/>\n    <path d=\"M 124.34516 46.735725 \nL 122.306308 50.716061 \nL 120.34535 46.696777 \nz\n\" clip-path=\"url(#paff6982862)\" style=\"fill: #1f77b4; stroke: #1f77b4; stroke-linecap: round\"/>\n   </g>\n   <g id=\"Poly3DCollection_1\">\n    <path d=\"M 41.060035 116.134651 \nL 109.863584 128.013408 \nL 147.810444 108.832233 \nL 82.2901 98.623811 \nL 41.060035 116.134651 \nz\n\" clip-path=\"url(#paff6982862)\" style=\"fill: #0000ff; fill-opacity: 0.05\"/>\n   </g>\n   <g id=\"patch_6\">\n    <path d=\"M 95.407796 27.922879 \nQ 95.382887 40.583518 95.360177 52.126125 \n\" clip-path=\"url(#paff6982862)\" style=\"fill: none; stroke: #1f77b4; stroke-linecap: round\"/>\n    <path d=\"M 97.368043 48.130067 \nL 95.360177 52.126125 \nL 93.368051 48.122198 \nz\n\" clip-path=\"url(#paff6982862)\" style=\"fill: #1f77b4; stroke: #1f77b4; stroke-linecap: round\"/>\n   </g>\n   <g id=\"Poly3DCollection_2\">\n    <path d=\"M 41.060035 116.134651 \nL 82.2901 98.623811 \nL 82.191244 44.537444 \nL 40.250386 58.119201 \nL 41.060035 116.134651 \nz\n\" clip-path=\"url(#paff6982862)\" style=\"fill: #0000ff; fill-opacity: 0.05\"/>\n   </g>\n   <g id=\"patch_7\">\n    <path d=\"M 67.852189 29.134182 \nQ 67.92789 41.901788 67.996963 53.55138 \n\" clip-path=\"url(#paff6982862)\" style=\"fill: none; stroke: #1f77b4; stroke-linecap: round\"/>\n    <path d=\"M 69.973212 49.539592 \nL 67.996963 53.55138 \nL 65.973282 49.563308 \nz\n\" clip-path=\"url(#paff6982862)\" style=\"fill: #1f77b4; stroke: #1f77b4; stroke-linecap: round\"/>\n   </g>\n   <g id=\"Line3DCollection_3\">\n    <path d=\"M 41.060035 116.134651 \nL 109.863584 128.013408 \nL 147.810444 108.832233 \nL 82.2901 98.623811 \nL 41.060035 116.134651 \n\" clip-path=\"url(#paff6982862)\" style=\"fill: none; stroke: #cccccc\"/>\n   </g>\n   <g id=\"Poly3DCollection_3\">\n    <path d=\"M 41.060035 116.134651 \nL 109.863584 128.013408 \nL 110.245108 67.351437 \nL 40.250386 58.119201 \nL 41.060035 116.134651 \nz\n\" clip-path=\"url(#paff6982862)\" style=\"fill: #ffffff; fill-opacity: 0.05\"/>\n   </g>\n   <g id=\"patch_8\">\n    <path d=\"M 132.159055 87.583407 \nQ 143.869403 89.276363 155.579751 90.96932 \nL 155.966071 88.2971 \nQ 160.097424 91.167758 164.228776 94.038416 \nQ 159.453556 95.621457 154.678335 97.204498 \nL 155.064656 94.532279 \nQ 143.354309 92.839323 131.643961 91.146366 \nL 132.159055 87.583407 \nz\n\" clip-path=\"url(#paff6982862)\" style=\"fill: #1f77b4; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"patch_9\">\n    <path d=\"M 44.365007 133.728055 \nQ 75.524575 139.48005 106.684143 145.232046 \n\" clip-path=\"url(#paff6982862)\" style=\"fill: none; stroke: #1f77b4; stroke-linecap: round\"/>\n    <path d=\"M 47.935486 136.420949 \nL 44.365007 133.728055 \nL 48.66161 132.487408 \nz\n\" clip-path=\"url(#paff6982862)\" style=\"fill: #1f77b4; stroke: #1f77b4; stroke-linecap: round\"/>\n    <path d=\"M 103.113664 142.539152 \nL 106.684143 145.232046 \nL 102.38754 146.472692 \nz\n\" clip-path=\"url(#paff6982862)\" style=\"fill: #1f77b4; stroke: #1f77b4; stroke-linecap: round\"/>\n   </g>\n   <g id=\"Poly3DCollection_4\">\n    <path d=\"M 41.060035 116.134651 \nL 109.863584 128.013408 \nL 109.788883 139.890782 \nL 41.218718 127.505071 \nL 41.060035 116.134651 \nz\n\" clip-path=\"url(#paff6982862)\" style=\"fill: url(#hd35217f0da); stroke: #000000\"/>\n   </g>\n   <g id=\"patch_10\">\n    <path d=\"M 112.49435 144.316467 \nQ 128.635261 135.595467 144.776172 126.874467 \n\" clip-path=\"url(#paff6982862)\" style=\"fill: none; stroke: #1f77b4; stroke-linecap: round\"/>\n    <path d=\"M 116.964237 144.174629 \nL 112.49435 144.316467 \nL 115.062812 140.655455 \nz\n\" clip-path=\"url(#paff6982862)\" style=\"fill: #1f77b4; stroke: #1f77b4; stroke-linecap: round\"/>\n    <path d=\"M 140.306286 127.016304 \nL 144.776172 126.874467 \nL 142.20771 130.535478 \nz\n\" clip-path=\"url(#paff6982862)\" style=\"fill: #1f77b4; stroke: #1f77b4; stroke-linecap: round\"/>\n   </g>\n   <g id=\"Poly3DCollection_5\">\n    <path d=\"M 109.863584 128.013408 \nL 147.810444 108.832233 \nL 148.79055 52.451284 \nL 110.245108 67.351437 \nL 109.863584 128.013408 \nz\n\" clip-path=\"url(#paff6982862)\" style=\"fill: #ffffff; fill-opacity: 0.05\"/>\n   </g>\n   <g id=\"text_7\">\n    <!-- $Q_y(y)$ -->\n    <g style=\"fill: #1f77b4\" transform=\"translate(52.277287 113.910717) rotate(-22.169254) scale(0.1 -0.1)\">\n     <use xlink:href=\"#DejaVuSans-Oblique-51\" transform=\"translate(0 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(78.710938 -16.28125) scale(0.7)\"/>\n     <use xlink:href=\"#DejaVuSans-28\" transform=\"translate(122.871094 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(161.884766 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-29\" transform=\"translate(221.064453 0.125)\"/>\n    </g>\n   </g>\n   <g id=\"patch_11\">\n    <path d=\"M 53.216965 99.275696 \nQ 58.441841 97.146733 63.666717 95.017771 \nL 62.647889 92.517373 \nQ 67.662599 92.90366 72.677309 93.289946 \nQ 69.360647 97.070989 66.043984 100.852032 \nL 65.025155 98.351634 \nQ 59.800279 100.480597 54.575403 102.609559 \nL 53.216965 99.275696 \nz\n\" clip-path=\"url(#paff6982862)\" style=\"fill: #1f77b4; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"Poly3DCollection_6\">\n    <path d=\"M 109.863584 128.013408 \nL 147.810444 108.832233 \nL 147.618237 119.889017 \nL 109.788883 139.890782 \nL 109.863584 128.013408 \nz\n\" clip-path=\"url(#paff6982862)\" style=\"fill: url(#hd35217f0da); stroke: #000000\"/>\n   </g>\n   <g id=\"Line3DCollection_4\">\n    <path d=\"M 40.250386 58.119201 \nL 110.245108 67.351437 \nL 148.79055 52.451284 \nL 82.191244 44.537444 \nL 40.250386 58.119201 \n\" clip-path=\"url(#paff6982862)\" style=\"fill: none; stroke: #000000\"/>\n   </g>\n   <g id=\"Line3DCollection_5\">\n    <path d=\"M 109.863584 128.013408 \nL 147.810444 108.832233 \nL 148.79055 52.451284 \nL 110.245108 67.351437 \nL 109.863584 128.013408 \n\" clip-path=\"url(#paff6982862)\" style=\"fill: none; stroke: #000000\"/>\n   </g>\n   <g id=\"Line3DCollection_6\">\n    <path d=\"M 41.060035 116.134651 \nL 109.863584 128.013408 \nL 110.245108 67.351437 \nL 40.250386 58.119201 \nL 41.060035 116.134651 \n\" clip-path=\"url(#paff6982862)\" style=\"fill: none; stroke: #000000\"/>\n   </g>\n   <g id=\"Poly3DCollection_7\">\n    <path d=\"M 82.2901 98.623811 \nL 147.810444 108.832233 \nL 148.79055 52.451284 \nL 82.191244 44.537444 \nL 82.2901 98.623811 \nz\n\" clip-path=\"url(#paff6982862)\" style=\"fill: #0000ff; fill-opacity: 0.05\"/>\n   </g>\n  </g>\n </g>\n <defs>\n  <clipPath id=\"paff6982862\">\n   <rect x=\"7.2\" y=\"7.2\" width=\"158.4\" height=\"158.4\"/>\n  </clipPath>\n </defs>\n <defs>\n  <pattern id=\"hd35217f0da\" patternUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"72\" height=\"72\">\n   <rect x=\"0\" y=\"0\" width=\"73\" height=\"73\" fill=\"#ffffff\"/>\n   <path d=\"M -36 36 \nL 36 -36 \nM -30 42 \nL 42 -30 \nM -24 48 \nL 48 -24 \nM -18 54 \nL 54 -18 \nM -12 60 \nL 60 -12 \nM -6 66 \nL 66 -6 \nM 0 72 \nL 72 0 \nM 6 78 \nL 78 6 \nM 12 84 \nL 84 12 \nM 18 90 \nL 90 18 \nM 24 96 \nL 96 24 \nM 30 102 \nL 102 30 \nM 36 108 \nL 108 36 \nM -36 36 \nL 36 108 \nM -30 30 \nL 42 102 \nM -24 24 \nL 48 96 \nM -18 18 \nL 54 90 \nM -12 12 \nL 60 84 \nM -6 6 \nL 66 78 \nM 0 0 \nL 72 72 \nM 6 -6 \nL 78 66 \nM 12 -12 \nL 84 60 \nM 18 -18 \nL 90 54 \nM 24 -24 \nL 96 48 \nM 30 -30 \nL 102 42 \nM 36 -36 \nL 108 36 \n\" style=\"fill: #000000; stroke: #000000; stroke-width: 1.0; stroke-linecap: butt; stroke-linejoin: miter\"/>\n  </pattern>\n </defs>\n</svg>\n",
      "application/papermill.record/text/plain": "<Figure size 1500x750 with 1 Axes>"
     },
     "metadata": {
      "scrapbook": {
       "mime_prefix": "application/papermill.record/",
       "name": "fig_twod"
      }
     },
     "output_type": "display_data"
    },
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       "  \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"172.8pt\" height=\"172.8pt\" viewBox=\"0 0 172.8 172.8\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">\n",
       " <metadata>\n",
       "  <rdf:RDF xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\n",
       "   <cc:Work>\n",
       "    <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\n",
       "    <dc:date>2025-11-02T16:00:59.150246</dc:date>\n",
       "    <dc:format>image/svg+xml</dc:format>\n",
       "    <dc:creator>\n",
       "     <cc:Agent>\n",
       "      <dc:title>Matplotlib v3.10.6, https://matplotlib.org/</dc:title>\n",
       "     </cc:Agent>\n",
       "    </dc:creator>\n",
       "   </cc:Work>\n",
       "  </rdf:RDF>\n",
       " </metadata>\n",
       " <defs>\n",
       "  <style type=\"text/css\">*{stroke-linejoin: round; stroke-linecap: butt}</style>\n",
       " </defs>\n",
       " <g id=\"figure_1\">\n",
       "  <g id=\"patch_1\">\n",
       "   <path d=\"M 0 172.8 \n",
       "L 172.8 172.8 \n",
       "L 172.8 0 \n",
       "L 0 0 \n",
       "z\n",
       "\" style=\"fill: #ffffff\"/>\n",
       "  </g>\n",
       "  <g id=\"patch_2\">\n",
       "   <path d=\"M 7.2 165.6 \n",
       "L 165.6 165.6 \n",
       "L 165.6 7.2 \n",
       "L 7.2 7.2 \n",
       "z\n",
       "\" style=\"fill: #ffffff\"/>\n",
       "  </g>\n",
       "  <g id=\"axes_1\">\n",
       "   <g id=\"patch_3\">\n",
       "    <path d=\"M 115.715024 73.809824 \n",
       "Q 118.633554 72.620621 121.552085 71.431417 \n",
       "L 120.533256 68.93102 \n",
       "Q 125.549878 69.316527 130.566501 69.702034 \n",
       "Q 127.247926 73.483856 123.929351 77.265678 \n",
       "L 122.910523 74.765281 \n",
       "Q 119.991992 75.954484 117.073462 77.143688 \n",
       "L 115.715024 73.809824 \n",
       "z\n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: #1f77b4; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"Line3DCollection_1\">\n",
       "    <path d=\"M 82.2901 98.623811 \n",
       "L 147.810444 108.832233 \n",
       "L 148.79055 52.451284 \n",
       "L 82.191244 44.537444 \n",
       "L 82.2901 98.623811 \n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: none; stroke: #cccccc\"/>\n",
       "   </g>\n",
       "   <g id=\"text_1\">\n",
       "    <!-- $Q_x(x)$ -->\n",
       "    <g style=\"fill: #1f77b4\" transform=\"translate(32.961284 87.266503) rotate(8.334887) scale(0.1 -0.1)\">\n",
       "     <defs>\n",
       "      <path id=\"DejaVuSans-Oblique-51\" d=\"M 2309 -84 \n",
       "Q 2275 -88 2237 -89 \n",
       "Q 2200 -91 2125 -91 \n",
       "Q 1250 -91 756 411 \n",
       "Q 263 913 263 1797 \n",
       "Q 263 2319 452 2844 \n",
       "Q 641 3369 978 3788 \n",
       "Q 1369 4269 1858 4509 \n",
       "Q 2347 4750 2938 4750 \n",
       "Q 3794 4750 4287 4245 \n",
       "Q 4781 3741 4781 2869 \n",
       "Q 4781 1928 4265 1147 \n",
       "Q 3750 366 2919 44 \n",
       "L 3553 -825 \n",
       "L 2847 -825 \n",
       "L 2309 -84 \n",
       "z\n",
       "M 2919 4238 \n",
       "Q 2400 4238 2003 3986 \n",
       "Q 1606 3734 1313 3219 \n",
       "Q 1125 2891 1026 2522 \n",
       "Q 928 2153 928 1778 \n",
       "Q 928 1128 1239 775 \n",
       "Q 1550 422 2119 422 \n",
       "Q 2631 422 3032 676 \n",
       "Q 3434 931 3719 1434 \n",
       "Q 3909 1772 4009 2142 \n",
       "Q 4109 2513 4109 2881 \n",
       "Q 4109 3528 3796 3883 \n",
       "Q 3484 4238 2919 4238 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      <path id=\"DejaVuSans-Oblique-78\" d=\"M 3841 3500 \n",
       "L 2234 1784 \n",
       "L 3219 0 \n",
       "L 2559 0 \n",
       "L 1819 1388 \n",
       "L 531 0 \n",
       "L -166 0 \n",
       "L 1556 1844 \n",
       "L 641 3500 \n",
       "L 1300 3500 \n",
       "L 1972 2234 \n",
       "L 3144 3500 \n",
       "L 3841 3500 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      <path id=\"DejaVuSans-28\" d=\"M 1984 4856 \n",
       "Q 1566 4138 1362 3434 \n",
       "Q 1159 2731 1159 2009 \n",
       "Q 1159 1288 1364 580 \n",
       "Q 1569 -128 1984 -844 \n",
       "L 1484 -844 \n",
       "Q 1016 -109 783 600 \n",
       "Q 550 1309 550 2009 \n",
       "Q 550 2706 781 3412 \n",
       "Q 1013 4119 1484 4856 \n",
       "L 1984 4856 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      <path id=\"DejaVuSans-29\" d=\"M 513 4856 \n",
       "L 1013 4856 \n",
       "Q 1481 4119 1714 3412 \n",
       "Q 1947 2706 1947 2009 \n",
       "Q 1947 1309 1714 600 \n",
       "Q 1481 -109 1013 -844 \n",
       "L 513 -844 \n",
       "Q 928 -128 1133 580 \n",
       "Q 1338 1288 1338 2009 \n",
       "Q 1338 2731 1133 3434 \n",
       "Q 928 4138 513 4856 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "     </defs>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-51\" transform=\"translate(0 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(78.710938 -16.28125) scale(0.7)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-28\" transform=\"translate(122.871094 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(161.884766 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-29\" transform=\"translate(221.064453 0.125)\"/>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"text_2\">\n",
       "    <!-- $Q_x(x+\\Delta x)$ -->\n",
       "    <g style=\"fill: #1f77b4\" transform=\"translate(122.168202 99.190824) rotate(8.226215) scale(0.1 -0.1)\">\n",
       "     <defs>\n",
       "      <path id=\"DejaVuSans-2b\" d=\"M 2944 4013 \n",
       "L 2944 2272 \n",
       "L 4684 2272 \n",
       "L 4684 1741 \n",
       "L 2944 1741 \n",
       "L 2944 0 \n",
       "L 2419 0 \n",
       "L 2419 1741 \n",
       "L 678 1741 \n",
       "L 678 2272 \n",
       "L 2419 2272 \n",
       "L 2419 4013 \n",
       "L 2944 4013 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      <path id=\"DejaVuSans-394\" d=\"M 2188 4044 \n",
       "L 906 525 \n",
       "L 3472 525 \n",
       "L 2188 4044 \n",
       "z\n",
       "M 50 0 \n",
       "L 1831 4666 \n",
       "L 2547 4666 \n",
       "L 4325 0 \n",
       "L 50 0 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "     </defs>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-51\" transform=\"translate(0 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(78.710938 -16.28125) scale(0.7)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-28\" transform=\"translate(122.871094 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(161.884766 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-2b\" transform=\"translate(240.546875 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-394\" transform=\"translate(343.818359 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(412.226562 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-29\" transform=\"translate(471.40625 0.125)\"/>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"text_3\">\n",
       "    <!-- $Q_y(y+\\Delta y)$ -->\n",
       "    <g style=\"fill: #1f77b4\" transform=\"translate(113.010629 91.011865) rotate(-21.900343) scale(0.1 -0.1)\">\n",
       "     <defs>\n",
       "      <path id=\"DejaVuSans-Oblique-79\" d=\"M 1588 -325 \n",
       "Q 1188 -997 936 -1164 \n",
       "Q 684 -1331 294 -1331 \n",
       "L -159 -1331 \n",
       "L -63 -850 \n",
       "L 269 -850 \n",
       "Q 509 -850 678 -719 \n",
       "Q 847 -588 1056 -206 \n",
       "L 1234 128 \n",
       "L 459 3500 \n",
       "L 1069 3500 \n",
       "L 1650 819 \n",
       "L 3256 3500 \n",
       "L 3859 3500 \n",
       "L 1588 -325 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "     </defs>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-51\" transform=\"translate(0 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(78.710938 -16.28125) scale(0.7)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-28\" transform=\"translate(122.871094 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(161.884766 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-2b\" transform=\"translate(240.546875 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-394\" transform=\"translate(343.818359 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(412.226562 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-29\" transform=\"translate(471.40625 0.125)\"/>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"text_4\">\n",
       "    <!-- $N$ -->\n",
       "    <g style=\"fill: #1f77b4\" transform=\"translate(98.86034 29.044178) scale(0.1 -0.1)\">\n",
       "     <defs>\n",
       "      <path id=\"DejaVuSans-Oblique-4e\" d=\"M 1081 4666 \n",
       "L 1931 4666 \n",
       "L 3219 666 \n",
       "L 4000 4666 \n",
       "L 4616 4666 \n",
       "L 3706 0 \n",
       "L 2853 0 \n",
       "L 1569 4025 \n",
       "L 788 0 \n",
       "L 172 0 \n",
       "L 1081 4666 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "     </defs>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-4e\" transform=\"translate(0 0.09375)\"/>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"text_5\">\n",
       "    <!-- $\\Delta x$ -->\n",
       "    <g style=\"fill: #1f77b4\" transform=\"translate(67.934129 149.68337) rotate(10.568604) scale(0.1 -0.1)\">\n",
       "     <use xlink:href=\"#DejaVuSans-394\" transform=\"translate(0 0.09375)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(68.408203 0.09375)\"/>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"text_6\">\n",
       "    <!-- $\\Delta y$ -->\n",
       "    <g style=\"fill: #1f77b4\" transform=\"translate(125.026252 150.828493) rotate(-28.637719) scale(0.1 -0.1)\">\n",
       "     <use xlink:href=\"#DejaVuSans-394\" transform=\"translate(0 0.09375)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(68.408203 0.09375)\"/>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"patch_4\">\n",
       "    <path d=\"M 32.8416 73.225155 \n",
       "Q 42.220481 74.581053 51.599361 75.936951 \n",
       "L 51.985682 73.264731 \n",
       "Q 56.115973 76.135236 60.246263 79.00574 \n",
       "Q 55.472105 80.588935 50.697946 82.172129 \n",
       "L 51.084267 79.49991 \n",
       "Q 41.705386 78.144012 32.326506 76.788114 \n",
       "L 32.8416 73.225155 \n",
       "z\n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: #1f77b4; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"Line3DCollection_2\">\n",
       "    <path d=\"M 41.060035 116.134651 \n",
       "L 82.2901 98.623811 \n",
       "L 82.191244 44.537444 \n",
       "L 40.250386 58.119201 \n",
       "L 41.060035 116.134651 \n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: none; stroke: #cccccc\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_5\">\n",
       "    <path d=\"M 122.539867 26.730195 \n",
       "Q 122.417644 39.282118 122.306308 50.716061 \n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: none; stroke: #1f77b4; stroke-linecap: round\"/>\n",
       "    <path d=\"M 124.34516 46.735725 \n",
       "L 122.306308 50.716061 \n",
       "L 120.34535 46.696777 \n",
       "z\n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: #1f77b4; stroke: #1f77b4; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"Poly3DCollection_1\">\n",
       "    <path d=\"M 41.060035 116.134651 \n",
       "L 109.863584 128.013408 \n",
       "L 147.810444 108.832233 \n",
       "L 82.2901 98.623811 \n",
       "L 41.060035 116.134651 \n",
       "z\n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: #0000ff; fill-opacity: 0.05\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_6\">\n",
       "    <path d=\"M 95.407796 27.922879 \n",
       "Q 95.382887 40.583518 95.360177 52.126125 \n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: none; stroke: #1f77b4; stroke-linecap: round\"/>\n",
       "    <path d=\"M 97.368043 48.130067 \n",
       "L 95.360177 52.126125 \n",
       "L 93.368051 48.122198 \n",
       "z\n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: #1f77b4; stroke: #1f77b4; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"Poly3DCollection_2\">\n",
       "    <path d=\"M 41.060035 116.134651 \n",
       "L 82.2901 98.623811 \n",
       "L 82.191244 44.537444 \n",
       "L 40.250386 58.119201 \n",
       "L 41.060035 116.134651 \n",
       "z\n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: #0000ff; fill-opacity: 0.05\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_7\">\n",
       "    <path d=\"M 67.852189 29.134182 \n",
       "Q 67.92789 41.901788 67.996963 53.55138 \n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: none; stroke: #1f77b4; stroke-linecap: round\"/>\n",
       "    <path d=\"M 69.973212 49.539592 \n",
       "L 67.996963 53.55138 \n",
       "L 65.973282 49.563308 \n",
       "z\n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: #1f77b4; stroke: #1f77b4; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"Line3DCollection_3\">\n",
       "    <path d=\"M 41.060035 116.134651 \n",
       "L 109.863584 128.013408 \n",
       "L 147.810444 108.832233 \n",
       "L 82.2901 98.623811 \n",
       "L 41.060035 116.134651 \n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: none; stroke: #cccccc\"/>\n",
       "   </g>\n",
       "   <g id=\"Poly3DCollection_3\">\n",
       "    <path d=\"M 41.060035 116.134651 \n",
       "L 109.863584 128.013408 \n",
       "L 110.245108 67.351437 \n",
       "L 40.250386 58.119201 \n",
       "L 41.060035 116.134651 \n",
       "z\n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: #ffffff; fill-opacity: 0.05\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_8\">\n",
       "    <path d=\"M 132.159055 87.583407 \n",
       "Q 143.869403 89.276363 155.579751 90.96932 \n",
       "L 155.966071 88.2971 \n",
       "Q 160.097424 91.167758 164.228776 94.038416 \n",
       "Q 159.453556 95.621457 154.678335 97.204498 \n",
       "L 155.064656 94.532279 \n",
       "Q 143.354309 92.839323 131.643961 91.146366 \n",
       "L 132.159055 87.583407 \n",
       "z\n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: #1f77b4; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_9\">\n",
       "    <path d=\"M 44.365007 133.728055 \n",
       "Q 75.524575 139.48005 106.684143 145.232046 \n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: none; stroke: #1f77b4; stroke-linecap: round\"/>\n",
       "    <path d=\"M 47.935486 136.420949 \n",
       "L 44.365007 133.728055 \n",
       "L 48.66161 132.487408 \n",
       "z\n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: #1f77b4; stroke: #1f77b4; stroke-linecap: round\"/>\n",
       "    <path d=\"M 103.113664 142.539152 \n",
       "L 106.684143 145.232046 \n",
       "L 102.38754 146.472692 \n",
       "z\n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: #1f77b4; stroke: #1f77b4; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"Poly3DCollection_4\">\n",
       "    <path d=\"M 41.060035 116.134651 \n",
       "L 109.863584 128.013408 \n",
       "L 109.788883 139.890782 \n",
       "L 41.218718 127.505071 \n",
       "L 41.060035 116.134651 \n",
       "z\n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: url(#h860cba227f); stroke: #000000\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_10\">\n",
       "    <path d=\"M 112.49435 144.316467 \n",
       "Q 128.635261 135.595467 144.776172 126.874467 \n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: none; stroke: #1f77b4; stroke-linecap: round\"/>\n",
       "    <path d=\"M 116.964237 144.174629 \n",
       "L 112.49435 144.316467 \n",
       "L 115.062812 140.655455 \n",
       "z\n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: #1f77b4; stroke: #1f77b4; stroke-linecap: round\"/>\n",
       "    <path d=\"M 140.306286 127.016304 \n",
       "L 144.776172 126.874467 \n",
       "L 142.20771 130.535478 \n",
       "z\n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: #1f77b4; stroke: #1f77b4; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"Poly3DCollection_5\">\n",
       "    <path d=\"M 109.863584 128.013408 \n",
       "L 147.810444 108.832233 \n",
       "L 148.79055 52.451284 \n",
       "L 110.245108 67.351437 \n",
       "L 109.863584 128.013408 \n",
       "z\n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: #ffffff; fill-opacity: 0.05\"/>\n",
       "   </g>\n",
       "   <g id=\"text_7\">\n",
       "    <!-- $Q_y(y)$ -->\n",
       "    <g style=\"fill: #1f77b4\" transform=\"translate(52.277287 113.910717) rotate(-22.169254) scale(0.1 -0.1)\">\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-51\" transform=\"translate(0 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(78.710938 -16.28125) scale(0.7)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-28\" transform=\"translate(122.871094 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(161.884766 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-29\" transform=\"translate(221.064453 0.125)\"/>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"patch_11\">\n",
       "    <path d=\"M 53.216965 99.275696 \n",
       "Q 58.441841 97.146733 63.666717 95.017771 \n",
       "L 62.647889 92.517373 \n",
       "Q 67.662599 92.90366 72.677309 93.289946 \n",
       "Q 69.360647 97.070989 66.043984 100.852032 \n",
       "L 65.025155 98.351634 \n",
       "Q 59.800279 100.480597 54.575403 102.609559 \n",
       "L 53.216965 99.275696 \n",
       "z\n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: #1f77b4; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"Poly3DCollection_6\">\n",
       "    <path d=\"M 109.863584 128.013408 \n",
       "L 147.810444 108.832233 \n",
       "L 147.618237 119.889017 \n",
       "L 109.788883 139.890782 \n",
       "L 109.863584 128.013408 \n",
       "z\n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: url(#h860cba227f); stroke: #000000\"/>\n",
       "   </g>\n",
       "   <g id=\"Line3DCollection_4\">\n",
       "    <path d=\"M 40.250386 58.119201 \n",
       "L 110.245108 67.351437 \n",
       "L 148.79055 52.451284 \n",
       "L 82.191244 44.537444 \n",
       "L 40.250386 58.119201 \n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: none; stroke: #000000\"/>\n",
       "   </g>\n",
       "   <g id=\"Line3DCollection_5\">\n",
       "    <path d=\"M 109.863584 128.013408 \n",
       "L 147.810444 108.832233 \n",
       "L 148.79055 52.451284 \n",
       "L 110.245108 67.351437 \n",
       "L 109.863584 128.013408 \n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: none; stroke: #000000\"/>\n",
       "   </g>\n",
       "   <g id=\"Line3DCollection_6\">\n",
       "    <path d=\"M 41.060035 116.134651 \n",
       "L 109.863584 128.013408 \n",
       "L 110.245108 67.351437 \n",
       "L 40.250386 58.119201 \n",
       "L 41.060035 116.134651 \n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: none; stroke: #000000\"/>\n",
       "   </g>\n",
       "   <g id=\"Poly3DCollection_7\">\n",
       "    <path d=\"M 82.2901 98.623811 \n",
       "L 147.810444 108.832233 \n",
       "L 148.79055 52.451284 \n",
       "L 82.191244 44.537444 \n",
       "L 82.2901 98.623811 \n",
       "z\n",
       "\" clip-path=\"url(#pde02283a35)\" style=\"fill: #0000ff; fill-opacity: 0.05\"/>\n",
       "   </g>\n",
       "  </g>\n",
       " </g>\n",
       " <defs>\n",
       "  <clipPath id=\"pde02283a35\">\n",
       "   <rect x=\"7.2\" y=\"7.2\" width=\"158.4\" height=\"158.4\"/>\n",
       "  </clipPath>\n",
       " </defs>\n",
       " <defs>\n",
       "  <pattern id=\"h860cba227f\" patternUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"72\" height=\"72\">\n",
       "   <rect x=\"0\" y=\"0\" width=\"73\" height=\"73\" fill=\"#ffffff\"/>\n",
       "   <path d=\"M -36 36 \n",
       "L 36 -36 \n",
       "M -30 42 \n",
       "L 42 -30 \n",
       "M -24 48 \n",
       "L 48 -24 \n",
       "M -18 54 \n",
       "L 54 -18 \n",
       "M -12 60 \n",
       "L 60 -12 \n",
       "M -6 66 \n",
       "L 66 -6 \n",
       "M 0 72 \n",
       "L 72 0 \n",
       "M 6 78 \n",
       "L 78 6 \n",
       "M 12 84 \n",
       "L 84 12 \n",
       "M 18 90 \n",
       "L 90 18 \n",
       "M 24 96 \n",
       "L 96 24 \n",
       "M 30 102 \n",
       "L 102 30 \n",
       "M 36 108 \n",
       "L 108 36 \n",
       "M -36 36 \n",
       "L 36 108 \n",
       "M -30 30 \n",
       "L 42 102 \n",
       "M -24 24 \n",
       "L 48 96 \n",
       "M -18 18 \n",
       "L 54 90 \n",
       "M -12 12 \n",
       "L 60 84 \n",
       "M -6 6 \n",
       "L 66 78 \n",
       "M 0 0 \n",
       "L 72 72 \n",
       "M 6 -6 \n",
       "L 78 66 \n",
       "M 12 -12 \n",
       "L 84 60 \n",
       "M 18 -18 \n",
       "L 90 54 \n",
       "M 24 -24 \n",
       "L 96 48 \n",
       "M 30 -30 \n",
       "L 102 42 \n",
       "M 36 -36 \n",
       "L 108 36 \n",
       "\" style=\"fill: #000000; stroke: #000000; stroke-width: 1.0; stroke-linecap: butt; stroke-linejoin: miter\"/>\n",
       "  </pattern>\n",
       " </defs>\n",
       "</svg>\n"
      ],
      "text/plain": [
       "<Figure size 1500x750 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "fig_twod = diagrams_2d.twod_waterbalance()\n",
    "glue(\"fig_twod\", fig_twod, display=False)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "```{glue:figure} fig_twod\n",
    "---\n",
    "name: fig_two_dim_wat_bal6.0\n",
    "---\n",
    "Two-dimensional water balance.\n",
    "```"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The discharge vector for two-dimensional flow in the horizontal plane consists of two components: $Q_x$ in the $x$-direction and $Q_y$ in the $y$-direction ({numref}`Figure %s <fig_two_dim_wat_bal6.0>`). Continuity of flow for steady two-dimensional flow in the horizontal $x, y$ plane may be written as\n",
    "\n",
    "$$\n",
    "\\frac{\\partial Q_x}{\\partial x} + \\frac{\\partial Q_y}{\\partial y} = N\n",
    "$$(eq_basicdeq2d6.0)\n",
    "\n",
    "where $N$ is the areal recharge. Note that this equation differs from the continuity of flow equation for one-dimensional steady flow (Eq. {eq}`eq_one_d1.0`) only by the additional term $\\partial Q_y / \\partial y$.\n",
    "<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Steady confined, unconfined, and interface flows may be formulated as potential flow, where the discharge vector is minus the gradient of the discharge potential\n",
    "\n",
    "$$\n",
    "Q_x = -\\frac{\\partial \\Phi}{\\partial x} \\quad\\quad Q_y = -\\frac{\\partial \\Phi}{\\partial y}\n",
    "$$(eq_QxQy6.0)\n",
    "\n",
    "so that the differential equation for steady potential flow becomes the two-dimensional Poisson equation\n",
    "\n",
    "$$\n",
    "\\nabla^2 \\Phi = \\frac{\\partial^2 \\Phi}{\\partial x^2} + \\frac{\\partial^2 \\Phi}{\\partial y^2} = -N\n",
    "$$(eq_poisson2d6.0)\n",
    "\n",
    "In the absence of areal recharge ($N = 0$), this differential equation is referred to as the two-dimensional Laplace equation. The relationships between the discharge potential and head for different flow types are summarized in {numref}`tab_def_dis_pot6.0`."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "```{list-table} Definition of the discharge potential for different types of flow where $k$ is the hydraulic conductivity of the aquifer, $z_b$ and $z_t$ are the elevations of the bottom and top of the aquifer, $H$ is the aquifer thickness, and $\\alpha=\\rho_f/(\\rho_s - \\rho_f)$, where $\\rho_f$ and $\\rho_s$ are the densities of freshwater and saltwater, respectively. For interface flow, all heads and elevations are measured with respect to sea level. \n",
    ":header-rows: 1\n",
    ":name: tab_def_dis_pot6.0\n",
    "\n",
    "* - Flow Type\n",
    "  - Discharge potential\n",
    "  - Condition\n",
    "  - Section\n",
    "* - Confined flow\n",
    "  - $\\Phi = kHh$\n",
    "  - $h \\ge z_t$\n",
    "  - {numref}`%s <content:chap3:combined_confined_unconfined>`\n",
    "* - Unconfined flow\n",
    "  - $\\Phi = \\tfrac{1}{2}k(h-z_b)^2$\n",
    "  - $h \\ge z_b$\n",
    "  - {numref}`%s <content:chap3:recharge_boundary_and_river>`\n",
    "* - Confined/unconfined flow\n",
    "  - $\\Phi = kHh -(\\tfrac{1}{2}kH^2 + kHz_b)$\n",
    "  - $h \\ge z_t$ \n",
    "  - {numref}`%s <content:chap3:combined_confined_unconfined>`\n",
    "* - \n",
    "  - $\\Phi = \\tfrac{1}{2}k(h-z_b)^2$\n",
    "  - $z_b \\le h \\le z_t$\n",
    "  - {numref}`%s <content:chap3:combined_confined_unconfined>`\n",
    "* - Confined interface flow\n",
    "  - $\\Phi = kHh + (\\tfrac{1}{2} kH^2 + kHz_b) / \\alpha$\n",
    "  - $h\\ge -z_b/\\alpha$\n",
    "  - {numref}`%s <content:chap4:confined_flow>`\n",
    "* - \n",
    "  - $\\Phi = \\tfrac{1}{2}k\\alpha(h+z_t/\\alpha)^2$\n",
    "  - $-z_t/\\alpha\\le h\\le -z_b/\\alpha$\n",
    "  - {numref}`%s <content:chap4:confined_flow>`\n",
    "* - Unconfined interface flow\n",
    "  - $\\Phi = \\tfrac{1}{2}k(h-z_b)^2 -\\tfrac{1}{2}k(\\alpha+1)z_b^2 / \\alpha$\n",
    "  - $h\\ge -z_b/\\alpha$\n",
    "  - {numref}`%s <content:chap4:unconfined_flow>`\n",
    "* - \n",
    "  - $\\Phi = \\tfrac{1}{2}k(\\alpha+1)h^2$\n",
    "  - $0\\le h \\le -z_b/\\alpha$\n",
    "  - {numref}`%s <content:chap4:unconfined_flow>`\n",
    "```"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Flow to a pumping well in a homogeneous, isotropic aquifer is radially symmetric in the absence of any other flow features. As a result, the head and flow are a function only of the radial distance to the well. The continuity equation in terms of radial coordinates is derived by considering the water balance for an annulus ({numref}`Figure %s <fig_con_rad_sym6.0>`). The inner radius of the annulus is $r$, the outer radius is $r + \\Delta r$, and $Q_r$ is the radial component of the discharge vector (i.e., positive away from the well). For steady flow, the continuity equation is\n",
    "\n",
    "$$\n",
    "\\text{Inflow} - \\text{Outflow} = 0\n",
    "$$(eq_continuity2drad6.0)\n",
    "\n",
    "Inflow equals areal recharge on the annulus and inflow along the inner radius. Outflow equals outflow along the outer radius so that the continuity equation becomes\n",
    "\n",
    "$$\n",
    "(\\pi(r + \\Delta r)^2 - \\pi r^2)N + 2\\pi rQ_r|_r  -  2\\pi(r + \\Delta r)Q_r|_{r + \\Delta r} = 0\n",
    "$$(eq_balance6.0)\n",
    "\n",
    "Division by $2\\pi \\Delta r$ and taking the limit for $\\Delta r \\to 0$ gives\n",
    "\n",
    "$$\n",
    "Nr -\\frac{\\text{d}(rQ_r)}{\\text{d}r} = 0\n",
    "$$(eq_balance_simpl6.0)\n",
    "\n",
    "Application of the product rule for differentiation and using that the radial component of the discharge vector is\n",
    "\n",
    "$$\n",
    "Q_r = -\\frac{\\text{d}\\Phi}{\\text{d} r}\n",
    "$$(eq_Q_r6.0)\n",
    "\n",
    "gives the differential equation for steady potential flow in radial coordinates\n",
    "\n",
    "$$\n",
    "\\frac{\\text{d}^2\\Phi}{\\text{d} r^2}+\\frac{1}{r}\\frac{\\text{d}\\Phi}{\\text{d}r} = -N\n",
    "$$(eq_deq_rad_sym_potflow6.0)\n",
    "\n",
    "Note that this equation is consistent with Eq. ({eq}`eq_poisson2d6.0`) because the Laplacian in terms of polar coordinates $r,\\theta$ is\n",
    "\n",
    "$$\n",
    "\\nabla^2 \\Phi = \\frac{\\partial^2\\Phi}{\\partial r^2}+\\frac{1}{r}\\frac{\\partial\\Phi}{\\partial r} + \\frac{1}{r^2} \\frac{\\partial^2\\Phi}{\\partial \\theta^2}\n",
    "$$(eq_nabla6.0)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "tags": [
     "remove-input",
     "remove-output"
    ]
   },
   "outputs": [
    {
     "data": {
      "application/papermill.record/image/svg+xml": "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n  \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n<svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"157.014983pt\" height=\"140.649658pt\" viewBox=\"0 0 157.014983 140.649658\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">\n <metadata>\n  <rdf:RDF xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\n   <cc:Work>\n    <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\n    <dc:date>2025-11-02T16:00:59.359192</dc:date>\n    <dc:format>image/svg+xml</dc:format>\n    <dc:creator>\n     <cc:Agent>\n      <dc:title>Matplotlib v3.10.6, https://matplotlib.org/</dc:title>\n     </cc:Agent>\n    </dc:creator>\n   </cc:Work>\n  </rdf:RDF>\n </metadata>\n <defs>\n  <style type=\"text/css\">*{stroke-linejoin: round; stroke-linecap: butt}</style>\n </defs>\n <g id=\"figure_1\">\n  <g id=\"patch_1\">\n   <path d=\"M 0 140.649658 \nL 157.014983 140.649658 \nL 157.014983 0 \nL 0 0 \nz\n\" style=\"fill: #ffffff\"/>\n  </g>\n  <g id=\"axes_1\">\n   <g id=\"line2d_1\">\n    <path d=\"M 105.394178 70.324829 \nL 105.323572 68.100593 \nL 105.112039 65.885314 \nL 104.760429 63.687911 \nL 104.27016 61.517232 \nL 103.643205 59.382019 \nL 102.882088 57.290868 \nL 101.989875 55.252201 \nL 100.970158 53.274226 \nL 99.827043 51.364907 \nL 98.565133 49.531934 \nL 97.189509 47.782686 \nL 95.705711 46.124207 \nL 94.119712 44.563176 \nL 92.437901 43.105877 \nL 90.667047 41.75818 \nL 88.814283 40.525511 \nL 86.887068 39.412833 \nL 84.893163 38.424627 \nL 82.840596 37.564871 \nL 80.737633 36.837029 \nL 78.592741 36.244029 \nL 76.414557 35.788262 \nL 74.211852 35.471561 \nL 71.993496 35.295201 \nL 69.76842 35.259894 \nL 67.545584 35.36578 \nL 65.33394 35.612435 \nL 63.142392 35.998864 \nL 60.979766 36.523511 \nL 58.854768 37.184265 \nL 56.775957 37.978464 \nL 54.751702 38.90291 \nL 52.790154 39.953881 \nL 50.899213 41.127146 \nL 49.086491 42.417979 \nL 47.359289 43.821183 \nL 45.724561 45.331108 \nL 44.188889 46.941674 \nL 42.758458 48.646395 \nL 41.439027 50.438408 \nL 40.235909 52.310497 \nL 39.153948 54.255123 \nL 38.197501 56.264456 \nL 37.37042 58.330405 \nL 36.676035 60.444651 \nL 36.117141 62.598682 \nL 35.695989 64.783823 \nL 35.414276 66.991275 \nL 35.273135 69.212151 \nL 35.273135 71.437507 \nL 35.414276 73.658382 \nL 35.695989 75.865835 \nL 36.117141 78.050976 \nL 36.676035 80.205006 \nL 37.37042 82.319253 \nL 38.197501 84.385202 \nL 39.153948 86.394535 \nL 40.235909 88.339161 \nL 41.439027 90.211249 \nL 42.758458 92.003262 \nL 44.188889 93.707984 \nL 45.724561 95.31855 \nL 47.359289 96.828475 \nL 49.086491 98.231679 \nL 50.899213 99.522512 \nL 52.790154 100.695776 \nL 54.751702 101.746747 \nL 56.775957 102.671194 \nL 58.854768 103.465393 \nL 60.979766 104.126146 \nL 63.142392 104.650794 \nL 65.33394 105.037223 \nL 67.545584 105.283877 \nL 69.76842 105.389764 \nL 71.993496 105.354456 \nL 74.211852 105.178097 \nL 76.414557 104.861396 \nL 78.592741 104.405628 \nL 80.737633 103.812629 \nL 82.840596 103.084786 \nL 84.893163 102.225031 \nL 86.887068 101.236825 \nL 88.814283 100.124147 \nL 90.667047 98.891477 \nL 92.437901 97.54378 \nL 94.119712 96.086482 \nL 95.705711 94.525451 \nL 97.189509 92.866972 \nL 98.565133 91.117724 \nL 99.827043 89.28475 \nL 100.970158 87.375432 \nL 101.989875 85.397457 \nL 102.882088 83.358789 \nL 103.643205 81.267639 \nL 104.27016 79.132425 \nL 104.760429 76.961747 \nL 105.112039 74.764344 \nL 105.323572 72.549064 \nL 105.394178 70.324829 \n\" clip-path=\"url(#pca1061ef0f)\" style=\"fill: none; stroke: #000000; stroke-width: 1.5; stroke-linecap: square\"/>\n   </g>\n   <g id=\"line2d_2\">\n    <path d=\"M 119.421918 70.324829 \nL 119.32307 67.210899 \nL 119.026923 64.109508 \nL 118.534669 61.033144 \nL 117.848292 57.994194 \nL 116.970555 55.004895 \nL 115.904992 52.077284 \nL 114.655893 49.22315 \nL 113.228289 46.453984 \nL 111.627928 43.780938 \nL 109.861254 41.214775 \nL 107.935381 38.765828 \nL 105.858063 36.443958 \nL 103.637666 34.258514 \nL 101.283129 32.218297 \nL 98.803935 30.331521 \nL 96.210065 28.605784 \nL 93.511964 27.048035 \nL 90.720497 25.664546 \nL 87.846903 24.460888 \nL 84.902755 23.441908 \nL 81.899906 22.61171 \nL 78.850449 21.973635 \nL 75.766662 21.530253 \nL 72.660962 21.28335 \nL 69.545856 21.23392 \nL 66.433887 21.382161 \nL 63.337584 21.727477 \nL 60.269418 22.268478 \nL 57.24174 23.002984 \nL 54.266744 23.928039 \nL 51.356408 25.039918 \nL 48.522451 26.334143 \nL 45.776284 27.805502 \nL 43.128966 29.448072 \nL 40.591156 31.255239 \nL 38.173073 33.219725 \nL 35.884454 35.33362 \nL 33.734514 37.588412 \nL 31.73191 39.975022 \nL 29.884706 42.48384 \nL 28.200341 45.104764 \nL 26.685596 47.82724 \nL 25.34657 50.640307 \nL 24.188656 53.532635 \nL 23.216517 56.49258 \nL 22.434066 59.508223 \nL 21.844454 62.56742 \nL 21.450055 65.657854 \nL 21.252458 68.76708 \nL 21.252458 71.882578 \nL 21.450055 74.991804 \nL 21.844454 78.082237 \nL 22.434066 81.141435 \nL 23.216517 84.157077 \nL 24.188656 87.117022 \nL 25.34657 90.009351 \nL 26.685596 92.822417 \nL 28.200341 95.544893 \nL 29.884706 98.165817 \nL 31.73191 100.674636 \nL 33.734514 103.061246 \nL 35.884454 105.316038 \nL 38.173073 107.429933 \nL 40.591156 109.394419 \nL 43.128966 111.201585 \nL 45.776284 112.844155 \nL 48.522451 114.315515 \nL 51.356408 115.60974 \nL 54.266744 116.721618 \nL 57.24174 117.646673 \nL 60.269418 118.38118 \nL 63.337584 118.92218 \nL 66.433887 119.267496 \nL 69.545856 119.415738 \nL 72.660962 119.366307 \nL 75.766662 119.119404 \nL 78.850449 118.676023 \nL 81.899906 118.037948 \nL 84.902755 117.207749 \nL 87.846903 116.188769 \nL 90.720497 114.985112 \nL 93.511964 113.601623 \nL 96.210065 112.043874 \nL 98.803935 110.318137 \nL 101.283129 108.431361 \nL 103.637666 106.391143 \nL 105.858063 104.205699 \nL 107.935381 101.883829 \nL 109.861254 99.434882 \nL 111.627928 96.868719 \nL 113.228289 94.195673 \nL 114.655893 91.426508 \nL 115.904992 88.572373 \nL 116.970555 85.644763 \nL 117.848292 82.655464 \nL 118.534669 79.616514 \nL 119.026923 76.54015 \nL 119.32307 73.438759 \nL 119.421918 70.324829 \n\" clip-path=\"url(#pca1061ef0f)\" style=\"fill: none; stroke: #000000; stroke-width: 1.5; stroke-linecap: square\"/>\n   </g>\n   <g id=\"line2d_3\">\n    <path d=\"M 70.324829 70.324829 \nL 87.859503 39.953881 \nL 94.873373 27.805502 \n\" clip-path=\"url(#pca1061ef0f)\" style=\"fill: none; stroke: #000000; stroke-width: 1.5; stroke-linecap: square\"/>\n   </g>\n   <g id=\"line2d_4\">\n    <defs>\n     <path id=\"ma911701b4f\" d=\"M 0 1.5 \nC 0.397805 1.5 0.77937 1.341951 1.06066 1.06066 \nC 1.341951 0.77937 1.5 0.397805 1.5 0 \nC 1.5 -0.397805 1.341951 -0.77937 1.06066 -1.06066 \nC 0.77937 -1.341951 0.397805 -1.5 0 -1.5 \nC -0.397805 -1.5 -0.77937 -1.341951 -1.06066 -1.06066 \nC -1.341951 -0.77937 -1.5 -0.397805 -1.5 0 \nC -1.5 0.397805 -1.341951 0.77937 -1.06066 1.06066 \nC -0.77937 1.341951 -0.397805 1.5 0 1.5 \nz\n\" style=\"stroke: #000000\"/>\n    </defs>\n    <g clip-path=\"url(#pca1061ef0f)\">\n     <use xlink:href=\"#ma911701b4f\" x=\"70.324829\" y=\"70.324829\" style=\"stroke: #000000\"/>\n     <use xlink:href=\"#ma911701b4f\" x=\"87.859503\" y=\"39.953881\" style=\"stroke: #000000\"/>\n     <use xlink:href=\"#ma911701b4f\" x=\"94.873373\" y=\"27.805502\" style=\"stroke: #000000\"/>\n    </g>\n   </g>\n   <g id=\"patch_2\">\n    <path d=\"M 104.276144 70.324829 \nQ 100.133776 70.324829 94.873373 70.324829 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n    <path d=\"M 100.276144 68.324829 \nL 104.276144 70.324829 \nL 100.276144 72.324829 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"patch_3\">\n    <path d=\"M 94.332034 46.317623 \nQ 91.402937 49.24672 87.683271 52.966386 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n    <path d=\"M 90.089393 47.731837 \nL 94.332034 46.317623 \nL 92.917821 50.560264 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"patch_4\">\n    <path d=\"M 70.324829 36.373513 \nQ 70.324829 40.515882 70.324829 45.776284 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n    <path d=\"M 68.324829 40.373513 \nL 70.324829 36.373513 \nL 72.324829 40.373513 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"patch_5\">\n    <path d=\"M 46.317623 46.317623 \nQ 49.24672 49.24672 52.966386 52.966386 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n    <path d=\"M 47.731837 50.560264 \nL 46.317623 46.317623 \nL 50.560264 47.731837 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"patch_6\">\n    <path d=\"M 36.373513 70.324829 \nQ 40.515882 70.324829 45.776284 70.324829 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n    <path d=\"M 40.373513 72.324829 \nL 36.373513 70.324829 \nL 40.373513 68.324829 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"patch_7\">\n    <path d=\"M 46.317623 94.332034 \nQ 49.24672 91.402937 52.966386 87.683271 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n    <path d=\"M 50.560264 92.917821 \nL 46.317623 94.332034 \nL 47.731837 90.089393 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"patch_8\">\n    <path d=\"M 70.324829 104.276144 \nQ 70.324829 100.133776 70.324829 94.873373 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n    <path d=\"M 72.324829 100.276144 \nL 70.324829 104.276144 \nL 68.324829 100.276144 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"patch_9\">\n    <path d=\"M 94.332034 94.332034 \nQ 91.402937 91.402937 87.683271 87.683271 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n    <path d=\"M 92.917821 90.089393 \nL 94.332034 94.332034 \nL 90.089393 92.917821 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"patch_10\">\n    <path d=\"M 132.331624 70.324829 \nQ 126.435788 70.324829 119.421918 70.324829 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n    <path d=\"M 128.331624 68.324829 \nL 132.331624 70.324829 \nL 128.331624 72.324829 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"patch_11\">\n    <path d=\"M 114.170254 26.479404 \nQ 110.001268 30.648389 105.041713 35.607944 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n    <path d=\"M 109.927613 27.893617 \nL 114.170254 26.479404 \nL 112.75604 30.722044 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"patch_12\">\n    <path d=\"M 70.324829 8.318034 \nQ 70.324829 14.21387 70.324829 21.22774 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n    <path d=\"M 68.324829 12.318034 \nL 70.324829 8.318034 \nL 72.324829 12.318034 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"patch_13\">\n    <path d=\"M 26.479404 26.479404 \nQ 30.648389 30.648389 35.607944 35.607944 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n    <path d=\"M 27.893617 30.722044 \nL 26.479404 26.479404 \nL 30.722044 27.893617 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"patch_14\">\n    <path d=\"M 8.318034 70.324829 \nQ 14.21387 70.324829 21.22774 70.324829 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n    <path d=\"M 12.318034 72.324829 \nL 8.318034 70.324829 \nL 12.318034 68.324829 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"patch_15\">\n    <path d=\"M 26.479404 114.170254 \nQ 30.648389 110.001268 35.607944 105.041713 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n    <path d=\"M 30.722044 112.75604 \nL 26.479404 114.170254 \nL 27.893617 109.927613 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"patch_16\">\n    <path d=\"M 70.324829 132.331624 \nQ 70.324829 126.435788 70.324829 119.421918 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n    <path d=\"M 72.324829 128.331624 \nL 70.324829 132.331624 \nL 68.324829 128.331624 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"patch_17\">\n    <path d=\"M 114.170254 114.170254 \nQ 110.001268 110.001268 105.041713 105.041713 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n    <path d=\"M 112.75604 109.927613 \nL 114.170254 114.170254 \nL 109.927613 112.75604 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"text_1\">\n    <!-- $Q_r|_r$ -->\n    <g transform=\"translate(73.831764 84.352569) scale(0.1 -0.1)\">\n     <defs>\n      <path id=\"DejaVuSans-Oblique-51\" d=\"M 2309 -84 \nQ 2275 -88 2237 -89 \nQ 2200 -91 2125 -91 \nQ 1250 -91 756 411 \nQ 263 913 263 1797 \nQ 263 2319 452 2844 \nQ 641 3369 978 3788 \nQ 1369 4269 1858 4509 \nQ 2347 4750 2938 4750 \nQ 3794 4750 4287 4245 \nQ 4781 3741 4781 2869 \nQ 4781 1928 4265 1147 \nQ 3750 366 2919 44 \nL 3553 -825 \nL 2847 -825 \nL 2309 -84 \nz\nM 2919 4238 \nQ 2400 4238 2003 3986 \nQ 1606 3734 1313 3219 \nQ 1125 2891 1026 2522 \nQ 928 2153 928 1778 \nQ 928 1128 1239 775 \nQ 1550 422 2119 422 \nQ 2631 422 3032 676 \nQ 3434 931 3719 1434 \nQ 3909 1772 4009 2142 \nQ 4109 2513 4109 2881 \nQ 4109 3528 3796 3883 \nQ 3484 4238 2919 4238 \nz\n\" transform=\"scale(0.015625)\"/>\n      <path id=\"DejaVuSans-Oblique-72\" d=\"M 2853 2969 \nQ 2766 3016 2653 3041 \nQ 2541 3066 2413 3066 \nQ 1953 3066 1609 2717 \nQ 1266 2369 1153 1784 \nL 800 0 \nL 225 0 \nL 909 3500 \nL 1484 3500 \nL 1375 2956 \nQ 1603 3259 1920 3421 \nQ 2238 3584 2597 3584 \nQ 2691 3584 2781 3573 \nQ 2872 3563 2963 3538 \nL 2853 2969 \nz\n\" transform=\"scale(0.015625)\"/>\n      <path id=\"DejaVuSans-7c\" d=\"M 1344 4891 \nL 1344 -1509 \nL 813 -1509 \nL 813 4891 \nL 1344 4891 \nz\n\" transform=\"scale(0.015625)\"/>\n     </defs>\n     <use xlink:href=\"#DejaVuSans-Oblique-51\" transform=\"translate(0 0.578125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-72\" transform=\"translate(78.710938 -15.828125) scale(0.7)\"/>\n     <use xlink:href=\"#DejaVuSans-7c\" transform=\"translate(110.224609 0.578125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-72\" transform=\"translate(144.873047 -15.828125) scale(0.7)\"/>\n    </g>\n   </g>\n   <g id=\"text_2\">\n    <!-- $Q_r|_{r + \\Delta r}$ -->\n    <g transform=\"translate(115.914983 112.408048) scale(0.1 -0.1)\">\n     <defs>\n      <path id=\"DejaVuSans-2b\" d=\"M 2944 4013 \nL 2944 2272 \nL 4684 2272 \nL 4684 1741 \nL 2944 1741 \nL 2944 0 \nL 2419 0 \nL 2419 1741 \nL 678 1741 \nL 678 2272 \nL 2419 2272 \nL 2419 4013 \nL 2944 4013 \nz\n\" transform=\"scale(0.015625)\"/>\n      <path id=\"DejaVuSans-394\" d=\"M 2188 4044 \nL 906 525 \nL 3472 525 \nL 2188 4044 \nz\nM 50 0 \nL 1831 4666 \nL 2547 4666 \nL 4325 0 \nL 50 0 \nz\n\" transform=\"scale(0.015625)\"/>\n     </defs>\n     <use xlink:href=\"#DejaVuSans-Oblique-51\" transform=\"translate(0 0.578125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-72\" transform=\"translate(78.710938 -15.828125) scale(0.7)\"/>\n     <use xlink:href=\"#DejaVuSans-7c\" transform=\"translate(110.224609 0.578125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-72\" transform=\"translate(144.873047 -15.828125) scale(0.7)\"/>\n     <use xlink:href=\"#DejaVuSans-2b\" transform=\"translate(187.290039 -15.828125) scale(0.7)\"/>\n     <use xlink:href=\"#DejaVuSans-394\" transform=\"translate(259.580078 -15.828125) scale(0.7)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-72\" transform=\"translate(307.46582 -15.828125) scale(0.7)\"/>\n    </g>\n   </g>\n   <g id=\"text_3\">\n    <!-- $r$ -->\n    <g transform=\"translate(72.078296 56.297089) scale(0.1 -0.1)\">\n     <use xlink:href=\"#DejaVuSans-Oblique-72\"/>\n    </g>\n   </g>\n   <g id=\"text_4\">\n    <!-- $\\Delta r$ -->\n    <g transform=\"translate(77.338699 33.502012) scale(0.1 -0.1)\">\n     <use xlink:href=\"#DejaVuSans-394\" transform=\"translate(0 0.09375)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-72\" transform=\"translate(68.408203 0.09375)\"/>\n    </g>\n   </g>\n  </g>\n </g>\n <defs>\n  <clipPath id=\"pca1061ef0f\">\n   <rect x=\"16.343985\" y=\"16.324829\" width=\"107.986406\" height=\"108\"/>\n  </clipPath>\n </defs>\n</svg>\n",
      "application/papermill.record/text/plain": "<Figure size 1500x750 with 1 Axes>"
     },
     "metadata": {
      "scrapbook": {
       "mime_prefix": "application/papermill.record/",
       "name": "fig_radial"
      }
     },
     "output_type": "display_data"
    },
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       "  \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"157.014983pt\" height=\"140.649658pt\" viewBox=\"0 0 157.014983 140.649658\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">\n",
       " <metadata>\n",
       "  <rdf:RDF xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\n",
       "   <cc:Work>\n",
       "    <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\n",
       "    <dc:date>2025-11-02T16:00:59.525389</dc:date>\n",
       "    <dc:format>image/svg+xml</dc:format>\n",
       "    <dc:creator>\n",
       "     <cc:Agent>\n",
       "      <dc:title>Matplotlib v3.10.6, https://matplotlib.org/</dc:title>\n",
       "     </cc:Agent>\n",
       "    </dc:creator>\n",
       "   </cc:Work>\n",
       "  </rdf:RDF>\n",
       " </metadata>\n",
       " <defs>\n",
       "  <style type=\"text/css\">*{stroke-linejoin: round; stroke-linecap: butt}</style>\n",
       " </defs>\n",
       " <g id=\"figure_1\">\n",
       "  <g id=\"patch_1\">\n",
       "   <path d=\"M 0 140.649658 \n",
       "L 157.014983 140.649658 \n",
       "L 157.014983 0 \n",
       "L 0 0 \n",
       "z\n",
       "\" style=\"fill: #ffffff\"/>\n",
       "  </g>\n",
       "  <g id=\"axes_1\">\n",
       "   <g id=\"line2d_1\">\n",
       "    <path d=\"M 105.394178 70.324829 \n",
       "L 105.323572 68.100593 \n",
       "L 105.112039 65.885314 \n",
       "L 104.760429 63.687911 \n",
       "L 104.27016 61.517232 \n",
       "L 103.643205 59.382019 \n",
       "L 102.882088 57.290868 \n",
       "L 101.989875 55.252201 \n",
       "L 100.970158 53.274226 \n",
       "L 99.827043 51.364907 \n",
       "L 98.565133 49.531934 \n",
       "L 97.189509 47.782686 \n",
       "L 95.705711 46.124207 \n",
       "L 94.119712 44.563176 \n",
       "L 92.437901 43.105877 \n",
       "L 90.667047 41.75818 \n",
       "L 88.814283 40.525511 \n",
       "L 86.887068 39.412833 \n",
       "L 84.893163 38.424627 \n",
       "L 82.840596 37.564871 \n",
       "L 80.737633 36.837029 \n",
       "L 78.592741 36.244029 \n",
       "L 76.414557 35.788262 \n",
       "L 74.211852 35.471561 \n",
       "L 71.993496 35.295201 \n",
       "L 69.76842 35.259894 \n",
       "L 67.545584 35.36578 \n",
       "L 65.33394 35.612435 \n",
       "L 63.142392 35.998864 \n",
       "L 60.979766 36.523511 \n",
       "L 58.854768 37.184265 \n",
       "L 56.775957 37.978464 \n",
       "L 54.751702 38.90291 \n",
       "L 52.790154 39.953881 \n",
       "L 50.899213 41.127146 \n",
       "L 49.086491 42.417979 \n",
       "L 47.359289 43.821183 \n",
       "L 45.724561 45.331108 \n",
       "L 44.188889 46.941674 \n",
       "L 42.758458 48.646395 \n",
       "L 41.439027 50.438408 \n",
       "L 40.235909 52.310497 \n",
       "L 39.153948 54.255123 \n",
       "L 38.197501 56.264456 \n",
       "L 37.37042 58.330405 \n",
       "L 36.676035 60.444651 \n",
       "L 36.117141 62.598682 \n",
       "L 35.695989 64.783823 \n",
       "L 35.414276 66.991275 \n",
       "L 35.273135 69.212151 \n",
       "L 35.273135 71.437507 \n",
       "L 35.414276 73.658382 \n",
       "L 35.695989 75.865835 \n",
       "L 36.117141 78.050976 \n",
       "L 36.676035 80.205006 \n",
       "L 37.37042 82.319253 \n",
       "L 38.197501 84.385202 \n",
       "L 39.153948 86.394535 \n",
       "L 40.235909 88.339161 \n",
       "L 41.439027 90.211249 \n",
       "L 42.758458 92.003262 \n",
       "L 44.188889 93.707984 \n",
       "L 45.724561 95.31855 \n",
       "L 47.359289 96.828475 \n",
       "L 49.086491 98.231679 \n",
       "L 50.899213 99.522512 \n",
       "L 52.790154 100.695776 \n",
       "L 54.751702 101.746747 \n",
       "L 56.775957 102.671194 \n",
       "L 58.854768 103.465393 \n",
       "L 60.979766 104.126146 \n",
       "L 63.142392 104.650794 \n",
       "L 65.33394 105.037223 \n",
       "L 67.545584 105.283877 \n",
       "L 69.76842 105.389764 \n",
       "L 71.993496 105.354456 \n",
       "L 74.211852 105.178097 \n",
       "L 76.414557 104.861396 \n",
       "L 78.592741 104.405628 \n",
       "L 80.737633 103.812629 \n",
       "L 82.840596 103.084786 \n",
       "L 84.893163 102.225031 \n",
       "L 86.887068 101.236825 \n",
       "L 88.814283 100.124147 \n",
       "L 90.667047 98.891477 \n",
       "L 92.437901 97.54378 \n",
       "L 94.119712 96.086482 \n",
       "L 95.705711 94.525451 \n",
       "L 97.189509 92.866972 \n",
       "L 98.565133 91.117724 \n",
       "L 99.827043 89.28475 \n",
       "L 100.970158 87.375432 \n",
       "L 101.989875 85.397457 \n",
       "L 102.882088 83.358789 \n",
       "L 103.643205 81.267639 \n",
       "L 104.27016 79.132425 \n",
       "L 104.760429 76.961747 \n",
       "L 105.112039 74.764344 \n",
       "L 105.323572 72.549064 \n",
       "L 105.394178 70.324829 \n",
       "\" clip-path=\"url(#p717b386e30)\" style=\"fill: none; stroke: #000000; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_2\">\n",
       "    <path d=\"M 119.421918 70.324829 \n",
       "L 119.32307 67.210899 \n",
       "L 119.026923 64.109508 \n",
       "L 118.534669 61.033144 \n",
       "L 117.848292 57.994194 \n",
       "L 116.970555 55.004895 \n",
       "L 115.904992 52.077284 \n",
       "L 114.655893 49.22315 \n",
       "L 113.228289 46.453984 \n",
       "L 111.627928 43.780938 \n",
       "L 109.861254 41.214775 \n",
       "L 107.935381 38.765828 \n",
       "L 105.858063 36.443958 \n",
       "L 103.637666 34.258514 \n",
       "L 101.283129 32.218297 \n",
       "L 98.803935 30.331521 \n",
       "L 96.210065 28.605784 \n",
       "L 93.511964 27.048035 \n",
       "L 90.720497 25.664546 \n",
       "L 87.846903 24.460888 \n",
       "L 84.902755 23.441908 \n",
       "L 81.899906 22.61171 \n",
       "L 78.850449 21.973635 \n",
       "L 75.766662 21.530253 \n",
       "L 72.660962 21.28335 \n",
       "L 69.545856 21.23392 \n",
       "L 66.433887 21.382161 \n",
       "L 63.337584 21.727477 \n",
       "L 60.269418 22.268478 \n",
       "L 57.24174 23.002984 \n",
       "L 54.266744 23.928039 \n",
       "L 51.356408 25.039918 \n",
       "L 48.522451 26.334143 \n",
       "L 45.776284 27.805502 \n",
       "L 43.128966 29.448072 \n",
       "L 40.591156 31.255239 \n",
       "L 38.173073 33.219725 \n",
       "L 35.884454 35.33362 \n",
       "L 33.734514 37.588412 \n",
       "L 31.73191 39.975022 \n",
       "L 29.884706 42.48384 \n",
       "L 28.200341 45.104764 \n",
       "L 26.685596 47.82724 \n",
       "L 25.34657 50.640307 \n",
       "L 24.188656 53.532635 \n",
       "L 23.216517 56.49258 \n",
       "L 22.434066 59.508223 \n",
       "L 21.844454 62.56742 \n",
       "L 21.450055 65.657854 \n",
       "L 21.252458 68.76708 \n",
       "L 21.252458 71.882578 \n",
       "L 21.450055 74.991804 \n",
       "L 21.844454 78.082237 \n",
       "L 22.434066 81.141435 \n",
       "L 23.216517 84.157077 \n",
       "L 24.188656 87.117022 \n",
       "L 25.34657 90.009351 \n",
       "L 26.685596 92.822417 \n",
       "L 28.200341 95.544893 \n",
       "L 29.884706 98.165817 \n",
       "L 31.73191 100.674636 \n",
       "L 33.734514 103.061246 \n",
       "L 35.884454 105.316038 \n",
       "L 38.173073 107.429933 \n",
       "L 40.591156 109.394419 \n",
       "L 43.128966 111.201585 \n",
       "L 45.776284 112.844155 \n",
       "L 48.522451 114.315515 \n",
       "L 51.356408 115.60974 \n",
       "L 54.266744 116.721618 \n",
       "L 57.24174 117.646673 \n",
       "L 60.269418 118.38118 \n",
       "L 63.337584 118.92218 \n",
       "L 66.433887 119.267496 \n",
       "L 69.545856 119.415738 \n",
       "L 72.660962 119.366307 \n",
       "L 75.766662 119.119404 \n",
       "L 78.850449 118.676023 \n",
       "L 81.899906 118.037948 \n",
       "L 84.902755 117.207749 \n",
       "L 87.846903 116.188769 \n",
       "L 90.720497 114.985112 \n",
       "L 93.511964 113.601623 \n",
       "L 96.210065 112.043874 \n",
       "L 98.803935 110.318137 \n",
       "L 101.283129 108.431361 \n",
       "L 103.637666 106.391143 \n",
       "L 105.858063 104.205699 \n",
       "L 107.935381 101.883829 \n",
       "L 109.861254 99.434882 \n",
       "L 111.627928 96.868719 \n",
       "L 113.228289 94.195673 \n",
       "L 114.655893 91.426508 \n",
       "L 115.904992 88.572373 \n",
       "L 116.970555 85.644763 \n",
       "L 117.848292 82.655464 \n",
       "L 118.534669 79.616514 \n",
       "L 119.026923 76.54015 \n",
       "L 119.32307 73.438759 \n",
       "L 119.421918 70.324829 \n",
       "\" clip-path=\"url(#p717b386e30)\" style=\"fill: none; stroke: #000000; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_3\">\n",
       "    <path d=\"M 70.324829 70.324829 \n",
       "L 87.859503 39.953881 \n",
       "L 94.873373 27.805502 \n",
       "\" clip-path=\"url(#p717b386e30)\" style=\"fill: none; stroke: #000000; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_4\">\n",
       "    <defs>\n",
       "     <path id=\"m10edb36f9a\" d=\"M 0 1.5 \n",
       "C 0.397805 1.5 0.77937 1.341951 1.06066 1.06066 \n",
       "C 1.341951 0.77937 1.5 0.397805 1.5 0 \n",
       "C 1.5 -0.397805 1.341951 -0.77937 1.06066 -1.06066 \n",
       "C 0.77937 -1.341951 0.397805 -1.5 0 -1.5 \n",
       "C -0.397805 -1.5 -0.77937 -1.341951 -1.06066 -1.06066 \n",
       "C -1.341951 -0.77937 -1.5 -0.397805 -1.5 0 \n",
       "C -1.5 0.397805 -1.341951 0.77937 -1.06066 1.06066 \n",
       "C -0.77937 1.341951 -0.397805 1.5 0 1.5 \n",
       "z\n",
       "\" style=\"stroke: #000000\"/>\n",
       "    </defs>\n",
       "    <g clip-path=\"url(#p717b386e30)\">\n",
       "     <use xlink:href=\"#m10edb36f9a\" x=\"70.324829\" y=\"70.324829\" style=\"stroke: #000000\"/>\n",
       "     <use xlink:href=\"#m10edb36f9a\" x=\"87.859503\" y=\"39.953881\" style=\"stroke: #000000\"/>\n",
       "     <use xlink:href=\"#m10edb36f9a\" x=\"94.873373\" y=\"27.805502\" style=\"stroke: #000000\"/>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"patch_2\">\n",
       "    <path d=\"M 104.276144 70.324829 \n",
       "Q 100.133776 70.324829 94.873373 70.324829 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "    <path d=\"M 100.276144 68.324829 \n",
       "L 104.276144 70.324829 \n",
       "L 100.276144 72.324829 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_3\">\n",
       "    <path d=\"M 94.332034 46.317623 \n",
       "Q 91.402937 49.24672 87.683271 52.966386 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "    <path d=\"M 90.089393 47.731837 \n",
       "L 94.332034 46.317623 \n",
       "L 92.917821 50.560264 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_4\">\n",
       "    <path d=\"M 70.324829 36.373513 \n",
       "Q 70.324829 40.515882 70.324829 45.776284 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "    <path d=\"M 68.324829 40.373513 \n",
       "L 70.324829 36.373513 \n",
       "L 72.324829 40.373513 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_5\">\n",
       "    <path d=\"M 46.317623 46.317623 \n",
       "Q 49.24672 49.24672 52.966386 52.966386 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "    <path d=\"M 47.731837 50.560264 \n",
       "L 46.317623 46.317623 \n",
       "L 50.560264 47.731837 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_6\">\n",
       "    <path d=\"M 36.373513 70.324829 \n",
       "Q 40.515882 70.324829 45.776284 70.324829 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "    <path d=\"M 40.373513 72.324829 \n",
       "L 36.373513 70.324829 \n",
       "L 40.373513 68.324829 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_7\">\n",
       "    <path d=\"M 46.317623 94.332034 \n",
       "Q 49.24672 91.402937 52.966386 87.683271 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "    <path d=\"M 50.560264 92.917821 \n",
       "L 46.317623 94.332034 \n",
       "L 47.731837 90.089393 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_8\">\n",
       "    <path d=\"M 70.324829 104.276144 \n",
       "Q 70.324829 100.133776 70.324829 94.873373 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "    <path d=\"M 72.324829 100.276144 \n",
       "L 70.324829 104.276144 \n",
       "L 68.324829 100.276144 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_9\">\n",
       "    <path d=\"M 94.332034 94.332034 \n",
       "Q 91.402937 91.402937 87.683271 87.683271 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "    <path d=\"M 92.917821 90.089393 \n",
       "L 94.332034 94.332034 \n",
       "L 90.089393 92.917821 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_10\">\n",
       "    <path d=\"M 132.331624 70.324829 \n",
       "Q 126.435788 70.324829 119.421918 70.324829 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "    <path d=\"M 128.331624 68.324829 \n",
       "L 132.331624 70.324829 \n",
       "L 128.331624 72.324829 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_11\">\n",
       "    <path d=\"M 114.170254 26.479404 \n",
       "Q 110.001268 30.648389 105.041713 35.607944 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "    <path d=\"M 109.927613 27.893617 \n",
       "L 114.170254 26.479404 \n",
       "L 112.75604 30.722044 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_12\">\n",
       "    <path d=\"M 70.324829 8.318034 \n",
       "Q 70.324829 14.21387 70.324829 21.22774 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "    <path d=\"M 68.324829 12.318034 \n",
       "L 70.324829 8.318034 \n",
       "L 72.324829 12.318034 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_13\">\n",
       "    <path d=\"M 26.479404 26.479404 \n",
       "Q 30.648389 30.648389 35.607944 35.607944 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "    <path d=\"M 27.893617 30.722044 \n",
       "L 26.479404 26.479404 \n",
       "L 30.722044 27.893617 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_14\">\n",
       "    <path d=\"M 8.318034 70.324829 \n",
       "Q 14.21387 70.324829 21.22774 70.324829 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "    <path d=\"M 12.318034 72.324829 \n",
       "L 8.318034 70.324829 \n",
       "L 12.318034 68.324829 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_15\">\n",
       "    <path d=\"M 26.479404 114.170254 \n",
       "Q 30.648389 110.001268 35.607944 105.041713 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "    <path d=\"M 30.722044 112.75604 \n",
       "L 26.479404 114.170254 \n",
       "L 27.893617 109.927613 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_16\">\n",
       "    <path d=\"M 70.324829 132.331624 \n",
       "Q 70.324829 126.435788 70.324829 119.421918 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "    <path d=\"M 72.324829 128.331624 \n",
       "L 70.324829 132.331624 \n",
       "L 68.324829 128.331624 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_17\">\n",
       "    <path d=\"M 114.170254 114.170254 \n",
       "Q 110.001268 110.001268 105.041713 105.041713 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "    <path d=\"M 112.75604 109.927613 \n",
       "L 114.170254 114.170254 \n",
       "L 109.927613 112.75604 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"text_1\">\n",
       "    <!-- $Q_r|_r$ -->\n",
       "    <g transform=\"translate(73.831764 84.352569) scale(0.1 -0.1)\">\n",
       "     <defs>\n",
       "      <path id=\"DejaVuSans-Oblique-51\" d=\"M 2309 -84 \n",
       "Q 2275 -88 2237 -89 \n",
       "Q 2200 -91 2125 -91 \n",
       "Q 1250 -91 756 411 \n",
       "Q 263 913 263 1797 \n",
       "Q 263 2319 452 2844 \n",
       "Q 641 3369 978 3788 \n",
       "Q 1369 4269 1858 4509 \n",
       "Q 2347 4750 2938 4750 \n",
       "Q 3794 4750 4287 4245 \n",
       "Q 4781 3741 4781 2869 \n",
       "Q 4781 1928 4265 1147 \n",
       "Q 3750 366 2919 44 \n",
       "L 3553 -825 \n",
       "L 2847 -825 \n",
       "L 2309 -84 \n",
       "z\n",
       "M 2919 4238 \n",
       "Q 2400 4238 2003 3986 \n",
       "Q 1606 3734 1313 3219 \n",
       "Q 1125 2891 1026 2522 \n",
       "Q 928 2153 928 1778 \n",
       "Q 928 1128 1239 775 \n",
       "Q 1550 422 2119 422 \n",
       "Q 2631 422 3032 676 \n",
       "Q 3434 931 3719 1434 \n",
       "Q 3909 1772 4009 2142 \n",
       "Q 4109 2513 4109 2881 \n",
       "Q 4109 3528 3796 3883 \n",
       "Q 3484 4238 2919 4238 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      <path id=\"DejaVuSans-Oblique-72\" d=\"M 2853 2969 \n",
       "Q 2766 3016 2653 3041 \n",
       "Q 2541 3066 2413 3066 \n",
       "Q 1953 3066 1609 2717 \n",
       "Q 1266 2369 1153 1784 \n",
       "L 800 0 \n",
       "L 225 0 \n",
       "L 909 3500 \n",
       "L 1484 3500 \n",
       "L 1375 2956 \n",
       "Q 1603 3259 1920 3421 \n",
       "Q 2238 3584 2597 3584 \n",
       "Q 2691 3584 2781 3573 \n",
       "Q 2872 3563 2963 3538 \n",
       "L 2853 2969 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      <path id=\"DejaVuSans-7c\" d=\"M 1344 4891 \n",
       "L 1344 -1509 \n",
       "L 813 -1509 \n",
       "L 813 4891 \n",
       "L 1344 4891 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "     </defs>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-51\" transform=\"translate(0 0.578125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-72\" transform=\"translate(78.710938 -15.828125) scale(0.7)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-7c\" transform=\"translate(110.224609 0.578125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-72\" transform=\"translate(144.873047 -15.828125) scale(0.7)\"/>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"text_2\">\n",
       "    <!-- $Q_r|_{r + \\Delta r}$ -->\n",
       "    <g transform=\"translate(115.914983 112.408048) scale(0.1 -0.1)\">\n",
       "     <defs>\n",
       "      <path id=\"DejaVuSans-2b\" d=\"M 2944 4013 \n",
       "L 2944 2272 \n",
       "L 4684 2272 \n",
       "L 4684 1741 \n",
       "L 2944 1741 \n",
       "L 2944 0 \n",
       "L 2419 0 \n",
       "L 2419 1741 \n",
       "L 678 1741 \n",
       "L 678 2272 \n",
       "L 2419 2272 \n",
       "L 2419 4013 \n",
       "L 2944 4013 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      <path id=\"DejaVuSans-394\" d=\"M 2188 4044 \n",
       "L 906 525 \n",
       "L 3472 525 \n",
       "L 2188 4044 \n",
       "z\n",
       "M 50 0 \n",
       "L 1831 4666 \n",
       "L 2547 4666 \n",
       "L 4325 0 \n",
       "L 50 0 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "     </defs>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-51\" transform=\"translate(0 0.578125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-72\" transform=\"translate(78.710938 -15.828125) scale(0.7)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-7c\" transform=\"translate(110.224609 0.578125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-72\" transform=\"translate(144.873047 -15.828125) scale(0.7)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-2b\" transform=\"translate(187.290039 -15.828125) scale(0.7)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-394\" transform=\"translate(259.580078 -15.828125) scale(0.7)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-72\" transform=\"translate(307.46582 -15.828125) scale(0.7)\"/>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"text_3\">\n",
       "    <!-- $r$ -->\n",
       "    <g transform=\"translate(72.078296 56.297089) scale(0.1 -0.1)\">\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-72\"/>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"text_4\">\n",
       "    <!-- $\\Delta r$ -->\n",
       "    <g transform=\"translate(77.338699 33.502012) scale(0.1 -0.1)\">\n",
       "     <use xlink:href=\"#DejaVuSans-394\" transform=\"translate(0 0.09375)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-72\" transform=\"translate(68.408203 0.09375)\"/>\n",
       "    </g>\n",
       "   </g>\n",
       "  </g>\n",
       " </g>\n",
       " <defs>\n",
       "  <clipPath id=\"p717b386e30\">\n",
       "   <rect x=\"16.343985\" y=\"16.324829\" width=\"107.986406\" height=\"108\"/>\n",
       "  </clipPath>\n",
       " </defs>\n",
       "</svg>\n"
      ],
      "text/plain": [
       "<Figure size 1500x750 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "fig_radial = diagrams_2d.continuityradial()\n",
    "glue(\"fig_radial\", fig_radial, display=False)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "```{glue:figure} fig_radial\n",
    "---\n",
    "name: fig_con_rad_sym6.0\n",
    "---\n",
    "Continuity of flow for radially symmetric flow.\n",
    "```"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "In radial coordinates there is no dependence on $\\theta$ so that the derivative with respect to $\\theta$ drops out and the partial derivatives become ordinary derivatives. \n",
    "<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In Chapters {numref}`%s <content:chap1:one_dim_flow>`–{numref}`%s <content:chap4:steady_1D_flow>`, the stream function was computed in the vertical plane for one-dimensional Dupuit–Forchheimer flow. Recharge entered the vertical plane through the boundaries, and flow in the vertical plane was divergence-free (Eq. {eq}`eq_vflowdeq1.2`). The lower case symbol $\\psi$ [L$^2$/T] was used for the stream function in the vertical plane.\n",
    "<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The stream function also exists for steady two-dimensional Dupuit-Forchheimer flow in the horizontal plane if the flow is divergence-free. In the horizontal plane, flow is divergence-free if the areal recharge $N$ equals zero\n",
    "\n",
    "$$\n",
    "\\frac{\\partial Q_x}{\\partial x} + \\frac{\\partial Q_y}{\\partial y} = 0\n",
    "$$(eq_div_free6.0)\n",
    "\n",
    "so that the discharge potential is governed by Laplace's equation\n",
    "\n",
    "$$\n",
    "\\nabla^2 \\Phi = 0\n",
    "$$(eq_laplace2d6.0)\n",
    "\n",
    "In the horizontal plane, the upper case symbol $\\Psi$ is used for the stream function, which has dimensions L$^3$/T.\n",
    "<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For two-dimensional flow in the horizontal plane, the components of the discharge vector can be obtained from the stream function, as is explained in the following. Recall that the stream function is defined by three characteristics: The stream function is a function that is constant along streamlines, the difference of the stream function values between two points is equal to the amount of water flowing between the two points, and the value of the stream function increases to the right when looking in the direction of flow. Consider points $A$, $B$, and $C$ shown in {numref}`Figure %s <fig_flow_between_points6.0>`. Water flows from left to right across $AB$. The component of the discharge vector normal to $AB$ is $Q_x$, the distance between $A$ and $B$ is $\\Delta y$, and the difference in the stream function between $A$ and $B$ is $\\Delta \\Psi$ so that\n",
    "\n",
    "$$\n",
    "Q_x \\Delta y = \\Delta \\Psi = \\Psi(x,y) - \\Psi(x, y + \\Delta y)\n",
    "$$(eq_Q_x_dy6.0)\n",
    "\n",
    "hence\n",
    "\n",
    "$$\n",
    "Q_x = -\\frac{\\Psi(x,y + \\Delta y) - \\Psi(x, y)}{\\Delta y} \n",
    "$$(eq_Q_x26.0)\n",
    "\n",
    "In the limit for $\\Delta y$ to zero, this gives\n",
    "\n",
    "$$\n",
    "Q_x= -\\frac{\\partial \\Psi}{\\partial y}\n",
    "$$(eq_Qxdef06.0)\n",
    "\n",
    "Similarly, water flows from bottom to top across $BC$. The component of the discharge vector normal to $BC$ is $Q_y$, the distance between $B$ and $C$ is $\\Delta x$, and the difference in the stream function between $B$ and $C$ is $\\Delta \\Psi$, so that\n",
    "\n",
    "$$\n",
    "Q_y \\Delta x = \\Delta \\Psi = \\Psi(x + \\Delta x,y) - \\Psi(x, y)\n",
    "$$(eq_Q_y_dx6.0)\n",
    "\n",
    "and hence \n",
    "\n",
    "$$\n",
    "Q_y = \\frac{\\partial \\Psi}{\\partial x}\n",
    "$$(eq_Qydef06.0)\n",
    "\n",
    "Comparison of Eqs. ({eq}`eq_Qxdef06.0`) and ({eq}`eq_Qydef06.0`) with Eq. ({eq}`eq_QxQy6.0`) gives\n",
    "\n",
    "$$\n",
    "&\\frac{\\partial \\Phi}{\\partial x} = \\frac{\\partial \\Psi}{\\partial y}\n",
    "\n",
    "&\\frac{\\partial \\Phi}{\\partial y} = -\\frac{\\partial \\Psi}{\\partial x}\n",
    "$$(eq_cauchyrieman6.0)\n",
    "\n",
    "This set of two equations is known as the Cauchy–Riemann conditions. Since the discharge potential and stream function fulfill the Cauchy–Riemann conditions, they can be combined into a complex potential, as is explained in {numref}`content:chap7.5:two_wells_uni_flow`."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "tags": [
     "remove-input",
     "remove-output"
    ]
   },
   "outputs": [
    {
     "data": {
      "application/papermill.record/image/svg+xml": "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n  \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n<svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"177.6pt\" height=\"100.8pt\" viewBox=\"0 0 177.6 100.8\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">\n <metadata>\n  <rdf:RDF xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\n   <cc:Work>\n    <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\n    <dc:date>2025-11-02T16:00:59.635947</dc:date>\n    <dc:format>image/svg+xml</dc:format>\n    <dc:creator>\n     <cc:Agent>\n      <dc:title>Matplotlib v3.10.6, https://matplotlib.org/</dc:title>\n     </cc:Agent>\n    </dc:creator>\n   </cc:Work>\n  </rdf:RDF>\n </metadata>\n <defs>\n  <style type=\"text/css\">*{stroke-linejoin: round; stroke-linecap: butt}</style>\n </defs>\n <g id=\"figure_1\">\n  <g id=\"patch_1\">\n   <path d=\"M 0 100.8 \nL 177.6 100.8 \nL 177.6 0 \nL 0 0 \nz\n\" style=\"fill: #ffffff\"/>\n  </g>\n  <g id=\"axes_1\">\n   <g id=\"patch_2\">\n    <path d=\"M 7.2 93.6 \nL 170.4 93.6 \nL 170.4 7.2 \nL 7.2 7.2 \nz\n\" style=\"fill: #ffffff\"/>\n   </g>\n   <g id=\"matplotlib.axis_1\"/>\n   <g id=\"matplotlib.axis_2\"/>\n   <g id=\"line2d_1\">\n    <defs>\n     <path id=\"m8b4bcbeedf\" d=\"M 0 1.5 \nC 0.397805 1.5 0.77937 1.341951 1.06066 1.06066 \nC 1.341951 0.77937 1.5 0.397805 1.5 0 \nC 1.5 -0.397805 1.341951 -0.77937 1.06066 -1.06066 \nC 0.77937 -1.341951 0.397805 -1.5 0 -1.5 \nC -0.397805 -1.5 -0.77937 -1.341951 -1.06066 -1.06066 \nC -1.341951 -0.77937 -1.5 -0.397805 -1.5 0 \nC -1.5 0.397805 -1.341951 0.77937 -1.06066 1.06066 \nC -0.77937 1.341951 -0.397805 1.5 0 1.5 \nz\n\" style=\"stroke: #000000\"/>\n    </defs>\n    <g clip-path=\"url(#pe699cd1b16)\">\n     <use xlink:href=\"#m8b4bcbeedf\" x=\"40.8\" y=\"26.4\" style=\"stroke: #000000\"/>\n     <use xlink:href=\"#m8b4bcbeedf\" x=\"40.8\" y=\"74.4\" style=\"stroke: #000000\"/>\n     <use xlink:href=\"#m8b4bcbeedf\" x=\"136.8\" y=\"74.4\" style=\"stroke: #000000\"/>\n    </g>\n   </g>\n   <g id=\"patch_3\">\n    <path d=\"M 7.2 93.6 \nL 7.2 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_4\">\n    <path d=\"M 170.4 93.6 \nL 170.4 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_5\">\n    <path d=\"M 7.2 93.6 \nL 170.4 93.6 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_6\">\n    <path d=\"M 7.2 7.2 \nL 170.4 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"text_1\">\n    <!-- A -->\n    <g transform=\"translate(37.379688 21.6) scale(0.1 -0.1)\">\n     <defs>\n      <path id=\"DejaVuSans-41\" d=\"M 2188 4044 \nL 1331 1722 \nL 3047 1722 \nL 2188 4044 \nz\nM 1831 4666 \nL 2547 4666 \nL 4325 0 \nL 3669 0 \nL 3244 1197 \nL 1141 1197 \nL 716 0 \nL 50 0 \nL 1831 4666 \nz\n\" transform=\"scale(0.015625)\"/>\n     </defs>\n     <use xlink:href=\"#DejaVuSans-41\"/>\n    </g>\n   </g>\n   <g id=\"text_2\">\n    <!-- B -->\n    <g transform=\"translate(37.369531 69.6) scale(0.1 -0.1)\">\n     <defs>\n      <path id=\"DejaVuSans-42\" d=\"M 1259 2228 \nL 1259 519 \nL 2272 519 \nQ 2781 519 3026 730 \nQ 3272 941 3272 1375 \nQ 3272 1813 3026 2020 \nQ 2781 2228 2272 2228 \nL 1259 2228 \nz\nM 1259 4147 \nL 1259 2741 \nL 2194 2741 \nQ 2656 2741 2882 2914 \nQ 3109 3088 3109 3444 \nQ 3109 3797 2882 3972 \nQ 2656 4147 2194 4147 \nL 1259 4147 \nz\nM 628 4666 \nL 2241 4666 \nQ 2963 4666 3353 4366 \nQ 3744 4066 3744 3513 \nQ 3744 3084 3544 2831 \nQ 3344 2578 2956 2516 \nQ 3422 2416 3680 2098 \nQ 3938 1781 3938 1306 \nQ 3938 681 3513 340 \nQ 3088 0 2303 0 \nL 628 0 \nL 628 4666 \nz\n\" transform=\"scale(0.015625)\"/>\n     </defs>\n     <use xlink:href=\"#DejaVuSans-42\"/>\n    </g>\n   </g>\n   <g id=\"text_3\">\n    <!-- C -->\n    <g transform=\"translate(133.308594 69.6) scale(0.1 -0.1)\">\n     <defs>\n      <path id=\"DejaVuSans-43\" d=\"M 4122 4306 \nL 4122 3641 \nQ 3803 3938 3442 4084 \nQ 3081 4231 2675 4231 \nQ 1875 4231 1450 3742 \nQ 1025 3253 1025 2328 \nQ 1025 1406 1450 917 \nQ 1875 428 2675 428 \nQ 3081 428 3442 575 \nQ 3803 722 4122 1019 \nL 4122 359 \nQ 3791 134 3420 21 \nQ 3050 -91 2638 -91 \nQ 1578 -91 968 557 \nQ 359 1206 359 2328 \nQ 359 3453 968 4101 \nQ 1578 4750 2638 4750 \nQ 3056 4750 3426 4639 \nQ 3797 4528 4122 4306 \nz\n\" transform=\"scale(0.015625)\"/>\n     </defs>\n     <use xlink:href=\"#DejaVuSans-43\"/>\n    </g>\n   </g>\n   <g id=\"text_4\">\n    <!-- $(x,y+\\Delta y)$ -->\n    <g transform=\"translate(15.9 35.92) scale(0.1 -0.1)\">\n     <defs>\n      <path id=\"DejaVuSans-28\" d=\"M 1984 4856 \nQ 1566 4138 1362 3434 \nQ 1159 2731 1159 2009 \nQ 1159 1288 1364 580 \nQ 1569 -128 1984 -844 \nL 1484 -844 \nQ 1016 -109 783 600 \nQ 550 1309 550 2009 \nQ 550 2706 781 3412 \nQ 1013 4119 1484 4856 \nL 1984 4856 \nz\n\" transform=\"scale(0.015625)\"/>\n      <path id=\"DejaVuSans-Oblique-78\" d=\"M 3841 3500 \nL 2234 1784 \nL 3219 0 \nL 2559 0 \nL 1819 1388 \nL 531 0 \nL -166 0 \nL 1556 1844 \nL 641 3500 \nL 1300 3500 \nL 1972 2234 \nL 3144 3500 \nL 3841 3500 \nz\n\" transform=\"scale(0.015625)\"/>\n      <path id=\"DejaVuSans-2c\" d=\"M 750 794 \nL 1409 794 \nL 1409 256 \nL 897 -744 \nL 494 -744 \nL 750 256 \nL 750 794 \nz\n\" transform=\"scale(0.015625)\"/>\n      <path id=\"DejaVuSans-Oblique-79\" d=\"M 1588 -325 \nQ 1188 -997 936 -1164 \nQ 684 -1331 294 -1331 \nL -159 -1331 \nL -63 -850 \nL 269 -850 \nQ 509 -850 678 -719 \nQ 847 -588 1056 -206 \nL 1234 128 \nL 459 3500 \nL 1069 3500 \nL 1650 819 \nL 3256 3500 \nL 3859 3500 \nL 1588 -325 \nz\n\" transform=\"scale(0.015625)\"/>\n      <path id=\"DejaVuSans-2b\" d=\"M 2944 4013 \nL 2944 2272 \nL 4684 2272 \nL 4684 1741 \nL 2944 1741 \nL 2944 0 \nL 2419 0 \nL 2419 1741 \nL 678 1741 \nL 678 2272 \nL 2419 2272 \nL 2419 4013 \nL 2944 4013 \nz\n\" transform=\"scale(0.015625)\"/>\n      <path id=\"DejaVuSans-394\" d=\"M 2188 4044 \nL 906 525 \nL 3472 525 \nL 2188 4044 \nz\nM 50 0 \nL 1831 4666 \nL 2547 4666 \nL 4325 0 \nL 50 0 \nz\n\" transform=\"scale(0.015625)\"/>\n      <path id=\"DejaVuSans-29\" d=\"M 513 4856 \nL 1013 4856 \nQ 1481 4119 1714 3412 \nQ 1947 2706 1947 2009 \nQ 1947 1309 1714 600 \nQ 1481 -109 1013 -844 \nL 513 -844 \nQ 928 -128 1133 580 \nQ 1338 1288 1338 2009 \nQ 1338 2731 1133 3434 \nQ 928 4138 513 4856 \nz\n\" transform=\"scale(0.015625)\"/>\n     </defs>\n     <use xlink:href=\"#DejaVuSans-28\" transform=\"translate(0 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(39.013672 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-2c\" transform=\"translate(98.193359 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(149.462891 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-2b\" transform=\"translate(228.125 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-394\" transform=\"translate(331.396484 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(399.804688 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-29\" transform=\"translate(458.984375 0.125)\"/>\n    </g>\n   </g>\n   <g id=\"text_5\">\n    <!-- $(x, y)$ -->\n    <g transform=\"translate(28.4 83.92) scale(0.1 -0.1)\">\n     <use xlink:href=\"#DejaVuSans-28\" transform=\"translate(0 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(39.013672 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-2c\" transform=\"translate(98.193359 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(149.462891 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-29\" transform=\"translate(208.642578 0.125)\"/>\n    </g>\n   </g>\n   <g id=\"text_6\">\n    <!-- $(x+\\Delta x, y)$ -->\n    <g transform=\"translate(111.9 83.92) scale(0.1 -0.1)\">\n     <use xlink:href=\"#DejaVuSans-28\" transform=\"translate(0 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(39.013672 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-2b\" transform=\"translate(117.675781 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-394\" transform=\"translate(220.947266 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(289.355469 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-2c\" transform=\"translate(348.535156 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(399.804688 0.125)\"/>\n     <use xlink:href=\"#DejaVuSans-29\" transform=\"translate(458.984375 0.125)\"/>\n    </g>\n   </g>\n   <g id=\"patch_7\">\n    <path d=\"M 42.484194 50.4 \nQ 35.001114 50.4 26.4 50.4 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n    <path d=\"M 38.484194 48.4 \nL 42.484194 50.4 \nL 38.484194 52.4 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"text_7\">\n    <!-- $Q_x$ -->\n    <g transform=\"translate(45.6 53.159375) scale(0.1 -0.1)\">\n     <defs>\n      <path id=\"DejaVuSans-Oblique-51\" d=\"M 2309 -84 \nQ 2275 -88 2237 -89 \nQ 2200 -91 2125 -91 \nQ 1250 -91 756 411 \nQ 263 913 263 1797 \nQ 263 2319 452 2844 \nQ 641 3369 978 3788 \nQ 1369 4269 1858 4509 \nQ 2347 4750 2938 4750 \nQ 3794 4750 4287 4245 \nQ 4781 3741 4781 2869 \nQ 4781 1928 4265 1147 \nQ 3750 366 2919 44 \nL 3553 -825 \nL 2847 -825 \nL 2309 -84 \nz\nM 2919 4238 \nQ 2400 4238 2003 3986 \nQ 1606 3734 1313 3219 \nQ 1125 2891 1026 2522 \nQ 928 2153 928 1778 \nQ 928 1128 1239 775 \nQ 1550 422 2119 422 \nQ 2631 422 3032 676 \nQ 3434 931 3719 1434 \nQ 3909 1772 4009 2142 \nQ 4109 2513 4109 2881 \nQ 4109 3528 3796 3883 \nQ 3484 4238 2919 4238 \nz\n\" transform=\"scale(0.015625)\"/>\n     </defs>\n     <use xlink:href=\"#DejaVuSans-Oblique-51\" transform=\"translate(0 0.78125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(78.710938 -15.625) scale(0.7)\"/>\n    </g>\n   </g>\n   <g id=\"patch_8\">\n    <path d=\"M 88.8 75.819426 \nQ 88.8 81.750696 88.8 88.8 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n    <path d=\"M 86.8 79.819426 \nL 88.8 75.819426 \nL 90.8 79.819426 \n\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n   </g>\n   <g id=\"text_8\">\n    <!-- $Q_y$ -->\n    <g transform=\"translate(82.65 69.6) scale(0.1 -0.1)\">\n     <use xlink:href=\"#DejaVuSans-Oblique-51\" transform=\"translate(0 0.78125)\"/>\n     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(78.710938 -15.625) scale(0.7)\"/>\n    </g>\n   </g>\n  </g>\n </g>\n <defs>\n  <clipPath id=\"pe699cd1b16\">\n   <rect x=\"7.2\" y=\"7.2\" width=\"163.2\" height=\"86.4\"/>\n  </clipPath>\n </defs>\n</svg>\n",
      "application/papermill.record/text/plain": "<Figure size 1500x600 with 1 Axes>"
     },
     "metadata": {
      "scrapbook": {
       "mime_prefix": "application/papermill.record/",
       "name": "fig_stream"
      }
     },
     "output_type": "display_data"
    },
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       "  \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"177.6pt\" height=\"100.8pt\" viewBox=\"0 0 177.6 100.8\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">\n",
       " <metadata>\n",
       "  <rdf:RDF xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\n",
       "   <cc:Work>\n",
       "    <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\n",
       "    <dc:date>2025-11-02T16:00:59.760042</dc:date>\n",
       "    <dc:format>image/svg+xml</dc:format>\n",
       "    <dc:creator>\n",
       "     <cc:Agent>\n",
       "      <dc:title>Matplotlib v3.10.6, https://matplotlib.org/</dc:title>\n",
       "     </cc:Agent>\n",
       "    </dc:creator>\n",
       "   </cc:Work>\n",
       "  </rdf:RDF>\n",
       " </metadata>\n",
       " <defs>\n",
       "  <style type=\"text/css\">*{stroke-linejoin: round; stroke-linecap: butt}</style>\n",
       " </defs>\n",
       " <g id=\"figure_1\">\n",
       "  <g id=\"patch_1\">\n",
       "   <path d=\"M 0 100.8 \n",
       "L 177.6 100.8 \n",
       "L 177.6 0 \n",
       "L 0 0 \n",
       "z\n",
       "\" style=\"fill: #ffffff\"/>\n",
       "  </g>\n",
       "  <g id=\"axes_1\">\n",
       "   <g id=\"patch_2\">\n",
       "    <path d=\"M 7.2 93.6 \n",
       "L 170.4 93.6 \n",
       "L 170.4 7.2 \n",
       "L 7.2 7.2 \n",
       "z\n",
       "\" style=\"fill: #ffffff\"/>\n",
       "   </g>\n",
       "   <g id=\"matplotlib.axis_1\"/>\n",
       "   <g id=\"matplotlib.axis_2\"/>\n",
       "   <g id=\"line2d_1\">\n",
       "    <defs>\n",
       "     <path id=\"m71ec0a0cb1\" d=\"M 0 1.5 \n",
       "C 0.397805 1.5 0.77937 1.341951 1.06066 1.06066 \n",
       "C 1.341951 0.77937 1.5 0.397805 1.5 0 \n",
       "C 1.5 -0.397805 1.341951 -0.77937 1.06066 -1.06066 \n",
       "C 0.77937 -1.341951 0.397805 -1.5 0 -1.5 \n",
       "C -0.397805 -1.5 -0.77937 -1.341951 -1.06066 -1.06066 \n",
       "C -1.341951 -0.77937 -1.5 -0.397805 -1.5 0 \n",
       "C -1.5 0.397805 -1.341951 0.77937 -1.06066 1.06066 \n",
       "C -0.77937 1.341951 -0.397805 1.5 0 1.5 \n",
       "z\n",
       "\" style=\"stroke: #000000\"/>\n",
       "    </defs>\n",
       "    <g clip-path=\"url(#p47ab533128)\">\n",
       "     <use xlink:href=\"#m71ec0a0cb1\" x=\"40.8\" y=\"26.4\" style=\"stroke: #000000\"/>\n",
       "     <use xlink:href=\"#m71ec0a0cb1\" x=\"40.8\" y=\"74.4\" style=\"stroke: #000000\"/>\n",
       "     <use xlink:href=\"#m71ec0a0cb1\" x=\"136.8\" y=\"74.4\" style=\"stroke: #000000\"/>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"patch_3\">\n",
       "    <path d=\"M 7.2 93.6 \n",
       "L 7.2 7.2 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_4\">\n",
       "    <path d=\"M 170.4 93.6 \n",
       "L 170.4 7.2 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_5\">\n",
       "    <path d=\"M 7.2 93.6 \n",
       "L 170.4 93.6 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_6\">\n",
       "    <path d=\"M 7.2 7.2 \n",
       "L 170.4 7.2 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"text_1\">\n",
       "    <!-- A -->\n",
       "    <g transform=\"translate(37.379688 21.6) scale(0.1 -0.1)\">\n",
       "     <defs>\n",
       "      <path id=\"DejaVuSans-41\" d=\"M 2188 4044 \n",
       "L 1331 1722 \n",
       "L 3047 1722 \n",
       "L 2188 4044 \n",
       "z\n",
       "M 1831 4666 \n",
       "L 2547 4666 \n",
       "L 4325 0 \n",
       "L 3669 0 \n",
       "L 3244 1197 \n",
       "L 1141 1197 \n",
       "L 716 0 \n",
       "L 50 0 \n",
       "L 1831 4666 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "     </defs>\n",
       "     <use xlink:href=\"#DejaVuSans-41\"/>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"text_2\">\n",
       "    <!-- B -->\n",
       "    <g transform=\"translate(37.369531 69.6) scale(0.1 -0.1)\">\n",
       "     <defs>\n",
       "      <path id=\"DejaVuSans-42\" d=\"M 1259 2228 \n",
       "L 1259 519 \n",
       "L 2272 519 \n",
       "Q 2781 519 3026 730 \n",
       "Q 3272 941 3272 1375 \n",
       "Q 3272 1813 3026 2020 \n",
       "Q 2781 2228 2272 2228 \n",
       "L 1259 2228 \n",
       "z\n",
       "M 1259 4147 \n",
       "L 1259 2741 \n",
       "L 2194 2741 \n",
       "Q 2656 2741 2882 2914 \n",
       "Q 3109 3088 3109 3444 \n",
       "Q 3109 3797 2882 3972 \n",
       "Q 2656 4147 2194 4147 \n",
       "L 1259 4147 \n",
       "z\n",
       "M 628 4666 \n",
       "L 2241 4666 \n",
       "Q 2963 4666 3353 4366 \n",
       "Q 3744 4066 3744 3513 \n",
       "Q 3744 3084 3544 2831 \n",
       "Q 3344 2578 2956 2516 \n",
       "Q 3422 2416 3680 2098 \n",
       "Q 3938 1781 3938 1306 \n",
       "Q 3938 681 3513 340 \n",
       "Q 3088 0 2303 0 \n",
       "L 628 0 \n",
       "L 628 4666 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "     </defs>\n",
       "     <use xlink:href=\"#DejaVuSans-42\"/>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"text_3\">\n",
       "    <!-- C -->\n",
       "    <g transform=\"translate(133.308594 69.6) scale(0.1 -0.1)\">\n",
       "     <defs>\n",
       "      <path id=\"DejaVuSans-43\" d=\"M 4122 4306 \n",
       "L 4122 3641 \n",
       "Q 3803 3938 3442 4084 \n",
       "Q 3081 4231 2675 4231 \n",
       "Q 1875 4231 1450 3742 \n",
       "Q 1025 3253 1025 2328 \n",
       "Q 1025 1406 1450 917 \n",
       "Q 1875 428 2675 428 \n",
       "Q 3081 428 3442 575 \n",
       "Q 3803 722 4122 1019 \n",
       "L 4122 359 \n",
       "Q 3791 134 3420 21 \n",
       "Q 3050 -91 2638 -91 \n",
       "Q 1578 -91 968 557 \n",
       "Q 359 1206 359 2328 \n",
       "Q 359 3453 968 4101 \n",
       "Q 1578 4750 2638 4750 \n",
       "Q 3056 4750 3426 4639 \n",
       "Q 3797 4528 4122 4306 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "     </defs>\n",
       "     <use xlink:href=\"#DejaVuSans-43\"/>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"text_4\">\n",
       "    <!-- $(x,y+\\Delta y)$ -->\n",
       "    <g transform=\"translate(15.9 35.92) scale(0.1 -0.1)\">\n",
       "     <defs>\n",
       "      <path id=\"DejaVuSans-28\" d=\"M 1984 4856 \n",
       "Q 1566 4138 1362 3434 \n",
       "Q 1159 2731 1159 2009 \n",
       "Q 1159 1288 1364 580 \n",
       "Q 1569 -128 1984 -844 \n",
       "L 1484 -844 \n",
       "Q 1016 -109 783 600 \n",
       "Q 550 1309 550 2009 \n",
       "Q 550 2706 781 3412 \n",
       "Q 1013 4119 1484 4856 \n",
       "L 1984 4856 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      <path id=\"DejaVuSans-Oblique-78\" d=\"M 3841 3500 \n",
       "L 2234 1784 \n",
       "L 3219 0 \n",
       "L 2559 0 \n",
       "L 1819 1388 \n",
       "L 531 0 \n",
       "L -166 0 \n",
       "L 1556 1844 \n",
       "L 641 3500 \n",
       "L 1300 3500 \n",
       "L 1972 2234 \n",
       "L 3144 3500 \n",
       "L 3841 3500 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      <path id=\"DejaVuSans-2c\" d=\"M 750 794 \n",
       "L 1409 794 \n",
       "L 1409 256 \n",
       "L 897 -744 \n",
       "L 494 -744 \n",
       "L 750 256 \n",
       "L 750 794 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      <path id=\"DejaVuSans-Oblique-79\" d=\"M 1588 -325 \n",
       "Q 1188 -997 936 -1164 \n",
       "Q 684 -1331 294 -1331 \n",
       "L -159 -1331 \n",
       "L -63 -850 \n",
       "L 269 -850 \n",
       "Q 509 -850 678 -719 \n",
       "Q 847 -588 1056 -206 \n",
       "L 1234 128 \n",
       "L 459 3500 \n",
       "L 1069 3500 \n",
       "L 1650 819 \n",
       "L 3256 3500 \n",
       "L 3859 3500 \n",
       "L 1588 -325 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      <path id=\"DejaVuSans-2b\" d=\"M 2944 4013 \n",
       "L 2944 2272 \n",
       "L 4684 2272 \n",
       "L 4684 1741 \n",
       "L 2944 1741 \n",
       "L 2944 0 \n",
       "L 2419 0 \n",
       "L 2419 1741 \n",
       "L 678 1741 \n",
       "L 678 2272 \n",
       "L 2419 2272 \n",
       "L 2419 4013 \n",
       "L 2944 4013 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      <path id=\"DejaVuSans-394\" d=\"M 2188 4044 \n",
       "L 906 525 \n",
       "L 3472 525 \n",
       "L 2188 4044 \n",
       "z\n",
       "M 50 0 \n",
       "L 1831 4666 \n",
       "L 2547 4666 \n",
       "L 4325 0 \n",
       "L 50 0 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      <path id=\"DejaVuSans-29\" d=\"M 513 4856 \n",
       "L 1013 4856 \n",
       "Q 1481 4119 1714 3412 \n",
       "Q 1947 2706 1947 2009 \n",
       "Q 1947 1309 1714 600 \n",
       "Q 1481 -109 1013 -844 \n",
       "L 513 -844 \n",
       "Q 928 -128 1133 580 \n",
       "Q 1338 1288 1338 2009 \n",
       "Q 1338 2731 1133 3434 \n",
       "Q 928 4138 513 4856 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "     </defs>\n",
       "     <use xlink:href=\"#DejaVuSans-28\" transform=\"translate(0 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(39.013672 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-2c\" transform=\"translate(98.193359 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(149.462891 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-2b\" transform=\"translate(228.125 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-394\" transform=\"translate(331.396484 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(399.804688 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-29\" transform=\"translate(458.984375 0.125)\"/>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"text_5\">\n",
       "    <!-- $(x, y)$ -->\n",
       "    <g transform=\"translate(28.4 83.92) scale(0.1 -0.1)\">\n",
       "     <use xlink:href=\"#DejaVuSans-28\" transform=\"translate(0 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(39.013672 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-2c\" transform=\"translate(98.193359 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(149.462891 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-29\" transform=\"translate(208.642578 0.125)\"/>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"text_6\">\n",
       "    <!-- $(x+\\Delta x, y)$ -->\n",
       "    <g transform=\"translate(111.9 83.92) scale(0.1 -0.1)\">\n",
       "     <use xlink:href=\"#DejaVuSans-28\" transform=\"translate(0 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(39.013672 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-2b\" transform=\"translate(117.675781 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-394\" transform=\"translate(220.947266 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(289.355469 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-2c\" transform=\"translate(348.535156 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(399.804688 0.125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-29\" transform=\"translate(458.984375 0.125)\"/>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"patch_7\">\n",
       "    <path d=\"M 42.484194 50.4 \n",
       "Q 35.001114 50.4 26.4 50.4 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "    <path d=\"M 38.484194 48.4 \n",
       "L 42.484194 50.4 \n",
       "L 38.484194 52.4 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"text_7\">\n",
       "    <!-- $Q_x$ -->\n",
       "    <g transform=\"translate(45.6 53.159375) scale(0.1 -0.1)\">\n",
       "     <defs>\n",
       "      <path id=\"DejaVuSans-Oblique-51\" d=\"M 2309 -84 \n",
       "Q 2275 -88 2237 -89 \n",
       "Q 2200 -91 2125 -91 \n",
       "Q 1250 -91 756 411 \n",
       "Q 263 913 263 1797 \n",
       "Q 263 2319 452 2844 \n",
       "Q 641 3369 978 3788 \n",
       "Q 1369 4269 1858 4509 \n",
       "Q 2347 4750 2938 4750 \n",
       "Q 3794 4750 4287 4245 \n",
       "Q 4781 3741 4781 2869 \n",
       "Q 4781 1928 4265 1147 \n",
       "Q 3750 366 2919 44 \n",
       "L 3553 -825 \n",
       "L 2847 -825 \n",
       "L 2309 -84 \n",
       "z\n",
       "M 2919 4238 \n",
       "Q 2400 4238 2003 3986 \n",
       "Q 1606 3734 1313 3219 \n",
       "Q 1125 2891 1026 2522 \n",
       "Q 928 2153 928 1778 \n",
       "Q 928 1128 1239 775 \n",
       "Q 1550 422 2119 422 \n",
       "Q 2631 422 3032 676 \n",
       "Q 3434 931 3719 1434 \n",
       "Q 3909 1772 4009 2142 \n",
       "Q 4109 2513 4109 2881 \n",
       "Q 4109 3528 3796 3883 \n",
       "Q 3484 4238 2919 4238 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "     </defs>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-51\" transform=\"translate(0 0.78125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-78\" transform=\"translate(78.710938 -15.625) scale(0.7)\"/>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"patch_8\">\n",
       "    <path d=\"M 88.8 75.819426 \n",
       "Q 88.8 81.750696 88.8 88.8 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "    <path d=\"M 86.8 79.819426 \n",
       "L 88.8 75.819426 \n",
       "L 90.8 79.819426 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-linecap: round\"/>\n",
       "   </g>\n",
       "   <g id=\"text_8\">\n",
       "    <!-- $Q_y$ -->\n",
       "    <g transform=\"translate(82.65 69.6) scale(0.1 -0.1)\">\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-51\" transform=\"translate(0 0.78125)\"/>\n",
       "     <use xlink:href=\"#DejaVuSans-Oblique-79\" transform=\"translate(78.710938 -15.625) scale(0.7)\"/>\n",
       "    </g>\n",
       "   </g>\n",
       "  </g>\n",
       " </g>\n",
       " <defs>\n",
       "  <clipPath id=\"p47ab533128\">\n",
       "   <rect x=\"7.2\" y=\"7.2\" width=\"163.2\" height=\"86.4\"/>\n",
       "  </clipPath>\n",
       " </defs>\n",
       "</svg>\n"
      ],
      "text/plain": [
       "<Figure size 1500x600 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "fig_stream = diagrams_2d.streamfunction2d()\n",
    "glue(\"fig_stream\", fig_stream, display=False)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "```{glue:figure} fig_stream\n",
    "---\n",
    "name: fig_flow_between_points6.0\n",
    "---\n",
    "Flow between points A-B and B-C used in the derivation of the stream function.\n",
    "```"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The discharge potential is a single-valued function, which means that the discharge potential has only one value at a point. A mathematical definition of a single-valued function is (e.g., {cite:alp}`strack1989groundwater`)\n",
    "\n",
    "$$\n",
    "\\frac{\\partial^2 \\Phi}{\\partial x \\partial y} = \\frac{\\partial^2 \\Phi}{\\partial y \\partial x}\n",
    "$$(eq_phisinglevalued6.0)\n",
    "\n",
    "Application of the Cauchy-Riemann conditions ({eq}`eq_cauchyrieman6.0`) to replace $\\Phi$ by $\\Psi$ in Eq. ({eq}`eq_phisinglevalued6.0`) gives\n",
    "\n",
    "$$\n",
    "\\frac{\\partial^2 \\Psi}{\\partial x^2} + \\frac{\\partial^2 \\Psi}{\\partial y^2} = 0\n",
    "$$(eq_final_result6.0)\n",
    "\n",
    "This is a nice result, because it means that the stream function is governed by Laplace’s equation, just like the discharge potential (Eq. {eq}`eq_laplace2d6.0`). Recall that the stream function in the horizontal plane only exists when the areal recharge $N$ equals zero."
   ]
  }
 ],
 "metadata": {
  "celltoolbar": "Tags",
  "kernelspec": {
   "display_name": "jupbook",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.13.2"
  },
  "latex_envs": {
   "LaTeX_envs_menu_present": true,
   "autoclose": false,
   "autocomplete": true,
   "bibliofile": "biblio.bib",
   "cite_by": "apalike",
   "current_citInitial": 1,
   "eqLabelWithNumbers": true,
   "eqNumInitial": 1,
   "hotkeys": {
    "equation": "Ctrl-E",
    "itemize": "Ctrl-I"
   },
   "labels_anchors": false,
   "latex_user_defs": false,
   "report_style_numbering": false,
   "user_envs_cfg": false
  },
  "varInspector": {
   "cols": {
    "lenName": 16,
    "lenType": 16,
    "lenVar": 40
   },
   "kernels_config": {
    "python": {
     "delete_cmd_postfix": "",
     "delete_cmd_prefix": "del ",
     "library": "var_list.py",
     "varRefreshCmd": "print(var_dic_list())"
    },
    "r": {
     "delete_cmd_postfix": ") ",
     "delete_cmd_prefix": "rm(",
     "library": "var_list.r",
     "varRefreshCmd": "cat(var_dic_list()) "
    }
   },
   "types_to_exclude": [
    "module",
    "function",
    "builtin_function_or_method",
    "instance",
    "_Feature"
   ],
   "window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
