#### Cukkacan

##### Newbie level 5

First I would like to explain my project a little bit.

This project related to how to implent a numeric methods and prepare a module to this operation.

**Description of the project:**

*Initial voltage of capacitor will be adjust with 8 switches on spartan board and Vo value will be set with 1 button.*

While discharging capacitor, Voltage value of capacitor will be shown on the 4 digit 7-segment display unit. R=2 and C=15. They are constant.

While discharging capacitor, Voltage value of capacitor will be shown on the 4 digit 7-segment display unit. R=2 and C=15. They are constant.

You know discharge equation is included exponential expression. I figured out this step by numeric methods. I derivated Taylor series to 4th element such as 1+(t/RC)+((t/RC)^2/2!)+((t/RC)^3/3!)+((t/RC)^4/4!). This equation is equal to be exp(t/RC) and It lets me to obtain this function Vc(t)=Vo/exp(t/RC).

I'll use a frequency divider to get 1Hz'ed clock to calculate Vc value for each t value. And will display this value on display unit.

I figured out how to display each digit of any 3 digit value seperately on 7-segment.

I have stucked on the how to perform ( 1 + (t/30) +((t/30)^2/2)+((t/30)^3/6)+((t/30)^4/24) ).

Do you have any guess about this issue ?