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

15y 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

15y agoCopyAdd Your Answer

What else can I help you with?

SearchContinue Learning about Calculus

How long does it take to count to one sextillion?

Well, honey, if you're counting one number per second without any breaks, it would take you about 31.7 trillion years to count to one sextillion. So, grab a comfy chair, a good book, and maybe a snack because you'll be at it for a while. Good luck with that counting marathon!

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 Will using a roth IRA calculator help one prepare for retirement? What is 0.75 of 24? What is the minimum value of a call option? How much does a 12 x 12 x 12 piece of aluminum weigh? How do you know am going to have big butt? Is stubborn an adverb? Construct a graph corresponding to the linear equation y equals 2x - 6? What is 2x squared plus 2x squared? What means gradually growing larger? Is ouch an adverb? What is the inverse of y equals 4? How do you graph y equals x2 plus 3 in quadratic form? What is the value of sin58 and cos58? What is the maximal of nodes in binary tree of depth D? How do you write 812000 in words? What is the difference between a solid slat mattress and a sprung slat mattress. Which is better? Is it possible to get pregnant if you had unprotected sex on the last day of your period on a 26 day cycle? Health Savings Account (HSA) Goal Calculator? Answer 3x plus 14 equals 23? Does a can of soda have both axis of symmetry and plane symmetry?

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 ©2025 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