Internal
problem
ID
[1126]
Book
:
Elementary
differential
equations
and
boundary
value
problems,
10th
ed.,
Boyce
and
DiPrima
Section
:
Section
2.1.
Page
40
Problem
number
:
29
Date
solved
:
Tuesday, March 04, 2025 at 12:10:30 PM
CAS
classification
:
[[_linear, `class A`]]
With initial conditions
ode:=1/4*y(t)+diff(y(t),t) = 3+2*cos(2*t); ic:=y(0) = 0; dsolve([ode,ic],y(t), singsol=all);
ode=1/4*y[t]+D[y[t],t] == 3+2*Cos[2*t]; ic=y[0]==0; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(y(t)/4 - 2*cos(2*t) + Derivative(y(t), t) - 3,0) ics = {y(0): 0} dsolve(ode,func=y(t),ics=ics)