Internal
problem
ID
[6426]
Book
:
Engineering
Mathematics.
By
K.
A.
Stroud.
5th
edition.
Industrial
press
Inc.
NY.
2001
Section
:
Program
24.
First
order
differential
equations.
Test
excercise
24.
page
1067
Problem
number
:
9
Date
solved
:
Wednesday, March 05, 2025 at 12:41:20 AM
CAS
classification
:
[_linear]
ode:=diff(y(x),x)+y(x)*tanh(x) = 2*sinh(x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+y[x]*Tanh[x]==2*Sinh[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x)*tanh(x) - 2*sinh(x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)