1.10 problem HW 5 problem 1(b)

Internal problem ID [7038]

Book: Selected problems from homeworks from different courses
Section: Math 2520, summer 2021. Differential Equations and Linear Algebra. Normandale college, Bloomington, Minnesota
Problem number: HW 5 problem 1(b).
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _linear, _nonhomogeneous]]

\[ \boxed {y^{\prime \prime }+16 y=4 \cos \left (x \right )} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 21

dsolve(diff(y(x),x$2)+16*y(x)=4*cos(x),y(x), singsol=all)
 

\[ y \left (x \right ) = \sin \left (4 x \right ) c_{2} +\cos \left (4 x \right ) c_{1} +\frac {4 \cos \left (x \right )}{15} \]

Solution by Mathematica

Time used: 0.022 (sec). Leaf size: 26

DSolve[y''[x]+16*y[x]==4*Cos[x],y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to \frac {4 \cos (x)}{15}+c_1 \cos (4 x)+c_2 \sin (4 x) \]