DIFFERENTIAL EQUATIONS IN C/C++


Choose a source program (*.cpp) by clicking the appropriate button.

EULROMB.TXT
EULROMB.CPP
ADAMBASH.CPP
ADAMBASH.TXT
ADAMMOUL.CPP
TEQDIF1.CPP
RKUTTA.TXT
TEQDIFN.CPP
TEQDIFP.CPP
STORMER.CPP
STORMER.TXT
TEQDIFPC.CPP
AWP.H
AWP.CPP
TAWP.CPP
FGAUSS.CPP
T_DGLS.H
T_DGLS.CPP
URKF45.CPP
TRKF45.CPP
GEAR.H
GEAR.CPP
MGEAR.CPP
GEAR.PDF
TROS4.CPP
LAPLACE.CPP
LAPLACE1.CPP
LAPLACE2.CPP
AB_MOU.CPP
TABMOU.CPP
BULIRSCH.CPP
TBULIRSCH.CPP
EINB_RK.CPP
TEINBRK.CPP
LEGENDRE.CPP
IMPLRUKU.CPP
TIMPLRUK.CPP
M_RWP.H
RWP.CPP
M_RWP.CPP
LIMITS.CPP
TRK4.CPP
TRK4N1.CPP
EQUDIF.CPP
TEQUDIF.CPP
TSHOOT.CPP
Program Description

  • Explanation File of program below (EULROMB) NEW
  • Solve Y'= F(X,Y) with Initial Condition Y(X0)=Y0 using the Euler-Romberg Method
  • Solve Y'= F(X,Y) with Initial Condition Y(X0)=Y0 using the Adams-Bashforth Method
  • Explanation File of Program above (Adambash) NEW
  • Solve Y'= F(X,Y) with initial conditions using the Adams-Moulton Prediction-Correction Method NEW
  • Differential equations of order 1 by Runge-Kutta method of order 4
  • Explanation File of Runge-Kutta Method NEW
  • Differential equations of order N by Runge-Kutta method of order 4
  • Differential equations with p variables of order 1 by Runge-Kutta method of order 4
  • Differential equation of order 2 by Stormer method
  • Explanation File of Program above (Stormer) NEW
  • Differential equation of order 1 by Prediction-correction method
  • Header file of awp.cpp
  • Solve an ordinary system of first order differential equations using automatic step size control (used by Gear method)
  • Test program of function awp()
  • Gauss algorithm for solving linear equations (used by Gear method)
  • Header file of t_dlgs.cpp
  • Examples of 1st Order Systems of Differential Equations
  • Module used by program below (urkf45.cpp)
  • Integrate a System of Ordinary Differential Equations By the Runge-Kutta-Fehlberg method (double precision)
  • Header file of gear.cpp below
  • Implicit Gear Method Solver for program below
  • Solve a first order Stiff System of Differential Equations using the implicit Gear's method of order 4
  • Explanation File for the Gear's method
  • Solve a first order Stiff System of Differential Equations using the Rosenbrock method of order 3 or 4
  • Solve Laplace Equation by relaxation Method: d2T/dx2 + d2T/dy2 = 0 Example #1: Temperatures in a square plate with limit conditions
  • Solve Laplace Equation by relaxation Method: d2T/dx2 + d2T/dy2 = 0 (2) Example #2: Temperatures in a rectangular plate with a hole
  • Solve Laplace Equation by relaxation Method: d2T/dx2 + d2T/dy2 = 0 (3) Example #3: Idem Example #1 with new limit conditions
  • Solve an ordinary system of differential equations of first order using the predictor-corrector method of Adams-Bashforth-Moulton (used by rwp)
  • Test program of the predictor-corrector method of Adams-Bashforth-Moulton
  • Solve a system of first degree ordinary differential equations using the extrapolation method of Bulirsch-Stoer-Gragg (used by rwp)
  • Test Program of the extrapolation method of Bulirsch-Stoer-Gragg
  • Solve a system of first degree ordinary differential equations using the Runge-Kutta embedding formula of 7/8th order (used by rwp)
  • Test Program of the Runge-Kutta embedding formula of 7/8th order
  • Compute roots of a Legendre polynomial (used by implruku
  • Solve a system of first degree ordinary differential equations using the Implicit Runge-Kutta-Gauss method (used by rwp)
  • Test Program of the Implicit Runge-Kutta-Gauss Method
  • Header file of module below
  • Solve a two point boundary problem of first order with the shooting method (rwp)
  • Driver program to solve a boundary value problem for a first order DE system via the shooting method by determining an approximation for the initial values
  • Solve a boundary value problem for a second order DE using Runge-Kutta
  • Solve a first order DE system (N=2) of the form y' = F(x,y,z), z'=G(x,y,z) using a Runge-Kutta integration method
  • Solve an ordinary system of first order differential equations (N<=10) with initial conditions using a Runge-Kutta integration method
  • Module EQUDIF to solve First Order ODE systems used by program below
  • Solve an ordinary system of first order differential equations (N<=10) with initial conditions using a Runge-Kutta integration method with time step control
  • Solve a two point boundary problem of second order with the shooting method NEW


RETURN


© J-P Moreau Last modified 07/03/2016 - E-mail: jpmoreau@wanadoo.fr