Sheneron said:
For an example: You have a computer that loses 20% of its value per year.
Would this equation not work? x(t+1) = x(t)(0.8)^t. Thats not a DE but that would work would it not?
If you mean x(t+1)= (0.8)x(t), without the "^t", yes, that would be a "difference equation" that would give the correct value for t integer valued years.
Also, let me see if I get what your saying. The DE dx/dt = -ax (where a is a constant, but not equal to -0.2), and you have to solve for a, based on conditions?[/QUOTE]
Since you were asking about the percentage change, you can take any a(0) you like. The general solution to it is x(t)= x(0)e
-at. Then x(1)= x(0)e
-a so that x(1)/x(0)= e
-a. In fact, for any two succesive years, x(t)= x(0)e
-at and x(t+1)= x(0)e
-at-a and dividing one by the other x(t+1)/x(t)= e
-a. IF a quantity loses 20% of its value per year, then that proportion would be 0.80 so you must have e
-a= .8 or a= -ln(.8) which is approximately .223. In general, if a quantity loses "k" percent of its value each year, then the proportion is 1- k/100= (100- k)/100 so we have e
-a= (100- k)/100 as I just said. Given k, you can solve that for a.