Internal
problem
ID
[16522]
Book
:
INTRODUCTORY
DIFFERENTIAL
EQUATIONS.
Martha
L.
Abell,
James
P.
Braselton.
Fourth
edition
2014.
ElScAe.
2014
Section
:
Chapter
4.
Higher
Order
Equations.
Chapter
4
review
exercises,
page
219
Problem
number
:
42
Date
solved
:
Monday, March 31, 2025 at 02:55:27 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
With initial conditions
ode:=diff(diff(y(t),t),t)-4*y(t) = t; ic:=y(0) = 2, D(y)(0) = 0; dsolve([ode,ic],y(t), singsol=all);
ode=D[y[t],{t,2}]-4*y[t]==0; ic={y[0]==2,Derivative[1][y][0] ==0}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(-t - 4*y(t) + Derivative(y(t), (t, 2)),0) ics = {y(0): 2, Subs(Derivative(y(t), t), t, 0): 0} dsolve(ode,func=y(t),ics=ics)