Internal
problem
ID
[3542]
Book
:
Differential
equations
and
linear
algebra,
Stephen
W.
Goode,
second
edition,
2000
Section
:
1.6,
page
50
Problem
number
:
13
Date
solved
:
Sunday, March 30, 2025 at 01:46:48 AM
CAS
classification
:
[[_linear, `class A`]]
ode:=diff(y(x),x)+alpha*y(x) = exp(beta*x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+\[Alpha]*y[x]==Exp[\[Beta]*x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") Alpha = symbols("Alpha") BETA = symbols("BETA") y = Function("y") ode = Eq(Alpha*y(x) - exp(BETA*x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)