DEtools
bernoullisol
find solutions of a Bernoulli first order ODE
Calling Sequence
Parameters
Description
Examples
bernoullisol(lode, v)
lode
-
first order differential equation
v
dependent variable of the lode
The bernoullisol routine determines if the first argument is a first order ODE of Bernoulli type and, if so, returns a solution to the Bernoulli equation.
The first argument is a differential equation in diff or D form and the second argument is the function in the differential equation.
This function is part of the DEtools package, and so it can be used in the form bernoullisol(..) only after executing the command with(DEtools). However, it can always be accessed through the long form of the command by using DEtools[bernoullisol](..).
with⁡DEtools:
ode≔diff⁡z⁡t,t+p⁡t⁢z⁡t=q⁡t⁢z⁡t2
ode≔ⅆⅆtz⁡t+p⁡t⁢z⁡t=q⁡t⁢z⁡t2
bernoullisol⁡ode,z⁡t
z⁡t=ⅇ∫−p⁡tⅆt∫−ⅇ∫−p⁡tⅆt⁢q⁡tⅆt+c__1
ode≔diff⁡z⁡t,t+t⁢z⁡t=q⁡t⁢z⁡tn:
z⁡t=ⅇ−t2⁢n2⁢n−1⁢ⅇt22⁢n−1−n⁢∫ⅇ−t2⁢n2⁢ⅇt22⁢q⁡tⅆt+c__1+∫ⅇ−t2⁢n2⁢ⅇt22⁢q⁡tⅆt1n−1
ode≔D⁡z⁡t+t⁢z⁡t=t⁢z⁡tn:
z⁡t=11+ⅇt2⁢n−12⁢c__11n−1
See Also
dsolve
Download Help Document