calculate the amount a person would earn over a period of time if his or her salary were a penny the first day, two cents the second day, and so
on doubling each day.
Your total pay is 0.310000
MY QUESTION: I am having trouble finding a math equation that will double the pay for each day. I fiqured out how to get the sum and list the days but I just can't find a math formlua that will calculate the pay so that it will double each day; please help.
pay = [$.01 * 2^(day)] - $.01posted by Scott