variance of a portfolio with n assets

cities: skylines flattest vanilla map