Essentially, we had to fill out a chart for all the powers of 2, up to 30.
Well, I didn't feel like doing that on my calculator 30 times. And I've always wanted to use php for my homework. So I decided to take advantage of the calculator on php, and went to writecodeonline.com/php
<?php for ($i=1;$i<=30;$i++){ echo "Day {$i}: ", pow(2,$i), "<br />"; } ?>Saved me a lot of time.
This was to show how fast an epidemic can spread