Internal
problem
ID
[17304]
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
:
60
(a)
Date
solved
:
Thursday, October 02, 2025 at 02:01:16 PM
CAS
classification
:
[[_linear, `class A`]]
With initial conditions
ode:=diff(y(t),t)+1/2*y(t) = sin(t); ic:=[y(0) = a]; dsolve([ode,op(ic)],y(t), singsol=all);
ode=D[y[t],t]+y[t]/2==Sin[t]; ic={y[0]==a}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(y(t)/2 - sin(t) + Derivative(y(t), t),0) ics = {y(0): a} dsolve(ode,func=y(t),ics=ics)