Internal
problem
ID
[14702]
Book
:
DIFFERENTIAL
EQUATIONS
by
Paul
Blanchard,
Robert
L.
Devaney,
Glen
R.
Hall.
4th
edition.
Brooks/Cole.
Boston,
USA.
2012
Section
:
Chapter
1.
First-Order
Differential
Equations.
Review
Exercises
for
chapter
1.
page
136
Problem
number
:
30
Date
solved
:
Thursday, March 13, 2025 at 04:15:33 AM
CAS
classification
:
[_separable]
With initial conditions
ode:=diff(x(t),t) = -x(t)*t; ic:=x(0) = exp(1); dsolve([ode,ic],x(t), singsol=all);
ode=D[x[t],t]==-t*x[t]; ic={x[0]==Exp[1]}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(t*x(t) + Derivative(x(t), t),0) ics = {x(0): E} dsolve(ode,func=x(t),ics=ics)