Exercise

Compute simple total returns and dividend yields

Suppose Amazon paid a $0.10 per share cash dividend at the end of October. Compute the monthly simple total return on Amazon and the monthly dividend yield.

Instructions

100 XP
  • Assign to DA the cash dividend per share.
  • Compute the monthly simple total return and assign it to RA_total.
  • Compute the monthly dividend yield and assign it to DY.