Laplace's Equation of Electric Potential (Solved in Python)

Поделиться
HTML-код
  • Опубликовано: 13 мар 2022
  • Check out my course on UDEMY: learn the skills you need for coding in STEM:
    www.udemy.com/course/python-s...
    It turns out that a sequence of convolutions is the most efficient way to solve Laplace's equation in python. In this video I tackle a 3D problem: the potential between two (finite size) parallel plates.
    Code:
    github.com/lukepolson/youtube...
    Discord:
    / discord
  • НаукаНаука

Комментарии • 45

  • @Nickname006
    @Nickname006 2 года назад +9

    Amazing stuff once again! Thanks for all the work you do. Your videos are great for refreshing my memory on the undergraduate physics course material while keeping me lured in with amazing tutorials on how to actually solve/model these problems in Python. I think we need more of this kind of teaching in universities! Everytime you post a video, I get this feeling that I have to watch it or I will be missing out.

  • @_RTheBruce
    @_RTheBruce 11 дней назад

    I remember this stuff from university from years ago. Needed a good refresher. This was better than perfect.

  • @andresyesidmorenovilla7888
    @andresyesidmorenovilla7888 2 года назад +2

    Dude, this channel is totally underrated. Great work!!!

  • @sinecurve9999
    @sinecurve9999 2 года назад +8

    Dirichlet (dir-i-klay)
    Neumann (Noi-man)
    Euler (oi-ler)

  • @hsh7677
    @hsh7677 2 года назад +2

    I've been waiting for this!!
    You rock!

  • @er_lee7540
    @er_lee7540 2 года назад

    Amazing work! Thanks a lot. You deserve much more subscribers.

  • @mingshey
    @mingshey Год назад

    Truly amazing lesson this is, as are your other videos! I could learn this method and apply to the case of a field cage, as is used in time projection chambers.

  • @pauljansen8744
    @pauljansen8744 2 года назад +1

    Great video tutorials! I wish your channel was around when I was doing my PhD, it would definitely have saved me a lot of time. Also nice setup at the end of your video for introducing multi grid methods, are you planning a short follow-up on that?

  • @fufaev-alexander
    @fufaev-alexander 2 года назад +3

    Thank you so much for this awesome Python content! 😍

  • @mandyokpoji8787
    @mandyokpoji8787 2 года назад +4

    Well done son.
    Reckon you should model photons spatial distribution when carrying orbital angular momentum (quadro and octopole atomic transitions and that)

  • @user-ld8oo4zd6t
    @user-ld8oo4zd6t 5 месяцев назад

    Dude you gave me the inspiration thanks!

  • @lucatonin1742
    @lucatonin1742 2 года назад

    Thank you, your videos are really useful!

  • @underfilho
    @underfilho 2 года назад +1

    such a beautiful contour plot

  • @AJ-et3vf
    @AJ-et3vf 2 года назад

    awesome video! Thank you!

  • @Maniclout
    @Maniclout 2 года назад +1

    Very nice 👌🏼

  • @scoot_tv
    @scoot_tv 2 года назад +2

    You should do a strong field approximation vid

  • @mikekertser5384
    @mikekertser5384 2 года назад +2

    Great Video, as always!
    Could you please make a video of Navier-Stokes eqn. solution for some simple case with some turbulent flow algebraic approximation?
    May be von-Karman sheets for 2D case?

    • @ShinjiCarlos
      @ShinjiCarlos 2 года назад

      I would appreciate it as well lol

  • @brauliops
    @brauliops 6 месяцев назад

    Nice video!!. How you calculate the electric field once you solve the potential?

  • @zaid2095
    @zaid2095 5 месяцев назад

    will you do tutorials in different coordinate systems? for instance we may want to solve for prescribed potentials on spherical surfaces?

  • @adamtaylor2142
    @adamtaylor2142 2 года назад +2

    I had to have one of my students in a graduate class tell me it was dee·ruhsh·lay (Dirichlet).

    • @MrPSolver
      @MrPSolver  2 года назад +1

      Interesting... Guess this is what I'm going with for now on!

  • @MikiSH
    @MikiSH 2 года назад

    Hi, is there an easy way to represent the electric vector field in the contour graph??

  • @javierguallart8250
    @javierguallart8250 2 года назад +2

    It would be really helpful if you add chapters to the video

  • @perjohankasper
    @perjohankasper 2 года назад

    always great, shortminded as i am cam i find the notes on github?

    • @MrPSolver
      @MrPSolver  2 года назад

      Ya, link is in the description!

  • @lionelmartinez6810
    @lionelmartinez6810 10 месяцев назад

    Could you make a video explaining how to graph the electric field?How is the gradient of a matrix calculated? Thank

  • @GeneralPet
    @GeneralPet 2 года назад

    There is a small issue, the laplace/averaging function will give different results depending on the resolution/number of points. So increasing N has an effect on the potential. How can I fix that?

    • @MrPSolver
      @MrPSolver  2 года назад

      It shouldn't have that effect. Is that something you programmed and noticed?

  • @ShinjiCarlos
    @ShinjiCarlos 2 года назад

    So nice, man!
    I guess this method of solving boundary condition differential equations used is the relaxation method, right?

  • @YeduKrishnan
    @YeduKrishnan 7 месяцев назад

    14:35

  • @brobroo6154
    @brobroo6154 2 года назад

    How can l transform his code to a jupyter code?

    • @ShinjiCarlos
      @ShinjiCarlos 2 года назад

      There is no difference, bruh. There isn't such a thing as a Jupyter code. It is either Python-, Julia- or R-coded. Just copy and paste it in a Jupyter notebook, it will work fine ^^V
      PS.: I managed even to use a computational algebra program called Cadabra (written in C/C++) inside it.

  • @monkeyofwar6818
    @monkeyofwar6818 2 года назад +3

    Oh shit we upgraded to 4k quality, nice

  • @drfredkin
    @drfredkin 2 года назад +2

    Schrodinger died in 1961!

  • @akhilc8381
    @akhilc8381 2 года назад

    Hey!! Mr. P solver can you make a video on PID controller

  • @ralphwalters906
    @ralphwalters906 2 года назад

    Pronounced DUR-EE-SHLAY

  • @alexplyushch7297
    @alexplyushch7297 2 года назад

    no intro music 😞

    • @ShinjiCarlos
      @ShinjiCarlos 2 года назад

      Thank God! \o/

    • @alexplyushch7297
      @alexplyushch7297 2 года назад +2

      @Del Squared - دل تربيع Some people enjoy, others can skip, you know ;)

    • @ShinjiCarlos
      @ShinjiCarlos 2 года назад

      @@alexplyushch7297, sorry, man xD
      I just wouldn't let the opportunity go, you know?

    • @MrPSolver
      @MrPSolver  2 года назад

      I'll be back, don't worry 😉

  • @neuralwarp
    @neuralwarp 2 года назад

    TL;DW