44.3.27 problem 35

Internal problem ID [7008]
Book : A First Course in Differential Equations with Modeling Applications by Dennis G. Zill. 12 ed. Metric version. 2024. Cengage learning.
Section : Chapter 1. Introduction to differential equations. Review problems at page 34
Problem number : 35
Date solved : Monday, January 27, 2025 at 02:40:47 PM
CAS classification : [[_2nd_order, _missing_x]]

\begin{align*} y^{\prime \prime }+9 y&=5 \end{align*}

Solution by Maple

Time used: 0.003 (sec). Leaf size: 18

dsolve(diff(y(x),x$2)+9*y(x)=5,y(x), singsol=all)
 
\[ y = \sin \left (3 x \right ) c_{2} +\cos \left (3 x \right ) c_{1} +\frac {5}{9} \]

Solution by Mathematica

Time used: 0.012 (sec). Leaf size: 23

DSolve[D[y[x],{x,2}]+9*y[x]==5,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to c_1 \cos (3 x)+c_2 \sin (3 x)+\frac {5}{9} \]