Internal
problem
ID
[6496]
Book
:
Engineering
Mathematics.
By
K.
A.
Stroud.
5th
edition.
Industrial
press
Inc.
NY.
2001
Section
:
Program
25.
Second
order
differential
equations.
Further
problems
25.
page
1094
Problem
number
:
10
Date
solved
:
Wednesday, March 05, 2025 at 12:52:59 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(x),x),x)-9*y(x) = exp(3*x)+sin(x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]-9*y[x]==Exp[3*x]+Sin[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-9*y(x) - exp(3*x) - sin(x) + Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)