Internal
problem
ID
[17281]
Book
:
INTRODUCTORY
DIFFERENTIAL
EQUATIONS.
Martha
L.
Abell,
James
P.
Braselton.
Fourth
edition
2014.
ElScAe.
2014
Section
:
Chapter
2.
First
Order
Equations.
Exercises
2.3,
page
49
Problem
number
:
30
Date
solved
:
Thursday, October 02, 2025 at 02:00:47 PM
CAS
classification
:
[_linear]
With initial conditions
ode:=t*diff(y(t),t)+y(t) = cos(t); ic:=[y(1/2*Pi) = 4/Pi]; dsolve([ode,op(ic)],y(t), singsol=all);
ode=t*D[y[t],t]+y[t]==Cos[t]; ic={y[Pi/2]==4/Pi}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(t*Derivative(y(t), t) + y(t) - cos(t),0) ics = {y(pi/2): 4/pi} dsolve(ode,func=y(t),ics=ics)