shamrock.math.euler_ode#
- shamrock.math.euler_ode(*, start: float, end: float, step: float, ode: Callable[[float, float], float], x0: float, u0: float) tuple[list[float], list[float]]#
Solve ODE with Euler method start : Lower bound of integration end : Higher bound of integration step : Step of integration ode : Ode function x0 : Initial coordinate u0 : Initial value