Internal
problem
ID
[2500]
Book
:
Differential
equations
and
their
applications,
4th
ed.,
M.
Braun
Section
:
Chapter
1.
First
order
differential
equations.
Section
1.4
separable
equations.
Excercises
page
24
Problem
number
:
12
Date
solved
:
Tuesday, September 30, 2025 at 05:37:30 AM
CAS
classification
:
[_separable]
With initial conditions
ode:=3*t*diff(y(t),t) = y(t)*cos(t); ic:=[y(1) = 0]; dsolve([ode,op(ic)],y(t), singsol=all);
ode=3*t*D[y[t],t]==y[t]*Cos[t]; ic={y[1]==0}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(3*t*Derivative(y(t), t) - y(t)*cos(t),0) ics = {y(1): 0} dsolve(ode,func=y(t),ics=ics)