Internal
problem
ID
[795]
Book
:
Differential
equations
and
linear
algebra,
3rd
ed.,
Edwards
and
Penney
Section
:
Chapter
1
review
problems.
Page
78
Problem
number
:
25
Date
solved
:
Saturday, March 29, 2025 at 10:28:41 PM
CAS
classification
:
[_linear]
ode:=2*y(x)+(1+x)*diff(y(x),x) = 3+3*x; dsolve(ode,y(x), singsol=all);
ode=2*y[x]+(1+x)*D[y[x],x] == 3+3*x; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-3*x + (x + 1)*Derivative(y(x), x) + 2*y(x) - 3,0) ics = {} dsolve(ode,func=y(x),ics=ics)