Internal
problem
ID
[18445]
Book
:
Elementary
Differential
Equations.
By
R.L.E.
Schwarzenberger.
Chapman
and
Hall.
London.
First
Edition
(1969)
Section
:
Chapter
4.
Autonomous
systems.
Exercises
at
page
69
Problem
number
:
6
(iv)
Date
solved
:
Thursday, March 13, 2025 at 11:57:22 AM
CAS
classification
:
[[_2nd_order, _missing_x]]
With initial conditions
ode:=diff(diff(x(t),t),t)-2*diff(x(t),t)+2*x(t) = 0; ic:=x(0) = 0, D(x)(0) = 1; dsolve([ode,ic],x(t), singsol=all);
ode=D[x[t],{t,2}]-2*D[x[t],t]+2*x[t]==0; ic={x[0]==0,Derivative[1][x][0] == 1}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(2*x(t) - 2*Derivative(x(t), t) + Derivative(x(t), (t, 2)),0) ics = {x(0): 0, Subs(Derivative(x(t), t), t, 0): 1} dsolve(ode,func=x(t),ics=ics)