Internal
problem
ID
[4107]
Book
:
Theory
and
solutions
of
Ordinary
Differential
equations,
Donald
Greenspan,
1960
Section
:
Chapter
2.
First
order
equations.
Exercises
at
page
14
Problem
number
:
2(g)
Date
solved
:
Sunday, March 30, 2025 at 02:18:13 AM
CAS
classification
:
[[_linear, `class A`]]
With initial conditions
ode:=diff(y(x),x)-3*y(x) = exp(3*x)+exp(-3*x); ic:=y(5) = 5; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]-3*y[x]==Exp[3*x]+Exp[-3*x]; ic=y[5]==5; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-3*y(x) - exp(3*x) + Derivative(y(x), x) - exp(-3*x),0) ics = {y(5): 5} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : The given ODE -3*y(x) - 2*cosh(3*x) + Derivative(y(x), x) cannot be solved by the factorable group method