How To Use Legendre Polynomials In Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • Legendre Polynomial pop up quite a few times in your physics degree. In this video I show you how to write a python code to plot out any degree legendre polynomial!

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

  • @speedspeed121
    @speedspeed121 6 ปีที่แล้ว +17

    This is a good idea. If there are no resources on a topic, you make yourself the resource.

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

    Dude you are a genuis. really appreciated this video

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

    Thank you very much. I currently in a situation where I need to code Legendre Polynomials, but it is the associated version of it.

  • @brandonberisford
    @brandonberisford 5 ปีที่แล้ว +3

    I'm trying to figure out how to plot hydrogen atom wavefunctions, and this was a good start :)

    • @__shubham__
      @__shubham__ 3 ปีที่แล้ว

      But in that polynomial we need two indices. That is P[ l, m ]( cos x )

  • @noellundstrom7447
    @noellundstrom7447 6 ปีที่แล้ว +12

    Do you have the possibility of recording you defending your thesis? Maybe you can also reflect on what you did good and right in a video and pick out some highlights!
    Best of luck!

  • @Midnight_Metro
    @Midnight_Metro 6 ปีที่แล้ว +1

    Hey Andrew. In Python, you don't have to use (1, 16) to stop at 15. You could simply write "for i in range(15):"

    • @AndrewDotsonvideos
      @AndrewDotsonvideos  6 ปีที่แล้ว +3

      I know, I didn't want to start at 0 though because that case is boring.

  • @funnytiktok-legends4552
    @funnytiktok-legends4552 4 ปีที่แล้ว

    This guy is special in all the videos he post

  • @unknown360ful
    @unknown360ful 6 ปีที่แล้ว

    I just went through my notifications and didn't see your upload and now, the I've seen it, I'm here at 3 views... You GO Andy! #Notification Squad

  • @j__k4209
    @j__k4209 6 ปีที่แล้ว +1

    This was really interesting to watch! I’m in junior year of high school and am really interested in physics... how would you recommend starting to learn code? As I don’t know it and it seems to be quite important!

    • @michael.s8842
      @michael.s8842 6 ปีที่แล้ว +2

      J__K I am not Andrew, but I may be able to help. First, if your school offers any courses in computer programming, take those. An introductory class would probably be most useful, as they tend to go over the basics of programming in one or many languages. If your school doesn’t offer any courses, or you can’t take them for some reason, I would recommend the “Head First” series. You can find them on amazon for around 20$, and they teach you the programming language equivalent to a basic college level class. Hope this helps!

    • @j__k4209
      @j__k4209 6 ปีที่แล้ว

      Michael Sacks Thanks a lot man! I’ll check it out (:

  • @franklinbolanos2395
    @franklinbolanos2395 6 ปีที่แล้ว +1

    Hi, thanks for the tutorial!
    Do you have some link or maybe videos where you learned scipy? Thank you so much!

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

    Another video on Legendre Polynomial in second kind. Please!

  • @deschmichael
    @deschmichael 6 ปีที่แล้ว

    Nice video, thanks! What program / setup are you using here for coding?

  • @arlenalem
    @arlenalem 4 ปีที่แล้ว

    Great video !!!, could someone to tell me how to do this video where we show the screen of our computer or tablet , and the camera ??

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

    Thanks. It helped a lot. : )

  • @mehrannikakhtar8811
    @mehrannikakhtar8811 4 ปีที่แล้ว

    Thank you, this video was helpful!!

  • @alaeddinefrg4059
    @alaeddinefrg4059 3 ปีที่แล้ว

    i was looking for the method or the way how i can compare two images using Legendre moments..
    because im working on a small search engine of images..
    i mean i know how to find and calculate legendre polynomial of the two images but i dont knoww how to compare them... do i use distance or??
    do you know any method? could you help?
    and thanks

  • @ratonespotnes
    @ratonespotnes 6 ปีที่แล้ว

    Why are you still using the default python interface (IDLE)? Have you considered using a better text editor with more functionality?

  • @Cepheid_
    @Cepheid_ 6 ปีที่แล้ว

    Have you taken a programming course or are you mostly self taught? How much emphasis would you put on physics majors learning programming skills?

    • @AndrewDotsonvideos
      @AndrewDotsonvideos  6 ปีที่แล้ว

      Self taught python. Formal class in c++. Every physics major should learn a bit of coding.

  • @marty926
    @marty926 6 ปีที่แล้ว

    Did the Feynman technique lead you to start doing youtube videos? If so, how does the effectiveness compare to an in person approach.

  • @tamarlambert6121
    @tamarlambert6121 5 ปีที่แล้ว

    Do you have any advice for the associated Legendre function?

  • @karieltheone
    @karieltheone 6 ปีที่แล้ว

    Really informative, good video.

  • @azaleagaming6630
    @azaleagaming6630 6 ปีที่แล้ว +1

    This looks so similar to the MATLAB stuff I was doing in Biophysics.

  • @gafus4309
    @gafus4309 5 ปีที่แล้ว

    thank you very much, it has helped :)

  • @blakelee4555
    @blakelee4555 6 ปีที่แล้ว

    Please keep uploading once you graduate

  • @guymarcus7831
    @guymarcus7831 5 ปีที่แล้ว

    Thanks dude

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

    Lofe saver man

  • @broncojonnes
    @broncojonnes 6 ปีที่แล้ว

    great vid

  • @roshan8853
    @roshan8853 6 ปีที่แล้ว

    I've been trying to plot the polynomials using the recursion relation. Do you know of anyone who has done this? Struggling a bit! Thanks

  • @undertheradar4645
    @undertheradar4645 6 ปีที่แล้ว

    Have you ever needed to use/learn Matlab specifically?
    Or it's always python, because python is king, free, and python compilers are already on almost every windows machine?

    • @AndrewDotsonvideos
      @AndrewDotsonvideos  6 ปีที่แล้ว

      Eh, I just went out of my way to learn python first. And then I started playing around with mathematica. At that point, there didn't really seem to be a reason to learn matlab

  • @martinhopaour5744
    @martinhopaour5744 6 ปีที่แล้ว

    do a vlog!!!!!

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

    its not working in matlab

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

    Malah makin tidak mengerti kalau bahasa ini

  • @jamesshkrelivanhoogstraten8040
    @jamesshkrelivanhoogstraten8040 6 ปีที่แล้ว

    im flexin wit my youngas

  • @finthechat7134
    @finthechat7134 6 ปีที่แล้ว

    frank