Quantcast
Channel: MaplePrimes - Questions and Posts tagged with perturbation
Viewing all 22 articles
Browse latest View live

A book in progress, relying on Jupyter notebooks with Maple

$
0
0

My friend and colleague Nic Fillion and I are writing another book, this one on perturbation methods using backward error analysis (and Maple).  We have decided to make the supporting materials available by means of Jupyter notebooks with a Maple kernel (there are some Maple worksheets and workbooks already, but going forward we will use Jupyter).

The presentation style is meant to aid reproducibility, and to allow others to solve related problems by changing the scripts as needed.

The first one is up at 

https://github.com/rcorless/Perturbation-Methods-in-Maple

Comments very welcome.  This particular method is a bit advanced in theory (but it's very simple in practice, for weakly nonlinear oscillators).  I haven't coded for efficiency and there may be some improvements possible ("may" he says, sheesh).  Comments on that are also welcome.

-r


Solving an ODE perturbation problem.

$
0
0

I have this problem:

(x'+x''+epsilon/x)(x'-(x')^3/3!)(x''-(x'')^3/3!)(epsilon/x -(epsilon/x)^3/3!)=1

x(0)=epsilon , x'(epsilon)=epsilon+epsilon^{-1}

0<epsilon<<1

Now I want to try the ansatz: x(epsilon,t)=x_{-1}(t)/epsilon+x_0(t)+x_1(t)epsilon.

Can you suggest me a way to implement this ansatz (i.e finding x_{-1}(t),x_0(t),x_1(t)).

Appreciate your time!

Viewing all 22 articles
Browse latest View live