Internal
problem
ID
[8869]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
3.0
Problem
number
:
11
Date
solved
:
Sunday, March 30, 2025 at 01:45:07 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
With initial conditions
ode:=diff(diff(y(x),x),x)+diff(y(x),x)+y(x) = sin(x); ic:=D(y)(1) = 0, y(2) = 0; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],{x,3}]+D[y[x],x]+y[x]==Sin[x]; ic={Derivative[1][y][1] == 0,y[2]==0}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
Too large to display
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x) - sin(x) + Derivative(y(x), x) + Derivative(y(x), (x, 2)),0) ics = {Subs(Derivative(y(x), x), x, 1): 0, y(2): 0} dsolve(ode,func=y(x),ics=ics)