Internal
problem
ID
[6453]
Book
:
Engineering
Mathematics.
By
K.
A.
Stroud.
5th
edition.
Industrial
press
Inc.
NY.
2001
Section
:
Program
24.
First
order
differential
equations.
Further
problems
24.
page
1068
Problem
number
:
24
Date
solved
:
Sunday, March 30, 2025 at 11:01:39 AM
CAS
classification
:
[_Bernoulli]
ode:=diff(y(x),x)-2*y(x)*tan(x) = y(x)^2*tan(x)^2; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]-2*y[x]*Tan[x]==y[x]^2*Tan[x]^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-y(x)**2*tan(x)**2 - 2*y(x)*tan(x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)