Questions tagged [differential-equations]

For questions about solving, analyzing, or creating differential equations to model some system. If possible, include specific tags about the type of differential equation (e.g. [tag:pde], [tag:ode], [tag:stochastic-ode]).

245 questions
13
votes
2 answers

Numerical computation of Lyapunov exponent

I'm trying to compute the Lyapunov exponent for a smooth continuous time dynamical system(say, $\dot{\bar{x}} = f(\bar x)$). I using the QR decomposition method. Here are the steps that I follow. Choose some initial condition in the basin of the…
sbp
  • 263
  • 2
  • 7
2
votes
0 answers

Find time step for Euler method in numerical solving of a system of non linear differential equations

I have a system of non linear differential equations in the form : $$\frac{dy_i}{dt}=\sum_j a_{ij} y_i y_j $$. I first tried to solve it with Python suing scipy.integrate.odeint but it is very slow. I'd like to solve it with an Euler method :…
J.A
  • 171
  • 3
1
vote
1 answer

How to solve coupled differential equations numerically?

I've just started a project, trying to do simulation of electrodynamics using the well-known Maxwell equations: $$ \nabla \cdot \mathbf E = \rho \\ \; \\ \nabla \cdot \mathbf B = 0 \\ \; \\ \nabla \times \mathbf E = -\frac{\partial \mathbf…
1
vote
1 answer

Numerical integration in 2D

I would like to solve the following problem $$ \vec{v}(x,y)= k\, \nabla \theta(x,y) $$ with respect to the unknown function $\theta$. Parameter $k$ is just a real constant quantity. I have two matrices where I have stored the values of $v_x(x,y)$…
AndreaPaco
  • 203
  • 1
  • 6
1
vote
0 answers

Second-order PDE with seven variables

I need to solve the following partial differential equation in seven variables with four boundary conditions. I don't think Mathematica has the capacity to solve this differential equation. Do you know of scientific packages which can be used to…
nightmarish
  • 141
  • 4
0
votes
0 answers

Does a warning in solve_bvp mean that the solution has to be discarded?

I am trying to solve a nonlinear and discontinuous fourth order BVP using the solve_bvp function of SciPy. My equation is $y^{(4)}=cf(y)$, where $f(y)$ is a nonlinear function. This equation is solved in the domain $x\in(0,1)$, and $f(y)=0$ when…