variance of a portfolio with n assets

who is nick's friend on the resident