Internal
problem
ID
[2297]
Book
:
Differential
equations
and
their
applications,
3rd
ed.,
M.
Braun
Section
:
Section
1.2.
Page
6
Problem
number
:
Example
6
Date
solved
:
Tuesday, March 04, 2025 at 01:53:24 PM
CAS
classification
:
[_separable]
With initial conditions
ode:=diff(y(t),t)+2*t*y(t) = t; ic:=y(1) = 2; dsolve([ode,ic],y(t), singsol=all);
ode=D[y[t],t]+2*t*y[t]==t; ic=y[1]==2; 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(1): 2} dsolve(ode,func=y(t),ics=ics)