Internal
problem
ID
[1120]
Book
:
Elementary
differential
equations
and
boundary
value
problems,
10th
ed.,
Boyce
and
DiPrima
Section
:
Section
2.1.
Page
40
Problem
number
:
23
Date
solved
:
Tuesday, March 04, 2025 at 12:09:42 PM
CAS
classification
:
[[_linear, `class A`]]
With initial conditions
ode:=-2*y(t)+3*diff(y(t),t) = exp(-1/2*Pi*t); ic:=y(0) = a; dsolve([ode,ic],y(t), singsol=all);
ode=-2*y[t]+3*D[y[t],t] == Exp[-1/2*Pi*t]; 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)