Discover how to calculate beta using covariance and variance in financial analysis.