variance of a portfolio with n assets

how did gardening help a samurai prepare for battle