Skip to content

MSchlumpf/lab7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Lab 7

Runge-Kutta I

Kutta's third order method has the coefficients

We want to use this method to find a stationary solution to the nonlinear Schrödinger equation

of the type

where \eta > 0.

In order to find you have to insert the Ansatz for into the time-dependent equation above. This yields a second order ordinary differential equation for . Assuming that as we can find an analytic asymptotic expression for . From the asymptotic expression we can generate initial conditions for the ODE integration.

Write a program which implements the RK methods above to solve for .

Note: The solution for this problem can also be obtained analytically as

About

Runge-Kutta

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages