# Calculate the amount of video memory required to store a graphic image that occupies

Calculate the amount of video memory required to store a graphic image that occupies a 512×512 pixel screen area, where one point can have one of 256 colors

It is known for sure that a point in the specified graphic image can have one of 256 colors:

N = 2 ^ i;

256 = 2 ^ i;

2 ^ 8 = 2 ^ i;

i = 8.

Let’s determine what the amount of video memory that will be required to store a given graphic image will be equal, when it is precisely known from the condition of our problem that its size is 512 * 512 pixels:

V = i * x * y;

V = 8 * 512 * 512 = 2097152.

Answer: The required amount of video memory is 2097152 bits.

One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.