Internal
problem
ID
[1103]
Book
:
Elementary
differential
equations
and
boundary
value
problems,
10th
ed.,
Boyce
and
DiPrima
Section
:
Section
2.1.
Page
40
Problem
number
:
6
Date
solved
:
Saturday, March 29, 2025 at 10:39:02 PM
CAS
classification
:
[_linear]
ode:=2*y(t)+t*diff(y(t),t) = sin(t); dsolve(ode,y(t), singsol=all);
ode=2*y[t]+t*D[y[t],t]== Sin[t]; ic={}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(t*Derivative(y(t), t) + 2*y(t) - sin(t),0) ics = {} dsolve(ode,func=y(t),ics=ics)