Portfolio theory and capm - Efficient frontier and optimal portfolio