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.
<?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
