Internal
problem
ID
[699]
Book
:
Differential
equations
and
linear
algebra,
3rd
ed.,
Edwards
and
Penney
Section
:
Section
1.4.
Separable
equations.
Page
43
Problem
number
:
24
Date
solved
:
Tuesday, March 04, 2025 at 11:33:03 AM
CAS
classification
:
[_separable]
With initial conditions
ode:=tan(x)*diff(y(x),x) = y(x); ic:=y(1/2*Pi) = 1/2*Pi; dsolve([ode,ic],y(x), singsol=all);
ode=Tan[x]*D[y[x],x] == y[x]; ic=y[Pi/2]==Pi/2; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-y(x) + tan(x)*Derivative(y(x), x),0) ics = {y(pi/2): pi/2} dsolve(ode,func=y(x),ics=ics)