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