Solving Differential Equations using scipy.odeint in Python!

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

Комментарии • 13

  • @Idk-mc2dd
    @Idk-mc2dd 9 месяцев назад +2

    BRO DONT STOP POSTING, Your videos are so underrated and helpful

    • @YounesLab
      @YounesLab  9 месяцев назад

      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!

  • @antunbrnic7057
    @antunbrnic7057 8 месяцев назад

    This is really good. Greetings from Croatia!

    • @YounesLab
      @YounesLab  8 месяцев назад

      A pleasure to hear it! My salute to Croatians! 😄

  • @sagarshrestha9661
    @sagarshrestha9661 6 месяцев назад

    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  6 месяцев назад

      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 (ruclips.net/video/nT16-yQrnFk/видео.html)
      Now for the real spring contraction and relaxation is an interessting topic I will through it! Thank you for your suggestion!

  • @amineaissiou
    @amineaissiou 10 месяцев назад

    Nice work

  • @lionelmartinez6810
    @lionelmartinez6810 10 месяцев назад

    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?

  • @lionelmartinez6810
    @lionelmartinez6810 10 месяцев назад

    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  10 месяцев назад +1

      Thank you for your suggestion Lionel, I will take the time to Investigate about this subject.
      Fair Well

  • @saodatqurbonqulova1527
    @saodatqurbonqulova1527 9 месяцев назад

    How to find the general solution of a system of differential equations? In case no initial condition is given

    • @YounesLab
      @YounesLab  9 месяцев назад

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

  • @saodatqurbonqulova1527
    @saodatqurbonqulova1527 9 месяцев назад

    Please can you teach me