Yes, so you might want to check other sources. It shouldn't be hard to find a source online that has the more general formula.This formula seems incomplete
For something that can be found this easily with an online search, it would be better for you to find or derive it yourself. If you have a question about what you find, you can start a new thread to ask it.if you have a source or know a formula already that would be great