variance of a portfolio with n assets

what are the functions of the church