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 What is the range of the tangent function? What is the thickness of a cal king box spring? What does define a problem mean? What is 123 divided by 15? Where to find FREE solutions of Calculus by Thomas Finney 11th edition? What is 40 x 60? What is 7 equals 4 c - 5? Convert 1.5 centimeters to millimetres? How much should i charge if i mowed a persons lawn twice because the grass was too big and i raked up leaves and i cut out weeds and stuff. bout 4 hours 30 min work? How do you factorise x3 - 27? What is negative 0.755 as a fraction in simplest form? What step would you take to solve the equation x plus 11 equals 37? What does hamiltonian mean? How do you factor 20x squared minus 27x minus 8? What is the next consecutive month after April? How can you know that a value is the minimum of a function? What does it mean if there are an infinite number of solutions to a system of linear equations? How do you talk to a girl with a big butt? What is the antiderivative of e to the -x? Wat does mang the cant mean?

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