Пікірлер
@zealot4325
@zealot4325 10 күн бұрын
Great video! Thank you
@amineaissiou
@amineaissiou 14 күн бұрын
Congratulation Can't wait to discover your course !
@abzrg
@abzrg 14 күн бұрын
Thank you! This is very few tutorials on this on youtube. btw, isn't that supposed to be 'axes' not 'axis' (fig, axis = ...)?
@YounesLab
@YounesLab 10 күн бұрын
True, 'axis' refers to a single object, where 'axes' refer to multiple ones within one figure. Thank you for pointing this one out! :)
@datagigs5478
@datagigs5478 15 күн бұрын
Congratulations! We hope to see your physics-informed machine learning course in the future.
@YounesLab
@YounesLab 10 күн бұрын
This might be happening in a near future hopefully 😁
@datagigs5478
@datagigs5478 10 күн бұрын
@@YounesLab will it be a separate course or integrated modules within an existing course?
@YounesLab
@YounesLab 8 күн бұрын
It will likely be a seperate course. However, I might include a small recap (summary) and integrate a small portion as a module in my Python existing course (to give an overall tool kit for engineers) Being a seperate course, it will have some prerequisites such as a deep understanding of Python when it comes to computational physics, calculus, and so on. More about it soon! 😄
@mariatoumi7524
@mariatoumi7524 15 күн бұрын
Congratulations 🎉 !
@liliklbm3607
@liliklbm3607 16 күн бұрын
Congrats, very well done Younes
@meriemaissiou2930
@meriemaissiou2930 16 күн бұрын
CONGRATULATIONS ! 🎉
@YounesLab
@YounesLab 16 күн бұрын
Thank you for your support 👏
@michaelswahla4927
@michaelswahla4927 17 күн бұрын
thanks bro u helped me alot!!
@mariatoumi7524
@mariatoumi7524 21 күн бұрын
Great !
@meriemaissiou2930
@meriemaissiou2930 26 күн бұрын
Thank you for the video !
@kirill_good_job
@kirill_good_job 28 күн бұрын
your tutorial good, I like it
@kirill_good_job
@kirill_good_job 28 күн бұрын
hi, maybe this code better ? do you have mistake ? for i in range(1, 10_000): x = np.random.choice(x_sample, N_random_samples) y = np.random.choice(y_sample, N_random_samples) z = np.random.choice(z_sample, N_random_samples) you wrote: for i in range(1, 10_000): x = np.random.choice(x_sample, N_random_samples) y = np.random.choice(x_sample, N_random_samples) z = np.random.choice(x_sample, N_random_samples)
@kirill_good_job
@kirill_good_job 28 күн бұрын
21:32 time
@YounesLab
@YounesLab 27 күн бұрын
Indeed! I made a little typo mistake there abd it should be x, y, and z. Thank you for for letting me know! I will correct it in the github as well
@govindarajanprakash5260
@govindarajanprakash5260 Ай бұрын
Hi, How can you make legend and label update with each frame in these examples. Say, I just want to make the frame number appear in text as the animation happens.
@YounesLab
@YounesLab 18 күн бұрын
In order to update text within your animation, you have to set the blit mode to false `blit=False` and then specify within the update function a line that update the title for example: fig, axis = plt.subplots() animated_bridge, = axis.plot([], [], color='blue') # ',' is used because axis.plot returns an array axis.set_xlim([0, L]) axis.set_ylim([-10, 10]) axis.set_title(f"Frame: {0} / {len(time_points)}") # Initial title def update(frame): print(frame) animated_bridge.set_data(space_points, u[frame]) # Updating the data across [frame] axis.set_title(f"Frame: {frame} / {len(time_points)}") return animated_bridge
@lamineabad9156
@lamineabad9156 Ай бұрын
Banana ist gut und günstig
@satriaginanjar1686
@satriaginanjar1686 Ай бұрын
Thanks man, this is very useful💪
@YounesLab
@YounesLab Ай бұрын
I am glad to hear it! :)
@AbdelMalekDehmous
@AbdelMalekDehmous Ай бұрын
I AM a huge banana fan lmao, happy to know this. Also : sending love and encouragement for whatever Ur going through.
@YounesLab
@YounesLab Ай бұрын
Ah, I see you're a man of culture as well. Thank you kind sir
@clovistanganelli9850
@clovistanganelli9850 Ай бұрын
Really impressive!! Congrats.
@meromaria
@meromaria Ай бұрын
Great tips! Very original and simple, highly appreciated. If i may add to it from a personal exprience, is a tip that is overtalked about yet underestimated still: having a good night's sleep. For the longest i have been suffering from insomnia and have slept unevenly for yeaars. Taking it lightely and not treating it have left me with tremendous negative aftermath both physically and mentally and i have witnessed some years of my life going the wrong direction because of it. So if anyone is going through that, i highly recommed taking this seriously on a primary level and seeking proffesional help if necessary.
@YounesLab
@YounesLab Ай бұрын
This really is an underrated advice that people often overlook! Sleep really is the foundation of everything. There is a quote I heard once saying "sacrificing the night-life for the morning-life" meaning to improuve you have to be willing to give up on the (bad) night behavior 🤔 Thank you for sharing! :)
@mindacid3274
@mindacid3274 Ай бұрын
thanks man!
@amineaissiou
@amineaissiou Ай бұрын
Does it work with other fruits? (asking for a friend)
@YounesLab
@YounesLab Ай бұрын
Pretty much 🤔 depending on how brave you are you can also do it with vegetables
@pedrosilva5237
@pedrosilva5237 Ай бұрын
i really appreciate your video.
@feweir
@feweir Ай бұрын
where do you take all formulas, for example that for get dd_ux and dd_uy ^
@YounesLab
@YounesLab Ай бұрын
The formulas represent an approximation of derivative via a method called "the finite difference method" often called FDM, this method represent a simple but powerfull technique for solving differential equation related problems (especially flow/heat problems) If you want to learn more about it I suggest you to watch another video I made (part 1) kzbin.info/www/bejne/kKbbco2unNqpY5I
@charlesaugustosantosdocarm4121
@charlesaugustosantosdocarm4121 Ай бұрын
Wonderful! Tank you!
@EdwardHe-jr9vg
@EdwardHe-jr9vg 2 ай бұрын
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?
@YounesLab
@YounesLab Ай бұрын
Thank you for your feedback ^^ Personally I am not that familiar with cuda (though this surely is motivating me to make a video about it 🤔) However there are several techniques you can use drastically improuve the speed (method I discoreved after making the video) * writing the main calculations as a function, then using numba's jit to optimize the computation (by chacing it, ...) * Important note: since the result of each iteration is more or less dependent on the one before, parallezing will most likely not work, however one trick you can use is to vectorize the code by, instead of writing it in form of a loop, you replace it by some sort of linear system of equations A*T = b, which will be way faster since it uses linear algebra to find the solution (using numpy)
@hakankosebas2085
@hakankosebas2085 2 ай бұрын
Could you make truck trailer dynamic system simulation?
@YounesLab
@YounesLab Ай бұрын
If you elaborate, I can have a look at it ^^'
@hakankosebas2085
@hakankosebas2085 2 ай бұрын
could you do code of "Tutorial: How to simulate the wave equation" video by Nils Berglung
@YounesLab
@YounesLab Ай бұрын
Great suggestion thank you ^^' ! I will plan on doing this video about the wave equation it will be an interessting subject (in a couple of weeks)
@hakankosebas2085
@hakankosebas2085 Ай бұрын
@@YounesLab thanks
@MuhammadSaad-uk6xd
@MuhammadSaad-uk6xd 2 ай бұрын
thanks
@sagarshrestha9661
@sagarshrestha9661 2 ай бұрын
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 2 ай бұрын
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 (kzbin.info/www/bejne/pIWUZ2CvhtehfM0) Now for the real spring contraction and relaxation is an interessting topic I will through it! Thank you for your suggestion!
@Domjavy
@Domjavy 2 ай бұрын
SUBSCRIBING!
@YounesLab
@YounesLab 2 ай бұрын
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/KZbin-Channel/tree/main/Notebook%20Courses/Differential%20Equations
@oskarmakala
@oskarmakala 3 ай бұрын
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 3 ай бұрын
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 3 ай бұрын
Thanks for the great ideas! I can see how they can prove very useful :))
@YounesLab
@YounesLab 3 ай бұрын
Glad to read your comment! I wanted to propose something other than the conventional "Hangman / geuss the number" type of project 😄
@YounesLab
@YounesLab 3 ай бұрын
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 3 ай бұрын
This is a great video, love the deeper explanations of what’s happening fundamentally
@YounesLab
@YounesLab 3 ай бұрын
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 4 ай бұрын
Great video! Keep up the good work!
@subhashcm3002
@subhashcm3002 4 ай бұрын
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 4 ай бұрын
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 4 ай бұрын
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 4 ай бұрын
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 4 ай бұрын
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 4 ай бұрын
I am pleased to know it! Thank you for your feedback @liliklbm3607 😄
@optiondrone5468
@optiondrone5468 4 ай бұрын
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 4 ай бұрын
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 4 ай бұрын
@@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 4 ай бұрын
Jazaka Aallah khayran @optiondrone5468 ! I do hope so as well, Thank you very much 😄
@optiondrone5468
@optiondrone5468 4 ай бұрын
@@YounesLab ayak akhi, Allah Hu salmak
@antunbrnic7057
@antunbrnic7057 4 ай бұрын
This is really good. Greetings from Croatia!
@YounesLab
@YounesLab 4 ай бұрын
A pleasure to hear it! My salute to Croatians! 😄
@yugpatel1124
@yugpatel1124 5 ай бұрын
Thank you
@FeanorPhys
@FeanorPhys 5 ай бұрын
Thank you for this amazing explanation.
@Idk-mc2dd
@Idk-mc2dd 5 ай бұрын
BRO DONT STOP POSTING, Your videos are so underrated and helpful
@YounesLab
@YounesLab 5 ай бұрын
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 5 ай бұрын
Need more of this type of content, keep going
@saodatqurbonqulova1527
@saodatqurbonqulova1527 5 ай бұрын
Please can you teach me
@saodatqurbonqulova1527
@saodatqurbonqulova1527 5 ай бұрын
How to find the general solution of a system of differential equations? In case no initial condition is given
@YounesLab
@YounesLab 5 ай бұрын
@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]