In three linesWork out the cost ceiling before deciding how much to investWrite the bad-day version ...