Internal
problem
ID
[21261]
Book
:
A
Textbook
on
Ordinary
Differential
Equations
by
Shair
Ahmad
and
Antonio
Ambrosetti.
Second
edition.
ISBN
978-3-319-16407-6.
Springer
2015
Section
:
Chapter
5.
Second
order
equations.
Excercise
5.9
at
page
119
Problem
number
:
C
16
Date
solved
:
Thursday, October 02, 2025 at 07:27:26 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
ode:=diff(diff(x(t),t),t)-x(t) = exp(k*t); dsolve(ode,x(t), singsol=all);
ode=D[x[t],{t,2}]-x[t]==Exp[k*t]; ic={}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") k = symbols("k") x = Function("x") ode = Eq(-x(t) - exp(k*t) + Derivative(x(t), (t, 2)),0) ics = {} dsolve(ode,func=x(t),ics=ics)