# Getting different values for order of filter using Chebyshev method-:

Here are the 2 solutions. I am getting 2 different values of order of filter for the given question. Which is wrong and which is right? Or are both right? Please guide

$$|H(j\Omega)|=-20\log_{10}\epsilon-6(N-1)-20N\log_{10}\Omega_s$$

• Could you please use Mathjax? The last two lines are not very clear (neither is the rest, but it's legible, somehow). At any rate, the 1st formula is the correct one; I can't say anything about the 2nd one. Commented Sep 6, 2021 at 15:07
• I edited the question @aconcernedcitizen It is more clear now. I think. Commented Sep 6, 2021 at 16:20
• I personally think second formula is right(just guessing by the book that I am following). But one of my teacher taught me first formula, whereas another teacher taught me second formula, I am confused. Commented Sep 6, 2021 at 16:21
• I still can't understand: is that $\varepsilon-6CN-D$, or $\varepsilon-6(N-1)$? I would lean towards the second, but I don't know where you got that 6 and N-1 from. Can you show a reference where you got that formula? Commented Sep 6, 2021 at 16:43
• I edited the question in the main question itself(in mathjax). I think now it is understandable. I don't have the derivation as well. Commented Sep 6, 2021 at 16:50