Internal
problem
ID
[3538]
Book
:
Differential
equations
and
linear
algebra,
Stephen
W.
Goode,
second
edition,
2000
Section
:
1.6,
page
50
Problem
number
:
9
Date
solved
:
Sunday, March 30, 2025 at 01:46:38 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)