Figuring displacement?

GotDart , your formula is more universal and the link to the math site is very helpful for more than just figuring displacement. Thanks