The S&P 500 is one of the most well-known stock market indexes. It is a market-capitalization weighted…