# [SOLVED]Numerical analysis Matlab

#### dwsmith

##### Well-known member
$$u'' + (\delta + \epsilon\cos 2t)u = 0,$$
use the numerical method to determine its stability boundaries in the region of $-5 < \delta < 15$ and $0 < \epsilon < 30$.

Using Fourier series we have
$$\sum_{n=-\infty}^{\infty}-\delta c_ne^{int} = \sum_{n=-\infty}^{\infty}\left[\left(\frac{\epsilon}{2}c_{n-2}+\frac{\epsilon}{2}c_{n+2}-n^2c_n\right)e^{int}\right]$$
Now how do I use Matlab to do this? I don't know how to program in Matlab.