Internal
problem
ID
[7369]
Book
:
Mathematical
Methods
in
the
Physical
Sciences.
third
edition.
Mary
L.
Boas.
John
Wiley.
2006
Section
:
Chapter
8,
Ordinary
differential
equations.
Section
13.
Miscellaneous
problems.
page
466
Problem
number
:
27
Date
solved
:
Tuesday, September 30, 2025 at 04:29:56 PM
CAS
classification
:
[[_2nd_order, _missing_x]]
With initial conditions
ode:=diff(diff(y(x),x),x)+diff(y(x),x)-6*y(x) = 6; ic:=[y(0) = 1, D(y)(0) = 4]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=D[y[x],{x,2}]+D[y[x],x]-6*y[x]==6; ic={y[0]==1,Derivative[1][y][0] ==4}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-6*y(x) + Derivative(y(x), x) + Derivative(y(x), (x, 2)) - 6,0) ics = {y(0): 1, Subs(Derivative(y(x), x), x, 0): 4} dsolve(ode,func=y(x),ics=ics)