Internal
problem
ID
[7837]
Book
:
Schaums
Outline
Differential
Equations,
4th
edition.
Bronson
and
Costa.
McGraw
Hill
2014
Section
:
Chapter
24.
Solutions
of
linear
DE
by
Laplace
transforms.
Supplementary
Problems.
page
248
Problem
number
:
Problem
24.30
Date
solved
:
Tuesday, September 30, 2025 at 05:06:10 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
Using Laplace method With initial conditions
ode:=diff(diff(y(x),x),x)+y(x) = sin(x); ic:=[y(0) = 0, D(y)(0) = 2]; dsolve([ode,op(ic)],y(x),method='laplace');
ode=D[y[x],{x,2}]+y[x]==Sin[x]; ic={y[0]==0,Derivative[1][y][0] ==2}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x) - sin(x) + Derivative(y(x), (x, 2)),0) ics = {y(0): 0, Subs(Derivative(y(x), x), x, 0): 2} dsolve(ode,func=y(x),ics=ics)