Internal
problem
ID
[13678]
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
(viii)
Date
solved
:
Wednesday, March 05, 2025 at 10:11:44 PM
CAS
classification
:
[[_2nd_order, _missing_x]]
With initial conditions
ode:=2*diff(diff(z(t),t),t)+7*diff(z(t),t)-4*z(t) = 0; ic:=z(0) = 0, D(z)(0) = 9; dsolve([ode,ic],z(t), singsol=all);
ode=D[z[t],{t,2}]+7*D[z[t],t]-4*z[t]==0; ic={z[0]==3,Derivative[1][z][0]==9}; DSolve[{ode,ic},z[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") z = Function("z") ode = Eq(-4*z(t) + 7*Derivative(z(t), t) + 2*Derivative(z(t), (t, 2)),0) ics = {z(0): 0, Subs(Derivative(z(t), t), t, 0): 9} dsolve(ode,func=z(t),ics=ics)