This is a topic on which there's plenty of material in engineering text books and on the internet. However often, teachers, professors and sometimes even practicing engineers tend to explain these calculations as if they are teaching themselves only to leave students with stars revolving around their heads!!