1. The problem statement, all variables and given/known data y"+xy'=cos(2x), y(0)=1, y'(5)+2y(5)=10 2. Relevant equations 3. The attempt at a solution I am trying to solve this using matlab. I split the 2nd order d.e. into 2 first order d.e.'s. I set y1=y, and y2= dy/dx. Thus dy1/dx=y2 and dy2/dx= cos(2x)-x*y2. Then dy/dt= [y2; cos(2x)-x*y2]. X spans from 0 to 5, which comes easily from the problem. I know that y1(0)= 0 easily. I cannot fathom what to make of the second initial condition. I thought of integrating dy2/dx but I can't get an answer. I really have no idea where I should go.