Internal
problem
ID
[13668]
Book
:
AN
INTRODUCTION
TO
ORDINARY
DIFFERENTIAL
EQUATIONS
by
JAMES
C.
ROBINSON.
Cambridge
University
Press
2004
Section
:
Chapter
9,
First
order
linear
equations
and
the
integrating
factor.
Exercises
page
86
Problem
number
:
9.4
Date
solved
:
Monday, March 31, 2025 at 08:07:14 AM
CAS
classification
:
[[_linear, `class A`]]
ode:=diff(T(t),t) = -k*(T(t)-mu-a*cos(omega*(t-phi))); dsolve(ode,T(t), singsol=all);
ode=D[ T[t],t]==-k*(T[t]- (mu+a*Cos[ omega*(t-phi)])); ic={}; DSolve[{ode,ic},T[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") a = symbols("a") k = symbols("k") mu = symbols("mu") omega = symbols("omega") phi = symbols("phi") T = Function("T") ode = Eq(k*(-a*cos(omega*(-phi + t)) - mu + T(t)) + Derivative(T(t), t),0) ics = {} dsolve(ode,func=T(t),ics=ics)