title: Calculating Hard Disk Capacity
body: <p>Consider a disk with the following characteristics:<br>
  Number of surface 16<br>
  Number of sectors / cylinder 4096<br>
  Number of tracks per surface 2048<br>
  Number of bytes per sector 512  </p>
  
  <p>1) How many patters does the disk have ?<br>
  I got:  number of surfaces / 2 
              = 8</p>
  
  <p>2)How many sectors per tack ?<br>
  I got:  Number tracks per cylinder =  tracks per surface * surfaces<br>
              = 2048 * 16 
              = 32, 768<br>
  Number of sectors per track = number of tracks per cylinder / number of sectors per cylinder</p>
  
  <pre><code>        = 32, 768 / 4096 
          = 8  
  </code></pre>
  
  <p>3) What is the total size of this disk<br>
  I got : Total size = cylinders * surfaces * sectors per track * 512 bytes  </p>
  
  <pre><code>    = 32,768 * 16 * 8 * 512  
      = 2, 147, 483, 648 bytes  
      = 2, 097, 152 Mb  
      = 2, 048 Gb  
  </code></pre>
  
  <p>The thing is, I dont know if this is right solution         </p>