# Mathematics

posted by .

Images on a computer can be stored many ways to account for quality and space issues. One of the factors we can adjust is colour depth. Colour depth determines the number of bits we use for each pixel of an image. The pixels are the small dots that make up an image. The higher the colour depth (or bit per pixel), the more distinct colours an image can have. Some standard colour depths include 2-bit (CGA), 4-bit (EGA), and 8 bit (VGA).

a) Given an image that is 1024x768 pixels determine the size (in bytes) of the image at CGA, EGA, and VGA resolutions. (2 marks)

b) An image with dimensions of 400x800 pixels is compressed to save space. The compressed file is reduced to 76% of the original size, and now measures 972800 bytes. Determine the colour depth of the original image, in bits. (3 marks)
c) A computer generated sphere is covered with a texture. A texture is single image that is repeated many times in order to save memory. Given the sphere has a diameter of 1000 pixels, how many time must a 64x64 pixel image be repeated to cover the entire sphere? (4 marks)

• Mathematics -

a) 1024x768 = 788736 pixels.
Just multiply by 2,4,8 to get # bits used
Divide by 8 to get bytes.

b) The compressed size is 972800 bytes, so the full expanded size is 972800/.76 = 1280000 bytes.

Multiply by 8 to get bits.
Divide by 400x800 to get depth

c) Area = pi d^2 = 3141593 px^2

Divide by 64x64 to get replication factor. Assuming the repetitions would exactly cover the sphere.

## Similar Questions

1. ### math

underwater pressure can be found using the formula p=L+d/33 where p is the pressure (in atmospheres), and d is the depth of the water in feet. If a scuba diver is experiencing 3.4 atmospheres of pressure, what is the depth of the diver?
2. ### probability

2.The daily production from a car factory=3 different models-A,B,C which are in two different colours-R and S. Daily the factory produces 1600 model A cars,800 of model B and 600 of model C. Overall,40% of the cars are of colour R,60% …
3. ### Chemistry

1) Bases that are soluble in water are known as alkalis. Is sodium oxide an alkali?
4. ### Math

There is exactly the same number of lollies in 10 different colours in a jar. (There are thousands of each lolly) If one lolly is picked out , the probability of being one colour is 1/10 and the second being same colour is also 1/10 …
5. ### computer

The following RAM chips are specified by the number of words times the number of bits per word. For each, specify: a. The number of address lines needed for each memory chip b. The number of data lines needed for each memory chip c. …
6. ### Basic Mathematics

A bag contains 2 red balls, 3 blue balls and 5 green balls. 3 balls are drawn at random. Find the probability that a) the 3 balls are of different colours b) 2 balls are of the same colour c) all the 3 are of the same colour.
7. ### Computer

What types of issues can you likely resolve by knowing how to access and use the Control Panel?