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

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024
  • Check out my course on UDEMY: learn the skills you need for coding in STEM:
    www.udemy.com/...
    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/luk...
    Discord:
    / discord

ความคิดเห็น • 45

  • @_RTheBruce
    @_RTheBruce 2 หลายเดือนก่อน

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

  • @sinecurve9999
    @sinecurve9999 2 ปีที่แล้ว +8

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

  • @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.

  • @andresyesidmorenovilla7888
    @andresyesidmorenovilla7888 2 ปีที่แล้ว +2

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

  • @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)

  • @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?

  • @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.

  • @fufaev-alexander
    @fufaev-alexander 2 ปีที่แล้ว +3

    Thank you so much for this awesome Python content! 😍

  • @zaid2095
    @zaid2095 7 หลายเดือนก่อน

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

  • @hsh7677
    @hsh7677 2 ปีที่แล้ว +2

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

  • @underfilho
    @underfilho 2 ปีที่แล้ว +1

    such a beautiful contour plot

  • @brauliops
    @brauliops 7 หลายเดือนก่อน

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

  • @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

  • @javierguallart8250
    @javierguallart8250 2 ปีที่แล้ว +2

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

  • @user-ld8oo4zd6t
    @user-ld8oo4zd6t 7 หลายเดือนก่อน

    Dude you gave me the inspiration thanks!

  • @er_lee7540
    @er_lee7540 2 ปีที่แล้ว

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

  • @lionelmartinez6810
    @lionelmartinez6810 ปีที่แล้ว

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

  • @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??

  • @monkeyofwar6818
    @monkeyofwar6818 2 ปีที่แล้ว +3

    Oh shit we upgraded to 4k quality, nice

  • @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?

  • @lucatonin1742
    @lucatonin1742 2 ปีที่แล้ว

    Thank you, your videos are really useful!

  • @Maniclout
    @Maniclout 2 ปีที่แล้ว +1

    Very nice 👌🏼

  • @AJ-et3vf
    @AJ-et3vf 2 ปีที่แล้ว

    awesome video! Thank you!

  • @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!

  • @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.

  • @YeduKrishnan
    @YeduKrishnan 9 หลายเดือนก่อน

    14:35

  • @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