PtMG,
At
www.TailwindGliders.com there is a FREE MS Excel spreadsheet as well as an article/tutorial called "Sailplane Calc" that will answer these questions as well as calculate these complex formulas for you as well. The spreadsheet does a little more than the links already provided but the article may help quite a bit.
All the best.
Curtis
Montana