Internal
problem
ID
[1110]
Book
:
Elementary
differential
equations
and
boundary
value
problems,
10th
ed.,
Boyce
and
DiPrima
Section
:
Section
2.1.
Page
40
Problem
number
:
13
Date
solved
:
Saturday, March 29, 2025 at 10:39:19 PM
CAS
classification
:
[[_linear, `class A`]]
With initial conditions
ode:=-y(t)+diff(y(t),t) = 2*exp(2*t)*t; ic:=y(0) = 1; dsolve([ode,ic],y(t), singsol=all);
ode=-y[t]+D[y[t],t] == 2*Exp[2*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(-2*t*exp(2*t) - y(t) + Derivative(y(t), t),0) ics = {y(0): 1} dsolve(ode,func=y(t),ics=ics)