Internal
problem
ID
[24170]
Book
:
Elementary
Differential
Equations.
By
Lee
Roy
Wilcox
and
Herbert
J.
Curtis.
1961
first
edition.
International
texbook
company.
Scranton,
Penn.
USA.
CAT
number
61-15976
Section
:
Chapter
5.
Special
Techniques
for
Linear
Equations.
Exercises
at
page
160
(Laplace
transform)
Problem
number
:
14
Date
solved
:
Thursday, October 02, 2025 at 10:00:25 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
Using Laplace method With initial conditions
ode:=diff(diff(y(x),x),x)+9*y(x) = 3*x-6; ic:=[y(0) = 1/3, D(y)(0) = 4/3]; dsolve([ode,op(ic)],y(x),method='laplace');
ode=D[y[x],{x,2}]+9*y[x]==3*x-6; ic={y[0]==1/3,Derivative[1][y][0] ==4/3}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-3*x + 9*y(x) + Derivative(y(x), (x, 2)) + 6,0) ics = {y(0): 1/3, Subs(Derivative(y(x), x), x, 0): 4/3} dsolve(ode,func=y(x),ics=ics)