|
Post by Sylph on Dec 4, 2001 21:42:29 GMT -5
can you get negative answers for the constants, like say you get a negative number for B?
|
|
|
Post by 1.8T on Dec 4, 2001 22:15:23 GMT -5
yes., cuz when u sub in the points to check they work out,.
my only explanation when getting a negative running time when u sub in a value for n that's too small, is that it takes 0 time to process., ., so anything less than or equal to 0 is 0 running time.,
|
|
|
Post by Yingster on Dec 5, 2001 18:10:43 GMT -5
anyone else getting huge numbers Input=7807100 Average execution time (in milliseconds)=1038 i must be doing something wrong but i dunno what
|
|
|
Post by 1.8T on Dec 5, 2001 19:02:22 GMT -5
anyone else getting huge numbers Input=7807100 Average execution time (in milliseconds)=1038 i must be doing something wrong but i dunno what for which? Linear?.,Quad? or NlogN? i think i have like 6 000 000 as my largest N value for linear ., taht's for 1001ms, keep in mind, the faster your processor is , the larger your n value would be., meaning, it does more executions during the same amount of time as slower processors would..
|
|
|
Post by Yingster on Dec 5, 2001 19:07:58 GMT -5
for linear
guess this number is not surprising (@_@)
|
|
|
Post by CooLiBoP on Dec 5, 2001 21:28:45 GMT -5
It depends mostly on what kind of computer you're on...if you're using CDF I can see why you are getting large numbers ;D
Anyways how did you people solve for the log one? I don't think my calculator can change the base for logs....any ideas?
EDIT: I got it
e.g. log28 = log108 / log102
|
|
|
Post by Majin_Blues on Dec 5, 2001 22:12:15 GMT -5
Anyways how did you people solve for the log one? I don't think my calculator can change the base for logs....any ideas? log rules from high school: log 210 is equal to: log 10 ------ log 2 and so on...
|
|
|
Post by Majin_Blues on Dec 6, 2001 17:29:21 GMT -5
is it just my computer or does the time fluctuate by a lot?
i mean i have a value of say 160,000 for linear and the times i end up getting range from as low as 80 to as high as 130...
are we supposed to take the average time for all 3?
|
|
|
Post by Observer on Dec 7, 2001 0:11:31 GMT -5
Mine didn't really fluctuate all that much, sure you don't have anything else running at different times?
You probably don't even care now since everyone but me is done ;D I have roughly 5 minutes of work left to do, then I can get some sleep and then wake up early to get to that drop box in time!
|
|