Internal
problem
ID
[6996]
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
:
23
Date
solved
:
Monday, January 27, 2025 at 02:40:14 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
✓ Solution by Maple
Time used: 0.003 (sec). Leaf size: 18
dsolve(diff(y(x),x$2)+y(x)=2*cos(x)-2*sin(x),y(x), singsol=all)
✓ Solution by Mathematica
Time used: 0.089 (sec). Leaf size: 21
DSolve[D[y[x],{x,2}]+y[x]==2*Cos[x]-2*Sin[x],y[x],x,IncludeSingularSolutions -> True]