Internal
problem
ID
[7789]
Book
:
Engineering
Mathematics.
By
K.
A.
Stroud.
5th
edition.
Industrial
press
Inc.
NY.
2001
Section
:
Program
25.
Second
order
differential
equations.
Further
problems
25.
page
1094
Problem
number
:
17
Date
solved
:
Tuesday, September 30, 2025 at 05:05:28 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
With initial conditions
ode:=diff(diff(x(t),t),t)+2*diff(x(t),t)+2*x(t) = 85*sin(3*t); ic:=[x(0) = 0, D(x)(0) = -20]; dsolve([ode,op(ic)],x(t), singsol=all);
ode=D[x[t],{t,2}]+2*D[x[t],t]+2*x[t]==85*Sin[3*t]; ic={x[0]==0,Derivative[1][x][0 ]==-20}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(2*x(t) - 85*sin(3*t) + 2*Derivative(x(t), t) + Derivative(x(t), (t, 2)),0) ics = {x(0): 0, Subs(Derivative(x(t), t), t, 0): -20} dsolve(ode,func=x(t),ics=ics)