Congratulation Can't wait to discover your course !
@abzrg14 күн бұрын
Thank you! This is very few tutorials on this on youtube. btw, isn't that supposed to be 'axes' not 'axis' (fig, axis = ...)?
@YounesLab10 күн бұрын
True, 'axis' refers to a single object, where 'axes' refer to multiple ones within one figure. Thank you for pointing this one out! :)
@datagigs547814 күн бұрын
Congratulations! We hope to see your physics-informed machine learning course in the future.
@YounesLab10 күн бұрын
This might be happening in a near future hopefully 😁
@datagigs54789 күн бұрын
@@YounesLab will it be a separate course or integrated modules within an existing course?
@YounesLab7 күн бұрын
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! 😄
@mariatoumi752415 күн бұрын
Congratulations 🎉 !
@liliklbm360715 күн бұрын
Congrats, very well done Younes
@meriemaissiou293015 күн бұрын
CONGRATULATIONS ! 🎉
@YounesLab15 күн бұрын
Thank you for your support 👏
@michaelswahla492717 күн бұрын
thanks bro u helped me alot!!
@mariatoumi752421 күн бұрын
Great !
@meriemaissiou293025 күн бұрын
Thank you for the video !
@kirill_good_job27 күн бұрын
your tutorial good, I like it
@kirill_good_job27 күн бұрын
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_job27 күн бұрын
21:32 time
@YounesLab26 күн бұрын
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Ай бұрын
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.
@YounesLab17 күн бұрын
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Ай бұрын
Banana ist gut und günstig
@satriaginanjar1686Ай бұрын
Thanks man, this is very useful💪
@YounesLabАй бұрын
I am glad to hear it! :)
@AbdelMalekDehmousАй бұрын
I AM a huge banana fan lmao, happy to know this. Also : sending love and encouragement for whatever Ur going through.
@YounesLabАй бұрын
Ah, I see you're a man of culture as well. Thank you kind sir
@clovistanganelli9850Ай бұрын
Really impressive!! Congrats.
@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Ай бұрын
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Ай бұрын
thanks man!
@amineaissiouАй бұрын
Does it work with other fruits? (asking for a friend)
@YounesLabАй бұрын
Pretty much 🤔 depending on how brave you are you can also do it with vegetables
@pedrosilva5237Ай бұрын
i really appreciate your video.
@feweirАй бұрын
where do you take all formulas, for example that for get dd_ux and dd_uy ^
@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) kzfaq.info/get/bejne/kNuodL2pzNvaXWQ.html
@charlesaugustosantosdocarm4121Ай бұрын
Wonderful! Tank you!
@EdwardHe-jr9vg2 ай бұрын
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Ай бұрын
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)
@hakankosebas20852 ай бұрын
Could you make truck trailer dynamic system simulation?
@YounesLabАй бұрын
If you elaborate, I can have a look at it ^^'
@hakankosebas20852 ай бұрын
could you do code of "Tutorial: How to simulate the wave equation" video by Nils Berglung
@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Ай бұрын
@@YounesLab thanks
@MuhammadSaad-uk6xd2 ай бұрын
thanks
@sagarshrestha96612 ай бұрын
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
@YounesLab2 ай бұрын
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 (kzfaq.info/get/bejne/pLphaZCqttjSdp8.html) Now for the real spring contraction and relaxation is an interessting topic I will through it! Thank you for your suggestion!
@Domjavy2 ай бұрын
SUBSCRIBING!
@YounesLab2 ай бұрын
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/KZfaq-Channel/tree/main/Notebook%20Courses/Differential%20Equations
@oskarmakala3 ай бұрын
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
@YounesLab3 ай бұрын
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! :)
@soumitdas82353 ай бұрын
Thanks for the great ideas! I can see how they can prove very useful :))
@YounesLab3 ай бұрын
Glad to read your comment! I wanted to propose something other than the conventional "Hangman / geuss the number" type of project 😄
@YounesLab3 ай бұрын
If you want a more detailled tutorial let me know! I might do a 5-10 episodes series about it :) Thank y'all
@cianmcnally46943 ай бұрын
This is a great video, love the deeper explanations of what’s happening fundamentally
@YounesLab3 ай бұрын
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
@rubaiyat47124 ай бұрын
Great video! Keep up the good work!
@subhashcm30024 ай бұрын
Hello. Thank you for the informative Video Can we convert STL into HTML file in python., if so can you please guide me .
@YounesLab4 ай бұрын
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
@QBeeZzZy4 ай бұрын
Does that butterfly a reason for a tornado? Yes. Do every another atom in the universe a reason for tornado? I think also yes
@YounesLab4 ай бұрын
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 🤔
@liliklbm36074 ай бұрын
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
@YounesLab4 ай бұрын
I am pleased to know it! Thank you for your feedback @liliklbm3607 😄
@optiondrone54684 ай бұрын
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.
@YounesLab4 ай бұрын
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!
@optiondrone54684 ай бұрын
@@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.
@YounesLab4 ай бұрын
Jazaka Aallah khayran @optiondrone5468 ! I do hope so as well, Thank you very much 😄
@optiondrone54684 ай бұрын
@@YounesLab ayak akhi, Allah Hu salmak
@antunbrnic70574 ай бұрын
This is really good. Greetings from Croatia!
@YounesLab4 ай бұрын
A pleasure to hear it! My salute to Croatians! 😄
@yugpatel11245 ай бұрын
Thank you
@FeanorPhys5 ай бұрын
Thank you for this amazing explanation.
@Idk-mc2dd5 ай бұрын
BRO DONT STOP POSTING, Your videos are so underrated and helpful
@YounesLab5 ай бұрын
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!
@aymen46055 ай бұрын
Need more of this type of content, keep going
@saodatqurbonqulova15275 ай бұрын
Please can you teach me
@saodatqurbonqulova15275 ай бұрын
How to find the general solution of a system of differential equations? In case no initial condition is given
@YounesLab5 ай бұрын
@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]