# Exponential Tick

Page 1 of 1

## 3 Replies - 1114 Views - Last Post: 10 May 2012 - 02:20 PM

### #1 Vodkacannon

Reputation: 0
• Posts: 67
• Joined: 07-November 11

# Exponential Tick

Posted 09 May 2012 - 12:25 PM

I have a C++ program that ticks 1000 times. The ticks start at a 1 second interval. Each preceeding tick is 1 milliseconds faster than the previous tick. How long does it take for the tick time to reach 0? What sort of model could I use to find the answer. Is it possible with the exponential growth function, with calculus?
Is This A Good Question/Topic? 0

## Replies To: Exponential Tick

### #2 jon.kiparsky

• Beginner

Reputation: 11021
• Posts: 18,804
• Joined: 19-March 11

## Re: Exponential Tick

Posted 09 May 2012 - 01:10 PM

Does it help to think of it as the sum of the series?

f(n) = (1+2+3+...n)

You want n such that f(n) >= 1000.

### #3 Korupt

Reputation: 21
• Posts: 185
• Joined: 22-June 08

## Re: Exponential Tick

Posted 09 May 2012 - 05:00 PM

I would think something like this should work: http://www.wolframal...999+of+1-n*.001

Where your first tick is 1 second (n=0) and each tick thereafter decreases by a millisecond (0.001 of a second).

### #4 Vodkacannon

Reputation: 0
• Posts: 67
• Joined: 07-November 11

## Re: Exponential Tick

Posted 10 May 2012 - 02:20 PM

Appreciated. Problem solved.