Internal
problem
ID
[22276]
Book
:
Schaums
outline
series.
Differential
Equations
By
Richard
Bronson.
1973.
McGraw-Hill
Inc.
ISBN
0-07-008009-7
Section
:
Chapter
16.
Initial-value
problems.
Solved
problems.
Page
81
Problem
number
:
16.3
Date
solved
:
Thursday, October 02, 2025 at 08:36:59 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
With initial conditions
ode:=diff(diff(y(x),x),x)+4*diff(y(x),x)+8*y(x) = sin(x); ic:=[y(0) = 1, D(y)(0) = 0]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=D[y[x],{x,2}]+4*D[y[x],{x,1}]+8*y[x]==Sin[x]; ic={y[0]==1,Derivative[1][y][0] ==0}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(8*y(x) - sin(x) + 4*Derivative(y(x), x) + Derivative(y(x), (x, 2)),0) ics = {y(0): 1, Subs(Derivative(y(x), x), x, 0): 0} dsolve(ode,func=y(x),ics=ics)