Skip to content Skip to sidebar Skip to footer
Showing posts with the label Ode

Solving Ode With Scipy Gives Invalid Value Encountered In Double_scalars Error

I'm trying to solve the Lane-Emden equation for arbitrary values of n (polytropic index). In or… Read more Solving Ode With Scipy Gives Invalid Value Encountered In Double_scalars Error

Solving An Ode Y'=f (x) With Numerical Values Of F (x) But Without Analitical Expresion

I want to solve an ODE numerically in python, like y'=f(x) (with boundary condition y(0)=0). I … Read more Solving An Ode Y'=f (x) With Numerical Values Of F (x) But Without Analitical Expresion

Trying To Solve 2 First Order Differential Equations, Python

I am trying to solve these 2 equations bellow and I am having no luck, if anyone can point out wher… Read more Trying To Solve 2 First Order Differential Equations, Python

Overflowerror: (34, 'numerical Result Out Of Range') While Solving And Optimizing A System Of Ode's Using Pyomo?

In my attempt to optimize a process modeled by a system of ODE's, whenever I try to add a tempe… Read more Overflowerror: (34, 'numerical Result Out Of Range') While Solving And Optimizing A System Of Ode's Using Pyomo?

How To Insert List In A Ode:

I am trying to numerically solve the following ODE with boundary conditions y(x=0)=0;y(x=20)=1 Wh… Read more How To Insert List In A Ode:

Scipy.integrate.ode Gives Up On Integration

I am encountering a strange problem with scipy.integrate.ode. Here is a minimal working example: im… Read more Scipy.integrate.ode Gives Up On Integration

Cannot Import X Problem. Stiff Ode Solver For Oregonator Model

The error comes from attempting to import the Radau method from scipy.integrate (needed because the… Read more Cannot Import X Problem. Stiff Ode Solver For Oregonator Model

Is There A Better Way To Simulate Pid Control In Python With Scipy's Solve_ivp()?

I am working on a homework problem. I'm trying to simulate a PID control in Python with Scipy&#… Read more Is There A Better Way To Simulate Pid Control In Python With Scipy's Solve_ivp()?

Is This Correct For Modeling Gravity As A Second Order ODE?

This is my first question on here, so apologies if the formatting is off. I want to model Newton… Read more Is This Correct For Modeling Gravity As A Second Order ODE?

How Do I Solve A Second Order Differential Equation In R?

I am learning R to solve a second order differential equation(probably using deSolve package). Whic… Read more How Do I Solve A Second Order Differential Equation In R?