On February 21, 2001, the Library of Congress' database contained 40 terabytes of data. How many CD's would you need to hold that data?

 

Assume that the data cannot be compressed and a CD can be filled to capacity.

 

Conversion figures

1 kilobyte = 1,024 bytes

1 megabyte = 1,024 kilobytes

1 gigabyte = 1,024 megabytes

1 terabyte = 1,024 gigabytes

1 CD = 650 MB of data

 

Find the number of CD's required for this data. You must create and use variables for conversion.

 

Example: If 12 apples = 1 orange,

> apples:=12;

[Maple Math]

> 5*apples;

[Maple Math]

 

We find that 5 oranges is 60 apples.

 

Solution:

> bytes:=1; #Create variables for conversion.

[Maple Math]

> kilobytes:=1024*bytes;

[Maple Math]

> megabytes:=1024*kilobytes;

[Maple Math]

> gigabytes:=1024*megabytes;

[Maple Math]

> terabytes:=1024*gigabytes;

[Maple Math]

> cd:=650*megabytes;

[Maple Math]

 

Now that we have our conversion factors set up, we can solve the problem. (Note: your variables' names don't matter. It does matter that you set up variables for each conversion unit and used them to form new conversion units.)

 

> loc:=40*terabytes; #Let's see how many bytes are in 40 terabytes and store the value into a variable called loc.

[Maple Math]

> cds:=loc/cd; #Let's see how many CD's it would take

[Maple Math]

> cds:=evalf(cds); #Not very helpful. Let's convert it to a decimal.

[Maple Math]

 

According to Maple, you would need 64527.75 CD's. But, the last time I checked, you can't chop a CD into sections. Therefore we need to round up. You can do that in your head, or Maple has some commands to help. (Note: If you are this far, good! Now, you are not expected to know how to round in Maple. I am showing you here for informational purposes only.)

 

> ceil(cds); #Computes the next highest integer from 64527.75.

[Maple Math]

 

The Library of Congress would need 64528 CD's to hold its data.

 

Close this window