Internal
problem
ID
[22693]
Book
:
Applied
Differential
Equations.
By
Murray
R.
Spiegel.
3rd
edition.
1980.
Pearson.
ISBN
978-0130400970
Section
:
Chapter
two.
First
order
and
simple
higher
order
ordinary
differential
equations.
A
Exercises
at
page
65
Problem
number
:
71
Date
solved
:
Thursday, October 02, 2025 at 09:10:48 PM
CAS
classification
:
[[_linear, `class A`]]
With initial conditions
ode:=diff(r(t),t) = exp(t)-3*r(t); ic:=[r(0) = 1]; dsolve([ode,op(ic)],r(t), singsol=all);
ode=D[r[t],{t,1}]==Exp[t]-3*r[t]; ic={r[0]==1}; DSolve[{ode,ic},r[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") r = Function("r") ode = Eq(3*r(t) - exp(t) + Derivative(y(x), x),0) ics = {r(0): 1} dsolve(ode,func=r(t),ics=ics)
ValueError : Couldnt solve for initial conditions