stockamount investedstock a$1,000stock b$2,000stock c$1,000stock d$4,000calculate the weight of each stock in the portfolio (the percentage invested in each stock).