Internal
problem
ID
[15925]
Book
:
INTRODUCTORY
DIFFERENTIAL
EQUATIONS.
Martha
L.
Abell,
James
P.
Braselton.
Fourth
edition
2014.
ElScAe.
2014
Section
:
Chapter
2.
First
Order
Equations.
Exercises
2.3,
page
49
Problem
number
:
32
Date
solved
:
Monday, March 31, 2025 at 02:13:30 PM
CAS
classification
:
[_linear]
With initial conditions
ode:=(1+exp(t))*diff(y(t),t)+exp(t)*y(t) = t; ic:=y(0) = -1; dsolve([ode,ic],y(t), singsol=all);
ode=(Exp[t]+1)*D[y[t],t]+Exp[t]*y[t]==t; ic={y[0]==-1}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(-t + (exp(t) + 1)*Derivative(y(t), t) + y(t)*exp(t),0) ics = {y(0): -1} dsolve(ode,func=y(t),ics=ics)