Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 10-04-2006, 01:24 PM   #1 (permalink)
 
Newb Techie

Join Date: Oct 2006

Posts: 1

Eldan

Default help

hey guys... i dunno if this is the right place to post this or what not... but anyways i have to have a formula that if i choose output 88 would give me the time it would take to display that output.
Ive been applying all kinds of thing but i cant come up with a solution... there is a hint, the formula looks something like this TIME = C*(1/2)^i where i is the output number and im supposed to figure out a CONSTANT C

can anyone help me out?
Eldan is offline  
Old 10-04-2006, 01:51 PM   #2 (permalink)
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default

I'm not really sure what you're asking, but you could record the system times before and after printing a value to the screen. The difference between the recorded times is roughly the time it took to execute the "output" code.
jaeusm is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On