Hence, the formula: Expected Portfolio Return ... to get the expected result of your portfolio. In order to calculate standard deviation, figure out the mean or the average in the data set.
Let's label these values W1 and W2. The standard deviation of Stock 1 and Stock 2. You can calculate these values using the formula explained above. We will label these SD1 and SD2. The covariance ...