variance of a portfolio with n assets

accidentally cooked ham with plastic