Тёмный
Younes Lab
Younes Lab
Younes Lab
Подписаться
Hi👋 I teach Physics and Engineering concepts with Python
Making Animations in Python using Matplotlib!
22:05
4 месяца назад
20 videos published! (And 1000 Subscribers)
4:41
5 месяцев назад
The Origin of the Monte Carlo Method
8:16
7 месяцев назад
STL Viewer in Python - Part 2 || the STL File
15:21
9 месяцев назад
Комментарии
@EdwardHe-jr9vg
@EdwardHe-jr9vg День назад
Hi! It's very awesome video and very straight forward! A quick question, do you know if there's any chance to speed up the process with cuda?
@hakankosebas2085
@hakankosebas2085 5 дней назад
Could you make truck trailer dynamic system simulation?
@hakankosebas2085
@hakankosebas2085 5 дней назад
could you do code of "Tutorial: How to simulate the wave equation" video by Nils Berglung
@MuhammadSaad-uk6xd
@MuhammadSaad-uk6xd 14 дней назад
thanks
@sagarshrestha9661
@sagarshrestha9661 19 дней назад
Your videos are so much informative and lucid❤.I was struggling in understanding the ODE's and watched several youtube videos but couldnt get it done...Your videos made me understand all the concepts.Thank you so much..I'm the guy who never comments to the youtube😅 but you made me do it...Can you make the video on animation of spring mass system showcasing the real spring contraction and relaxation
@YounesLab
@YounesLab 18 дней назад
I very glad to hear your feedback and know it was helpful! ^^' I did make a video in the past about animating (simple animation) the mass-spring system if you checked it out already, where we can see the elongation of the spring (ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-nT16-yQrnFk.html) Now for the real spring contraction and relaxation is an interessting topic I will through it! Thank you for your suggestion!
@Domjavy
@Domjavy 27 дней назад
SUBSCRIBING!
@YounesLab
@YounesLab 27 дней назад
Hello everyone, as promised here is the notebook that contains most of the details of the video! If you have any questions feel free ^^ github.com/Younes-Toumi/RU-vid-Channel/tree/main/Notebook%20Courses/Differential%20Equations
@oskarmakala
@oskarmakala Месяц назад
Could anyone explain why is it necessary to use a copy of array u in the scheme equation? I know that it gives slightly different results if we just rewrite u array in each loop, thanks
@YounesLab
@YounesLab Месяц назад
Hello! We use a separate copy of the array `u` because it represents the temperature distribution at a specific time, `t`. When we discretize our equation in time and space, we get: u[t+1, i] = (dt * a / dx^2) * (u[t, i-1] - 2 * u[t, i] + u[t, i+1]) + u[t, i] In this equation, `u[t, ...]` represents the temperature distribution at time `t`. By updating `u` using a while loop, we ensure that the computation of the distribution at all nodes is accurate for time `t`. If we don't use a copy of `u`, we end up computing the solution at `t+1` using a mixture of data from both `t` and `t+1`. For example, without a copy, `u` is updated dynamically, and when computing each node [i], the left node [i-1] is used from time `t+1` while the right node [i+1] is still from time `t`. This leads to: u[t+1, i] = (dt * a / dx^2) * (u[t+1, i-1] - 2 * u[t, i] + u[t, i+1]) + u[t, i] This does not conform to the established numerical scheme. I hope this clarifies why it's necessary to use a copy of the array `u` in the scheme equation. Let me know if you have any other questions! :)
@soumitdas8235
@soumitdas8235 Месяц назад
Thanks for the great ideas! I can see how they can prove very useful :))
@YounesLab
@YounesLab Месяц назад
Glad to read your comment! I wanted to propose something other than the conventional "Hangman / geuss the number" type of project 😄
@YounesLab
@YounesLab Месяц назад
If you want a more detailled tutorial let me know! I might do a 5-10 episodes series about it :) Thank y'all
@cianmcnally4694
@cianmcnally4694 2 месяца назад
This is a great video, love the deeper explanations of what’s happening fundamentally
@YounesLab
@YounesLab Месяц назад
I am glad to hear it thank you 🙏 I often believe that if you understand the principles behind things it makes it very intuitive and plausible
@rubaiyat4712
@rubaiyat4712 2 месяца назад
Great video! Keep up the good work!
@subhashcm3002
@subhashcm3002 2 месяца назад
Hello. Thank you for the informative Video Can we convert STL into HTML file in python., if so can you please guide me .
@YounesLab
@YounesLab 2 месяца назад
Hello! Thank you for your comment :) I am not familiar with HTML, however I can maybe share with you what I know maybe it will help you out. In its root, an STL file is made out of coordinates, You group three coordinate-points together to get a triangle, and you get an STL file by combining triangle together. If you are able to convert an X, Y and Z coordinate, it would be theoritically entirely possible. Maybe these links will help you out: 1. tonybox.net/posts/simple-stl-viewer/ 2. stackoverflow.com/questions/12880980/need-js-and-html-example-for-displaying-stl-3d-objects-in-a-web-page
@QBeeZzZy
@QBeeZzZy 2 месяца назад
Does that butterfly a reason for a tornado? Yes. Do every another atom in the universe a reason for tornado? I think also yes
@YounesLab
@YounesLab 2 месяца назад
I actually tend to think this as well! When we say "the flap of a butterfly" at a micriscopical level, it is really just the movement of atoms and particles colliding with each other 🤔
@liliklbm3607
@liliklbm3607 2 месяца назад
What’s a great job Younes ! I’m so proud of you, we can feel your energy through your videos which are probably very helpful. Keep going Younes
@YounesLab
@YounesLab 2 месяца назад
I am pleased to know it! Thank you for your feedback @liliklbm3607 😄
@optiondrone5468
@optiondrone5468 2 месяца назад
Younes good job on this video and for introducing yourself, I'm enjoying your python videos and also videos like this, thank you for all your uploads.
@YounesLab
@YounesLab 2 месяца назад
Thank you for your feeback!! 👏 I've been falling off with video production lately, but I am still marking down video ideas. Your comment gives me motivation to start again!
@optiondrone5468
@optiondrone5468 2 месяца назад
@@YounesLab Keep doing what you're doing, mashaAllah you've go a good strategy, InshaAllah your channel would be a good source of passive income for you and you would never have to be a wage slave for anyone.
@YounesLab
@YounesLab 2 месяца назад
Jazaka Aallah khayran @optiondrone5468 ! I do hope so as well, Thank you very much 😄
@optiondrone5468
@optiondrone5468 2 месяца назад
@@YounesLab ayak akhi, Allah Hu salmak
@antunbrnic7057
@antunbrnic7057 2 месяца назад
This is really good. Greetings from Croatia!
@YounesLab
@YounesLab 2 месяца назад
A pleasure to hear it! My salute to Croatians! 😄
@yugpatel1124
@yugpatel1124 3 месяца назад
Thank you
@FeanorPhys
@FeanorPhys 3 месяца назад
Thank you for this amazing explanation.
@Idk-mc2dd
@Idk-mc2dd 3 месяца назад
BRO DONT STOP POSTING, Your videos are so underrated and helpful
@YounesLab
@YounesLab 3 месяца назад
Thank you for your support @Idk-mc2dd !! I very much appreciate it, I've been lacking good topics to treat but I just found one I am sure will be of great use when it comes to modeling Differential Equation Systems!
@aymen4605
@aymen4605 3 месяца назад
Need more of this type of content, keep going
@saodatqurbonqulova1527
@saodatqurbonqulova1527 3 месяца назад
Please can you teach me
@saodatqurbonqulova1527
@saodatqurbonqulova1527 3 месяца назад
How to find the general solution of a system of differential equations? In case no initial condition is given
@YounesLab
@YounesLab 3 месяца назад
@saodatqurbonqulova1527, If you want to solve a system symbolically, the Sympy Library will be your best (and only) option, since odeint uses a numerical scheme. I would suggest you going to check the SymPy documentation on how to solve differential Equations here: docs.sympy.org/latest/guides/solving/solve-ode.html From what I can say, you can achieve it using the dsolve function, here is a small code snippet: from sympy import symbols, Function, Eq, dsolve # Define symbols and functions t = symbols('t') # Independent variable x, y = symbols('x y', cls=Function) # Dependent variables # Define the system of differential equations # Example: dx/dt = y, dy/dt = -x eq1 = Eq(x(t).diff(t), y(t)) eq2 = Eq(y(t).diff(t), -x(t)) # Solve the system of differential equations solution = dsolve((eq1, eq2)) # Print the general solution sol_eq1 = solution[0] sol_eq2 = solution[1]
@Idk-mc2dd
@Idk-mc2dd 4 месяца назад
Bro haaha love the Caption
@koushikvijayakumar7924
@koushikvijayakumar7924 4 месяца назад
The code works fine but there is no animation
@YounesLab
@YounesLab 4 месяца назад
Be sure to run the regular python file (not the .ipynb) and at the end of the file is there is the `update(...)´ function, I am running the code on python 3.12. If you still are getting troubles getting the animation you can save it as a gif at the end before showing the plot doing: animation.save("animation.GIF")
@nick45be
@nick45be 4 месяца назад
in line 52 (5:49) it says "IndentationError: unexpected indent" after having copied and pasted the code from your github
@YounesLab
@YounesLab 4 месяца назад
If you are getting an "IndentationError: unexpected indent" this means there is a problem with the indentation (tabbing) of the line, make sure to delete the tabs and manually re do it.
@islamdk4844
@islamdk4844 4 месяца назад
Thank you for sharing informations and experience you should go for phd and teach more
@lamineabad9156
@lamineabad9156 4 месяца назад
Sehr interessant ! Ich danke dir für das Teilen
@lyeschouaki6183
@lyeschouaki6183 4 месяца назад
Always a pleasure hearing from you, keep up the good work!
@user-fk7wi6re1u
@user-fk7wi6re1u 4 месяца назад
first time bro didn't edit the bird sound effects in
@YounesLab
@YounesLab 4 месяца назад
They are hunting me in my nightmares
@amineaissiou
@amineaissiou 4 месяца назад
Real (I'm the camera)
@YounesLab
@YounesLab 4 месяца назад
Thank you for your Consistent support @amine! I appreciate it very much
@agnelomascarenhas8990
@agnelomascarenhas8990 4 месяца назад
Excellent job guys 👍
@jawadmansoor6064
@jawadmansoor6064 4 месяца назад
I thought you WERE a lab.
@YounesLab
@YounesLab 4 месяца назад
Nice one! 😄 Adding "Lab" was actually me being inspired from "Huberman Lab" if you know
@jawadmansoor6064
@jawadmansoor6064 4 месяца назад
Looked it up, saw "Improve Oral..." and dropped search. :P Though I might have stumbled upon wrong Huberman.@@YounesLab
@YounesLab
@YounesLab 4 месяца назад
It's actually him...😂 He is a Neurobiolgy professor at Standford that makes podcats sharing academic works (Dopamine, Improve Focus, ...)
@jawadmansoor6064
@jawadmansoor6064 4 месяца назад
@@YounesLab Interesting
@capitalm417
@capitalm417 4 месяца назад
Love this channel! it seems to have everything i like
@YounesLab
@YounesLab 4 месяца назад
A pleasure to hear it! 😄
@nazimbendib2715
@nazimbendib2715 4 месяца назад
That was really helpful thanks !!!
@Idk-mc2dd
@Idk-mc2dd 4 месяца назад
Dude thanks for this video!! I just have a question, I am currently trying to model the electrical activity of the heart by ordinary differential equations(for a school project )but the heart is a really complicated system, which is why I would need atleast need a system of nonlinear ODE i think? If you are interested im this project, would u be willing to help? Please answer even if u are uninterested so that i know, and again thanks for this detailed video 👊🏼
@YounesLab
@YounesLab 4 месяца назад
Thank you for your Feedback! Your Project seems very Interessting I'd appreciate if you can give more details via mail: younes.abdeldjalil.commercial@gmail.com (my Official Commercial E-Mail)
@Idk-mc2dd
@Idk-mc2dd 4 месяца назад
@@YounesLab yes I will contact u then
@Idk-mc2dd
@Idk-mc2dd 4 месяца назад
@@YounesLab hello, thanks for the response,I will contact you
@lionelmartinez6810
@lionelmartinez6810 4 месяца назад
Hello, could you make a video about the electrostatic field of a flat and finite capacitor with parallel plates to analyze especially the edge effect? thank
@YounesLab
@YounesLab 4 месяца назад
Thank you for your suggestion Lionel, I will take the time to Investigate about this subject. Fair Well
@lionelmartinez6810
@lionelmartinez6810 4 месяца назад
Hola, ¿podrías hacer un video sobre el campo electrostático de un condensador plano y finito con placas paralelas para analizar especialmente el efecto borde?
@amineaissiou
@amineaissiou 4 месяца назад
Nice work
@jawadmansoor6064
@jawadmansoor6064 4 месяца назад
thank you for your great work. before finding your channel i was thinking maybe I was dumb not understanding underlying concepts for "easy" things, though I had spent years trying to just know how math works for some calculus. but now i am confident that i can understand math and teach my kids.
@YounesLab
@YounesLab 4 месяца назад
What a pleasure to read your comment Jawad. A dedicated father! Very much respect! Fairwell for you all
@amineaissiou
@amineaissiou 5 месяцев назад
Thanks !
@physicsbymanishkumarmalik332
@physicsbymanishkumarmalik332 5 месяцев назад
Good work Continue it I am fond of mathematics and physics That’s why I like your videos 🎉 Congratulations for 1000 subscribers 🎉
@YounesLab
@YounesLab 5 месяцев назад
I am very glad to hear it! Thank you very much, I am thrilled to improve and provide better content for those passionate about it
@amineaissiou
@amineaissiou 5 месяцев назад
@javierrendon2194
@javierrendon2194 5 месяцев назад
How would you do a variable limits integral in D dimensions instead of that integral in a rectangular D-dimensional region? wouul you create numbers following a given distribution?
@YounesLab
@YounesLab 5 месяцев назад
Exactly! To handle variable limits in D-dimensional integrals using Monte Carlo, employ importance sampling. Generate points based on probability distributions reflecting the integrand's behavior along each dimension, concentrating samples where the function has higher values for more accurate integration estimates.
@nourhamsho9985
@nourhamsho9985 5 месяцев назад
Thanks very much for your helpful explanation. How can do like this presentation ? Which App do yo used to write in this way ?
@YounesLab
@YounesLab 5 месяцев назад
I used a python math animation engine called "manim" for both text and visuals, it takes a bit time to set up and learn, but once you get the hang of it, it becomes -relatively- easier. And thank you for your feedback!
@umdbest001
@umdbest001 5 месяцев назад
superb videos congrats for 1000 subscribers
@YounesLab
@YounesLab 5 месяцев назад
Thank you!! This is an incredible milestone for me :D I can't wait to improve even more and make better content
@umdbest001
@umdbest001 5 месяцев назад
@@YounesLab yes indeed it is ,looking forward to see more amazing stuff from you ,wish you the best
@cherrybeybi
@cherrybeybi 5 месяцев назад
Sahaaaaa youmi chikour kho
@willynakada7046
@willynakada7046 5 месяцев назад
Awesome
@AbdelMalekDehmous
@AbdelMalekDehmous 5 месяцев назад
The use of a spongebob meme in EVERY video keep me going alive.
@YounesLab
@YounesLab 5 месяцев назад
The famous one size fits all, you can't go wrong with it - from programming to chaos theory
@raoufbenabdesselam5595
@raoufbenabdesselam5595 5 месяцев назад
Danke sehr, das war wirklich interessant!
@YounesLab
@YounesLab 5 месяцев назад
Herr @benabdesselam von Bernard, das freut mich! Viel Erfolg
@raoufbenabdesselam5595
@raoufbenabdesselam5595 5 месяцев назад
​@@YounesLabtschuss wa salam