Internal
problem
ID
[13175]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
1,
Differential
equations
and
their
solutions.
Exercises
page
13
Problem
number
:
1(a)
Date
solved
:
Monday, March 31, 2025 at 07:36:08 AM
CAS
classification
:
[[_linear, `class A`]]
ode:=diff(y(x),x)+y(x) = 1+x; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+y[x]==1+x; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x + y(x) + Derivative(y(x), x) - 1,0) ics = {} dsolve(ode,func=y(x),ics=ics)