python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Explicit (Forward) and Implicit (Backward) Euler Methods in Python
I am trying to implement both the explicit and implicit Euler methods to approximate a solution for the following ODE:
dx/dt = -kx, where k = cos(2 pi t), and x(0) = 1
Euler's methods use finite diffe...
Savannah
Votes: 0
Answers: 2
Different output for equivalent code between Matlab and Julia
I have a working Matlab algorithm for the evolution of a pulse via solving the 1D wave equation. I know the code works and I can see the pulse traveling to the sides and bouncing off the walls, when p...
Alej
Votes: 0
Answers: 1
Minimising root function through scipy.optimize
I have code which estimates a parameter beta in an ODE system, given that all parameters are known other than beta and the peak of the 'epidemic' simulation, is 10% of the starting population. However...
Landon
Votes: 0
Answers: 1
Why do i receive an 'x' undefined error with ode23s but not with ode23 or ode15s in OCTAVE?
I'm trying to solve some ODEs in OCTAVE with solver ode23s (the exact same algorithm is running perfectly in Matlab) but i'm receiving an 'x' undefined error, while that doesn't happen when i'm using ...
Alex Chatzistavris
Votes: 0
Answers: 1