Challenge: Constrained Optimization
Evaluate yourself on the concepts learned in this chapter via a coding exercise.
We'll cover the following
Problem statement
Suppose you have $10000 to invest in the stock market and you want to diversify your portfolio among three different stocks: Stock 1 (STK1), Stock 2 (STK2), and Stock 3 (STK3). You have the following information on the expected return of these three stocks based on their five-year compound annual growth rate (CAGR):
Get hands-on with 1200+ tech skills courses.