Music Rental Services
Auf Ruby Bitte!
>> AvgLifeSpan = {"male" => 74, "female" => 78}
=> {"female"=>78, "male"=>74}
>> serviceFee=5
=> 5
>> CurrentAge=28
=> 28
>> YearsRemaining = AvgLifeSpan["male"] - CurrentAge
=> 46
>> MonthsRemaining = YearsRemaining * 12
=> 552
>> EstimatedServiceCost = MonthsRemaining * serviceFee
=> 2760
>> CurrentSongCount=2872
=> 2872
>> CostPerSong=0.99
=> 0.99
>> TotalCurrentInvestment=CurrentSongCount * CostPerSong
=> 2843.28
So given a flat service fee for life (impossible given inflation), I'm just about to hit the tipping point. But then I remembered...
>> AbilityToPlayMyMusicAnywhereOrAnyhow="Priceless"
=> "Priceless"
