9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "andrey mirtchovski" <mirtchovski@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] I appear to have stumped the brains at chacha.com
Date: Tue, 16 Oct 2007 12:05:07 -0600	[thread overview]
Message-ID: <14ec7b180710161105m4111eb2gb25d0efaaeda0056@mail.gmail.com> (raw)
In-Reply-To: <13426df10710161025g11cb759apab7d4642f5ee205a@mail.gmail.com>

is this a google interview question? i love those........ NOT!

first thing to do is to limit the number from above, so at least we
know how large the playing field is:

assume a microprocessor is 1 cm³ on average. the slabs of silicone
used to make such processors are 1 m³  in volume, so one of those can
make 1 000 000 (10⁶) microprocessors. to make a single slab of
silicone 453kg of raw manufacturing-grade gravel (sand) is used,
together with 250kg of coal and other carbons.
(http://www.answers.com/topic/silicon?cat=health).

next we need to find how much sand there is in the world, and knowing
that we have certainly not exhausted all of it to make silicone (there
are still sandy beaches in some places of the world) we can calculate
an upper limit for the number of microprocessors in existence:

sand grains are 0.1mm across (on average), that means there are 1
trillion (10¹²) grains of sand in a cubic meter. the number of grains
of sand on all earth's beaches has been estimated at 10²⁴ that 10 to
the power of 24, (source: http://www.astro.utu.fi/~cflynn/sand.html),
so about 10¹² m³.

sand weighs at 1 500-1 800kg per m³
(http://www.answers.com/topic/sand?cat=health), which gives us about
1.65*10¹⁴kilograms of sand. that makes (combined with coal) roughly
about 4*10¹¹ slabs, which, at 10⁶ microprocessors per slab, gives us a
maximum number of microprocessors that can exist on an Earth with
observable sandy beaches to be 4*10¹⁷

although i'm much more inclined to just start counting from 1 when i'm
asked this type of questions.

ps: limiting that number from below is left as an exercise to the reader :)

  reply	other threads:[~2007-10-16 18:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-16 17:25 ron minnich
2007-10-16 18:05 ` andrey mirtchovski [this message]
2007-10-16 18:15   ` Francisco J Ballesteros
2007-10-16 19:24     ` Skip Tavakkolian
2007-10-16 19:56       ` erik quanstrom
2007-10-16 18:16   ` ron minnich
2007-10-16 18:17   ` erik quanstrom
2007-10-16 18:26     ` ron minnich
2007-10-16 19:15 ` Skip Tavakkolian
2007-10-16 19:59 ` Bakul Shah
2007-10-17  1:47   ` Jack Johnson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14ec7b180710161105m4111eb2gb25d0efaaeda0056@mail.gmail.com \
    --to=mirtchovski@gmail.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).