changeset 81 | ff8d075842d5 |
parent 64 | d6f97b562424 |
child 82 | 28c8e17ab83a |
--- a/progs/drumb_sol.scala Thu Dec 01 17:08:12 2016 +0000 +++ b/progs/drumb_sol.scala Thu Dec 01 22:08:00 2016 +0000 @@ -45,6 +45,7 @@ val p_fb = get_prices(List("FB"), 2012 to 2014) val p = get_prices(List("GOOG", "AAPL"), 2005 to 2012) +get_prices(List("BIDU"), 2004 to 2008) // (2) The first function below calculates the change factor (delta) between // a price in year n and a price in year n+1. The second function calculates