answersLogoWhite

0


Best Answer

That depends on many, many factors, and has no one correct answer. The speed of the computer, the language used for the code that does the counting, even the temperature of the room, and many other things, will affect the time taken.

For example, using an old computer, I wrote a simple program in C that counts to a billion (not a trillion):

#include <stdio.h>

int main(void){

int n;

for(n = 0; n < 1000000000; n++);

return 0;

}

and it took 3.535 seconds to run, which means that if it counted up to a trillion, it would have been roughly 3535 seconds, or just under an hour.

On the other hand, I wrote a similar program in PHP, and ran it on a faster machine:

#!/usr/bin/php

<?php

for($n = 0; $n < 1000000000; $n++);

and it took 163.898 seconds, which would go up to about 46 hours, or just under two days if It counted to a trillion. That increase in time was despite the fact that the latter test was done on a faster machine. The difference is due to the way the language is processed on the computer. As stated then, there is no one answer to this question.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How long would it take a computer to count to one trillion?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Calculus

How long does it take to count to one sextillion?

Well, lets see it take 16 minutes to count to a thousand 31 billion years to count to a quintillion and very and probably and get ready 31 trillion years at least


How long would it take to count to 13 trillion?

I actually like this question. I'm going to time how long it takes me to count from 999,999,999,991 to 1,000,000,000,000. It took about 38 sec.Now I'll subtract 100,000,000,000 from 1,000,000,000,000 = 900,000,000,000If it took me 38 seconds to count 10 numbers, it will take me 9E11*38s/10 to count from 100,000,000,000 to one trillion = 3.42E12sNow I'll do the same above for 99,999,999,991 to 100,000,000,000: 30 secSo it would take me 9E10*30/10 to count the above interval = 2.7E11sAs you keep doing this method for lower and lower orders of magnitude the time becomes negligible, so I'm just going to add the first two numbers together.3.42E12+2.7E11= 3.69E12So it'll roughly take you 3,690,000,000,000 sec = 61,500,000,000 min = 1,025,000,000 hours = 42,700,000 days = 117,000 years.Better start now!EDIT!Wow, I read the question wrong. Well, now you know how long it takes to count to 1 trillion, I don't feel like going up to 13 trillion!


How long would it take to count to 4.6 billion?

Do you think it might depend on how fast you count huh do ya ? If you count one every second and never stop, it would take almost 146 years.


How long would it take to count one billions objects weighed 0.00000001 gram?

To count one billion objects, it would take you however long it takes to count one object times one billion. It does not matter how much mass the object has, so your statement of mass is meaningless.


How long would it take to count to 2000?

false i did it in under a day