Internal
problem
ID
[6968]
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.
Section
1.2
Initial
value
problems.
Exercises
1.2
at
page
19
Problem
number
:
33
(c)
Date
solved
:
Wednesday, March 05, 2025 at 04:00:20 AM
CAS
classification
:
[_separable]
With initial conditions
ode:=y(x)*diff(y(x),x) = 3*x; ic:=y(-2) = 3; dsolve([ode,ic],y(x), singsol=all);
ode=y[x]*D[y[x],x]==3*x; ic={y[-2]==3}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-3*x + y(x)*Derivative(y(x), x),0) ics = {y(-2): 3} dsolve(ode,func=y(x),ics=ics)