Internal
problem
ID
[2485]
Book
:
Differential
equations
and
their
applications,
4th
ed.,
M.
Braun
Section
:
Chapter
1.
First
order
differential
equations.
Section
1.2.
Linear
equations.
Excercises
page
9
Problem
number
:
14
Date
solved
:
Sunday, March 30, 2025 at 12:03:01 AM
CAS
classification
:
[_linear]
With initial conditions
ode:=diff(y(t),t)-2*t*y(t) = 1; ic:=y(0) = 1; dsolve([ode,ic],y(t), singsol=all);
ode=D[y[t],t]-2*t*y[t]==1; ic={y[0]==1}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(-2*t*y(t) + Derivative(y(t), t) - 1,0) ics = {y(0): 1} dsolve(ode,func=y(t),ics=ics)