Internal
problem
ID
[22677]
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
:
54
Date
solved
:
Thursday, October 02, 2025 at 09:06:15 PM
CAS
classification
:
[[_linear, `class A`]]
With initial conditions
ode:=diff(u(t),t) = -a*(u(t)-100*t); ic:=[u(0) = 0]; dsolve([ode,op(ic)],u(t), singsol=all);
ode=D[u[t],t]== -a*(u[t]-100*t); ic={u[0]==0}; DSolve[{ode,ic},u[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") a = symbols("a") u = Function("u") ode = Eq(a*(-100*t + u(t)) + Derivative(u(t), t),0) ics = {u(0): 0} dsolve(ode,func=u(t),ics=ics)