Internal
problem
ID
[6491]
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
:
5
Date
solved
:
Sunday, March 30, 2025 at 11:05:29 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(x),x),x)+diff(y(x),x)-2*y(x) = 2*cosh(2*x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]+D[y[x],x]-2*y[x]==2*Cosh[2*x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-2*y(x) - 2*cosh(2*x) + Derivative(y(x), x) + Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : Could not solve `-2*y(x) - 2*cosh(2*x) + Derivative(y(x), x) + Derivative(y(x), (x, 2))` using the method of undetermined coefficients (unable to solve for coefficients).