Internal
problem
ID
[3619]
Book
:
Differential
equations
and
linear
algebra,
Stephen
W.
Goode
and
Scott
A
Annin.
Fourth
edition,
2015
Section
:
Chapter
1,
First-Order
Differential
Equations.
Section
1.6,
First-Order
Linear
Differential
Equations.
page
59
Problem
number
:
Problem
10
Date
solved
:
Tuesday, September 30, 2025 at 06:48:35 AM
CAS
classification
:
[_linear]
ode:=t*diff(x(t),t)+2*x(t) = 4*exp(t); dsolve(ode,x(t), singsol=all);
ode=t*D[x[t],t]+2*x[t]==4*Exp[t]; ic={}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(t*Derivative(x(t), t) + 2*x(t) - 4*exp(t),0) ics = {} dsolve(ode,func=x(t),ics=ics)