How Long Would It Take A Computer To Count To One Trillion? - Answers

answersLogoWhiteCreate

0

Log inSubjects>Math>CalculusHow long would it take a computer to count to one trillion?User Avatar

Anonymous

16y agoUpdated: 4/28/2022

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

16y agoCopyAdd Your Answer

What else can I help you with?

SearchContinue Learning about Calculus

How long does it take to count to one sextillion?

If you would count to sextillion, it would take about 31.7 trillion years to finish counting with stopping. But if you stop constantly it would take about 43.7-48.3 trillion years. So it would nearly be impossible to count it all because you might not even be alive by the time when you count to a quintillion!

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 a million dollar one dollar per second?

One million seconds, which is about 11.5740741 days.

Related Questions Trending Questions I had my period July 10-15 Sex was on July 20th 27th and atleast 3 or 4 times since then I have had sore nipples a white creamy discharge and mild cramps all unnormal could I be pregnant? What does compliation mean? What is the difference between a homogeneous and a non-homogeneous differential equation? What is an inverse cosine? Why can't the sine of the theta equal 2? What is the formula for finding the circumferance of a circle? Why do you need calculus to become a pediatrician? How would you evaluate the indefinite integral -2xcos3xdx? What is the answer to the analogy mattress is to crub as blad is to what? How do you differentiate tan2 x? How much does a concrete slad 20'x20' 3 inch thick cost? What is the definition of reciprocate? What does it mean when a guy keeps going back to his ex but says he likes you? Will withecombe tutoring? What is the Derivative chain rule of (4-x)^3? What is the meaning of tractable? How much is 175 Canadian dollars in American dollars? What is the mai function of the kerbs cycle? The Cartesian coordinate system can have more than two dimensions? Can meaning be pluralized?

Resources

Leaderboard All Tags Unanswered

Top Categories

Algebra Chemistry Biology World History English Language Arts Psychology Computer Science Economics

Product

Community Guidelines Honor Code Flashcard Maker Study Guides Math Solver FAQ

Company

About Us Contact Us Terms of Service Privacy Policy Disclaimer Cookie Policy IP Issues Answers Logo Copyright ©2026 Infospace Holdings LLC, A System1 Company. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Answers.

Tag » How Long Does It Take To Count To A Trillion