Look at the following documents:
https://www.ece.cmu.edu/~ee100/docs/Chapter8.pdf
and
Have a great day,
Pavel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------