All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
What is Stability? Stability means that errors at any stage of the computation are not amplified but are attenuated as the computation progresses. In terms of the solution of a differential equation, a function f(x) is said to be stable if any other solution of the equation that starts out sufficiently close to it when…
Shouvik Bandopadhyay
updated on 10 Jan 2020
What is Stability?
When does a ODE becomes unstable?
ODE becomes unstable for larger time steps in explicit method.
Implicit method in unconditionally stable.
PYTHON CODE FOR EXPLICIT METHOD TO OBSERVE ODE STABILITY
import math
import matplotlib.pyplot as plt
def f(t,y):
return -1000*y-math.exp(-t)
t_start=0
t_end=0.1
n=300
dt=(t_end-t_start)/(n-1)
t=0
y_old=0
y_new=[]
for i in range(0,n):
y_new.append(y_old+dt*f(t,y_old))
y_old=y_new[i]
t=t+dt
plt.plot(y_new, color=\'green\')
plt.show()
Output of the above code for n=300 (lesser timesteps)
Clearly, the system is stable for a lesser number of time steps.
Output of the above code for n=50 (increased timesteps)
Clearly, system is unstable for more number of time steps.
How does stability affect engineering simulations?
Can stability condition be derived for all types of problems?
In general, the stability depends greatly on the form of the function and may be uncontrollable. An example for the conditions of some systems is mentioned below: -
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
FULL SCALE COMBUSTION MODELLING OF A PORT FUEL INJECTION ENGINE
…
22 Jul 2020 08:09 AM IST
Week 7: Shock tube simulation project
…
24 May 2020 08:21 PM IST
Week 8: Literature review - RANS derivation and analysis
RANS LITERATURE REVIEW: DERIVATION OF RANS EQUATONS FOR TURBULENT FLUID FLOWS OBJECTIVE To apply Reynolds Decomposition to NS Equations and obtain the expression for Reynold's Stress …
21 May 2020 05:36 PM IST
Week 5 - Compact Notation Derivation for a simple Mechanism
Please Find the solution of the challenge attached.
20 May 2020 07:20 PM IST
Related Courses
Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.
© 2025 Skill-Lync Inc. All Rights Reserved.