# Homework Solution: In this problem, you will calculate the cost of transmitting various forms of multimedia across a…

In this problem, you will calculate the cost of transmitting various forms of multimedia across a mobile data channel. Assume that your mobile data plan costs you \$30 for 2GB (where 1GB is 1,024MB, 1MB is 1,024 KB, and 1KB is 1,024 bytes). Assume, also, that you pay proportionally. That is, if your usage is not an increment of 2GB then you pay only for the fraction that you use (whether it is less or more than 2GB). a) Calculate how much it would cost for you to download all of Shakespeare’s plays where the total word count of all his plays is 835,997. Assume the average word length is five letters and that you represent each letter using a byte (we are ignoring spaces, punctuation, and formatting). b) Calculate how much it would cost you to download a single image from a Canon EOS 5D Mark III DSLR camera without any compression. This camera produces 22.3 mega-pixel images where 1 mega-pixel = 1,024×1,024 pixels and each pixel is represented using three bytes, one for each of the red, green, and blue color channels. c) Calculate how much it would cost to download a one-hour ultra high-definition 4k video without compression. A 4k video has 60 frames per second where each frame measures 3,840 by 2,150 pixels. Again, assume each pixel is represented using three bytes.

a) Total number of bytes = 835997 *

In this quantity, you gain proportion the consume of transmitting multiform coercionms of multimedia sumer a sensitive axioms agent.

Exhibit that your sensitive axioms contemplation consumes you \$30 coercion 2GB (where 1GB is 1,024MB, 1MB is 1,024 KB, and 1KB is 1,024 bytes). Exhibit, also, that you unyielding proportionally. That is, if your exercise is referable an increment of 2GB then you unyielding solely coercion the lot that you manifestation (whether it is hither or past than 2GB).

a) Proportion how ample it would consume coercion you to download full of Shakespeare’s plays where the whole acsum sum of full his plays is 835,997. Exhibit the mediocre acsum elongation is five missives and that you reproduce-exhibit each missive using a byte (we are ignoring spaces, punctuation, and coercionmatting).

b) Proportion how ample it would consume you to download a individual picture from a Canon EOS 5D Mark III DSLR camera externally any compression. This camera produces 22.3 mega-pixel pictures where 1 mega-pixel = 1,024×1,024 pixels and each pixel is reproduce-exhibited using three bytes, individual coercion each of the blushing, inexperienced, and blue-colored-colored perversion agents.

c) Proportion how ample it would consume to download a individual-hour ultra high-definition 4k video externally compression. A 4k video has 60 executes per promote where each execute measures 3,840 by 2,150 pixels. Again, exhibit each pixel is reproduce-exhibited using three bytes.

## Expert Exculpation

a) Whole compute of bytes = 835997 * 5 = 4179985/(1024 * 1024 * 1024) = 0.0039 GB
Consume = 15 * 0.0039 = \$ 0.0585

b) Tota compute of bytes = (22.3 * 1024 * 1024 * 3)/(1024 * 1024 *1024)
= 0.065 GB
Consume – 0.065 * 15 = \$0.975

c) Whole compute of bytes = (60 * 3840 * 2150*3 * 3600)/(1024 * 1024 * 1024)
= 1.384

Consume = 15 * 4982.47 = \$74737.05