Internal
problem
ID
[6901]
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.
Exercises
1.1
at
page
12
Problem
number
:
28
Date
solved
:
Wednesday, March 05, 2025 at 02:50:03 AM
CAS
classification
:
[_linear]
ode:=2*x*diff(y(x),x)-y(x) = 2*x*cos(x); dsolve(ode,y(x), singsol=all);
ode=2*x*D[y[x],x]-y[x]==2*x*Cos[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-2*x*cos(x) + 2*x*Derivative(y(x), x) - y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)