44.3.5 problem 11

Internal problem ID [6986]
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 : 11
Date solved : Monday, January 27, 2025 at 02:39:52 PM
CAS classification : [[_2nd_order, _missing_x]]

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

Solution by Maple

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

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

Solution by Mathematica

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

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