Internal
problem
ID
[17288]
Book
:
Differential
equations.
An
introduction
to
modern
methods
and
applications.
James
Brannan,
William
E.
Boyce.
Third
edition.
Wiley
2015
Section
:
Chapter
2.
First
order
differential
equations.
Section
2.2
(Linear
equations:
Method
of
integrating
factors).
Problems
at
page
54
Problem
number
:
23
Date
solved
:
Monday, March 31, 2025 at 03:48:54 PM
CAS
classification
:
[[_linear, `class A`]]
With initial conditions
ode:=3*diff(y(t),t)-2*y(t) = exp(-1/2*Pi*t); ic:=y(0) = a; dsolve([ode,ic],y(t), singsol=all);
ode=3*D[y[t],t]-2*y[t]==Exp[-Pi*t/2]; ic={y[0]==a}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(-2*y(t) + 3*Derivative(y(t), t) - exp(-pi*t/2),0) ics = {y(0): a} dsolve(ode,func=y(t),ics=ics)