Give the formula for converting a logical block address to the cylinder number, surface number and sector number needed to access the physical block.
Assume the logical blocks are indexed from 0 to n-1. The disk drive has
c cylinders (0 .. c-1)
h heads (surfaces) (0 .. h-1)
s sectors (0 .. s-1)
The first block is at cylinder 0, surface 0, sector 0. The last block is at cylinder c-1, surface h-1, sector s-1.