Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
0 answers
175 views

I found some similar questions about quiver plots and direction fields, but I’m still confused about the meaning of these two lines in many examples: What do dx = np.ones_like(f) and dy = f mean in a ...
-2 votes
1 answer
75 views

I'm trying to numerically integrate the equations of motion for a satellite moving about a spheroidal Earth using Heun's method, but I get a RuntimeWarning: invalid value encountered in scalar divide, ...
1 vote
1 answer
182 views

First off, I just want to mention that I am a biology researcher not trained in differential equations or dynamical systems. I am doing this as an exercise to get a bit of intuitive understanding of ...
2 votes
1 answer
111 views

I'm solving Poisson equation and I've come across a problem that I cannot understand. All methods I'm using give a different result than the algebraic solution, which I believe is correct. Everything ...
0 votes
1 answer
105 views

Already tried with ddeint, does not yield good results. I have an equivalent PDE system that works just fine and I can compare results. The key of the problem is that the system is coupled, so I ...
0 votes
1 answer
176 views

I want to solve some ODE just for one time step. The time step is decided internally by the solver, not by me. Is there a python adaptive-time-step ode solver which could do this? For illustration the ...
0 votes
0 answers
66 views

I’m trying to generate a phase portrait for a system of coupled ordinary differential equations (ODEs) using Python’s scipy.integrate.solve_ivp. The system models the frequency of cooperators (x) and ...
1 vote
2 answers
128 views

the model Im trying to graph this model however I am just not sure whether my code is leading me to a reasonable solution: import numpy as np import matplotlib.pyplot as plt from scipy.integrate ...
1 vote
2 answers
113 views

I am modelling a Coupled Spring-Mass-System: Two objects with masses m1 and m2, and are coupled through springs with spring constants k1 and k2, with damping d1 and d2. Method 1: taking a cookbook-...
1 vote
1 answer
562 views

What I want to solve I solved a system of ordinary differential equations using scipy.integrate.solve_ivp and compared the results with my homemade 4th-order Runge-Kutta (RK4) implementation. ...
0 votes
0 answers
69 views

I am trying to use ND Eigensystem to find the eigenvalues of the Woods-Saxon Potential Schroedinger Equation for Oxygen. I've defined the potential and operator, but I know the functions given are ...
0 votes
0 answers
56 views

I have the following system of differential equations that arose form circuit analysis where the following simplification was made. Simplification of equations The systems of equations is as follows: ...
0 votes
1 answer
136 views

I am trying to solve this system of differential equations: The functions should behave like this, as r-> infinity (F = g = lambda = const.): A while ago I had a similar problem and a user was ...
1 vote
0 answers
96 views

I want to solve the following boundary value problem where S, k_i, x_f, α_1, and θ are known parameters. We are trying to solve for h(x), p, and θ_d. My idea was to use finite differences to create a ...
1 vote
1 answer
110 views

I'm trying to simulate the orbit of a planet using the compute_orbit method, but when I plot the resulting positions, I get a straight line instead of an expected elliptical orbit. Below are the ...

15 30 50 per page
1
2 3 4 5
...
103

AltStyle によって変換されたページ (->オリジナル) /