Greetings MHF users!

In my Algebra class we went over some applications. (It Was very quick, a few examples for homework purposes and then it was over.) Anyways, with the abundance of time on my hands I wanted to make an Exponential Growth/Decay solver. It will be able to find a missing variable (Any of them as long as the user has the majority of the other variables). Here is my question.

Will both of these formula's work for Decay?

A(t) = A(1/2)^(t/h)

Where...

A = The start amount.

A(t) = The amount at time 't'. (or the end amount)

t = Time

h = Half-life

&

A(t) = Ae^(kt)

Where...

k = Decay rate (K < 0)

A = The start amount.

A(t) = The amount at time 't'. (or the end amount)

e = the base of natural log.

To conclude, Will be able to use both of these? Or will I be better of sticking to one?

Also, If i can use these, I have a few more questions!

Thanks, Tyler