75,118 views
0 votes
0 votes
Ashley has decided to participate in a sit-up challenge. The first day, shewill complete 10 sit-ups. Every day she will do twice as many sit-ups as theday before. Write a function that would represent this situation.

User Marcus Olsson
by
3.2k points

1 Answer

7 votes
7 votes

as given that The first day, she will complete 10 sit-ups. Every day she will do twice as many sit-ups as the

day before.

So at first day: a=10

On second day: b=2a

On third day: c=2b

on 4th day: d=2c

So when we arrange it in a order


\begin{gathered} a,b,c,d\ldots\text{.} \\ a,2a,2b,2c\ldots\text{.} \\ a,2a,2(2a),2(2(2a)\ldots\text{.} \\ a,2a,4a,8a\ldots \end{gathered}

And the value of a=10: so


10,20,40,80,\ldots\text{..}

User Kranthi Guttikonda
by
3.1k points