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

#1 Vodkacannon  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 64
  • 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  Icon User is offline

  • Pancakes!
  • member icon


Reputation: 7564
  • View blog
  • Posts: 12,688
  • 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.
Was This Post Helpful? 1
  • +
  • -

#3 Korupt  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 21
  • View blog
  • 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).
Was This Post Helpful? 1
  • +
  • -

#4 Vodkacannon  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 64
  • Joined: 07-November 11

Re: Exponential Tick

Posted 10 May 2012 - 02:20 PM

Appreciated. Problem solved.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1