Internal
problem
ID
[1343]
Book
:
Elementary
differential
equations
and
boundary
value
problems,
10th
ed.,
Boyce
and
DiPrima
Section
:
Chapter
3,
Second
order
linear
equations,
section
3.6,
Variation
of
Parameters.
page
190
Problem
number
:
11
Date
solved
:
Tuesday, March 04, 2025 at 12:30:14 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(t),t),t)-5*diff(y(t),t)+6*y(t) = g(t); dsolve(ode,y(t), singsol=all);
ode=D[y[t],{t,2}]-5*D[y[t],t]+6*y[t] == g[t]; ic={}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") g = Function("g") ode = Eq(-g(t) + 6*y(t) - 5*Derivative(y(t), t) + Derivative(y(t), (t, 2)),0) ics = {} dsolve(ode,func=y(t),ics=ics)