Solve ODEs in Excel and Python

Sdílet
Vložit
  • čas přidán 25. 07. 2024
  • Solve an ordinary differential equation in Excel with Euler's method or in Python Gekko with Orthogonal Collocation on Finite Elements. The tutorial starts with a single differential equation. The next part of the tutorial adds an objective function and an adjustable parameter in the equation to optimize the output to a target value. The final part of the video demonstrates how to use Python Gekko to solve a system of 5 differential equations and optimize to a target value.
    Source Code: apmonitor.com/do/index.php/Ma...
    0:00 Analytic and Numerical
    2:29 Solve with Excel
    6:20 Solve with Python
    9:40 Add Objective in Python
    12:02 Add Objective in Excel
    17:35 Solve 5 ODEs
    20:27 Optimize 5 ODEs
    22:24 Gekko Overview
    28:55 Course Overview
  • Věda a technologie

Komentáře • 3

  • @amianifineug1353
    @amianifineug1353 Před rokem +3

    WE ARE waiting ( good lesson)

  • @user-tv8yw6mn4j
    @user-tv8yw6mn4j Před 4 měsíci +1

    Hello, thank you for providing a detailed explanation.But I have another question: how to achieve a unified solution for many systems composed of differential equations and odeint functions

    • @apm
      @apm  Před 4 měsíci

      Here is a tutorial with Python Gekko: apmonitor.com/pdc/index.php/Main/PythonDifferentialEquations and with Python ODEINT: apmonitor.com/pdc/index.php/Main/SolveDifferentialEquations Both are capable of solving large-scale ODE systems. Gekko also solves Differential and Algebraic Equation systems.