Internal
problem
ID
[13682]
Book
:
AN
INTRODUCTION
TO
ORDINARY
DIFFERENTIAL
EQUATIONS
by
JAMES
C.
ROBINSON.
Cambridge
University
Press
2004
Section
:
Chapter
12,
Homogeneous
second
order
linear
equations.
Exercises
page
118
Problem
number
:
12.1
(xii)
Date
solved
:
Wednesday, March 05, 2025 at 10:11:53 PM
CAS
classification
:
[[_2nd_order, _missing_x]]
With initial conditions
ode:=diff(diff(y(t),t),t)+diff(y(t),t)-2*y(t) = 0; ic:=y(0) = 4, D(y)(0) = -4; dsolve([ode,ic],y(t), singsol=all);
ode=D[y[t],{t,2}]+D[y[t],t]-2*y[t]==0; ic={y[0]==4,Derivative[1][y][0] ==-4}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(-2*y(t) + Derivative(y(t), t) + Derivative(y(t), (t, 2)),0) ics = {y(0): 4, Subs(Derivative(y(t), t), t, 0): -4} dsolve(ode,func=y(t),ics=ics)