Given the initial conditions, y(0) = 1 and y (0) = 0, solve the following initial-value problem from t = 0 to 4: d2 y dt2 + 4y = 0 Obtain your solutions with (a) Eulers method and (b) the fourth-order RK method. In both cases, use a step size of 0.1. Plot both solutions on the same graph along with the exact solution y = cos 2t.

ENGR 121 B Lecture Notes for 10/31/2016 Spencer Kociba ● Calculating Standard Deviation ○ u=mean, N=number of elements in a vector N ○ SD= 1 * ∑(x(i) − u) √ N−1 k=1 ■ Take each element, subtract the mean and square it. Repeat this for all the elements in the...