Computer

Suppose there are b black, w white and r red tiles on a table. We are allowed to replace two tiles of different colors with the third color. Note one thing here that this third colored tile is from our pool containing infinite black, white and red tiles.
If we start replacing tiles, can we reach at a state where there is only one tile left on the table?
If YES, then how? and what will be the color of that last tile?
If NO, then why not?
You have to solve this problem with the help of pre-conditions, post-conditions and invariant.
[Example: Let’s say, there are three tiles (1 black, 1 white, 1 red) on the table.
If we pick two tiles (say 1 black and 1 white), we have to replace them with 1 red tile. Now there will be 2 red tiles on the table with no white or black tiles. ]

  1. 👍
  2. 👎
  3. 👁
  1. TELL ME THE NSWER

    1. 👍
    2. 👎
  2. 15

    1. 👍
    2. 👎

Respond to this Question

First Name

Your Response

Similar Questions

  1. statistics

    The red face cards and the black cards numbered 2-9 are put into a bag. Four cards are drawn at random without replacement. Find the following probabilities: a) All 4 cards are red b) 2 cards are red and two cards are black c) At

  2. math

    A florist has 78 white roses and 65 red roses. The florist arranges the roses into groups that have the same ratio of white roses to red roses as the whole collection of roses. How many white roses are in a group that has 10 red

  3. Math

    Barbara is tiling her craft room with square tiles. She wants 6/10 of the square tiles to be red. If she used 18 red tiles, how many square tiles will be used to cover the floor . Draw an area model to help solve

  4. Math

    Abigail is putting tiles on a tabletop she needs 48 tiles for each of eight rolls each row will have a six white tiles the rest of tiles will be purple how many purple tiles but if you need

  1. Science

    In a certain plant, red flower color(R) is dominant over white(R). if a plant heterozygous for red flower color and one with white flower are crossed, which of the following would be the expected proportion of individual in the

  2. math

    a bag contains 6 red tiles and 15 yellow tiles. remove 2 red tiles. How many yellow tiles should she remove so that the ratio of red tiles to yellow tiles in the bag stays equivalent to 6:15? show me

  3. Math

    Barbara is tiling her craft room floor with square tiles. She wants 6/10 of the square tiles be red. If she uses 18 red tiles,how many square tiles will be used to cover the floor?

  4. Math

    The real numbers $a$ and $b$ satisfy $|a| < 1$ and $|b| < 1.$ (a) In a grid that extends infinitely, the first row contains the numbers $1,$ $a,$ $a^2,$ $\dots.$ The second row contains the numbers $b,$ $ab,$ $a^2 b,$ $\dots.$ In

  1. Data Management

    You are thinking of using some leftover ceramic tiles to make a decorative border for a patio. You have ten blue, four gold, and six white tiles. In how many ways can you make the border if it requires 15 tiles and you use only

  2. math

    In a bag there are red, green, black,and white marbles. If there are 6 red, 8 green, 4 black, and 12 white and one marble is to be selected at random, what is the probability it will be white? I don't know how to solve these.

  3. Math

    If there are 6 red tiles and 5 blue tiles in a box, what are the chances that you will pick a red tile without looking?

  4. biology

    Suppose you have monohybrid snapdragons in your garden and you find that they produce red seeds to white seeds in the ratio of 3:1. If the alleles are designated R (red seeds) and r (white seeds), what are the probable phenotypes

You can view more similar questions or ask a new question.