Internal
problem
ID
[2482]
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
:
11
Date
solved
:
Sunday, March 30, 2025 at 12:02:53 AM
CAS
classification
:
[_separable]
With initial conditions
ode:=diff(y(t),t)-2*t*y(t) = t; ic:=y(0) = 1; dsolve([ode,ic],y(t), singsol=all);
ode=D[y[t],t]-2*t*y[t]==t; 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) - t + Derivative(y(t), t),0) ics = {y(0): 1} dsolve(ode,func=y(t),ics=ics)