From f0c29a3b0de455b140cddebc46a29648f37fd6f4 Mon Sep 17 00:00:00 2001 From: nandard Date: Thu, 8 Sep 2022 03:27:30 +0700 Subject: [PATCH] Add documentation --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1809454..d01c360 100644 --- a/README.md +++ b/README.md @@ -47,4 +47,6 @@ def calc_routh(self): print("SYSTEM IS UNSTABLE") ``` ```calc_routh(self)``` as the core process of this class contains initialization and process about Routh Stability Process. Firstly, it define an empty zero (basically it filled with zeros) and iteratively being inserted by ```self.den``` (refering to Routh Table principle). After that, each cell will be updated by calculating Routh Table formula -$ arr_{i,j} = \frac{arr_{i-1][0]*arr[i-2][j+1] - arr[i-2][0]*arr[i-1][j+1]}{arr_{i-1][0]} $ +```math +arr_{i,j} = \frac{arr_{i-1][0]*arr[i-2][j+1] - arr[i-2][0]*arr[i-1][j+1]}{arr_{i-1][0]} +```