subject
Mathematics, 05.07.2019 18:40 sakinahunt

Nine coins are placed in a 3x3 matrix with some face up and some face down. you can represent the state of the coins using a 3x3 matrix with values 0 (heads) and 1 (tails). here are some examples: 0 0 0 1 0 1 1 1 0 0 1 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 1 each state can also be represented using a binary number. for example, the preceding matrices correspond to the numbers: 000010000 101001100 110100001 there are a total of 512 possibilities, so you can use decimal numbers 0, 1, 2, to represent all the states of the matrix. write a program that prompts the user to enter a number between 0 and 511 and displays the corresponding matrix with the characters h and t.

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 15:50
In the following situation, determine whether you are asked to determine the number of permutations or combinations. then do the calculation how many ways are there to pick a starting five from a basketball team of twelve members? a. permutation; ps - 2520 b. combination; 1c, - 792 c. combination: 2cs - 2520 d. permutation; ps - 95040
Answers: 1
question
Mathematics, 21.06.2019 16:30
Graph red beads cost $1 an ounce and gold beads cost $3 an ounce. juanita wants to purchase a 12-ounce mixture of red and gold beads that she can sell for $2 an ounce. the solution of the system shows the number of beads needed for juanita to break even. x + y = 12, x + 3y = 24 how many ounces of red beads will juanita buy to break even? how many ounces of gold beads will she buy?
Answers: 3
question
Mathematics, 21.06.2019 19:20
Which number completes the system of linear inequalities represented by the graph? y> 2x – 2 and x + 4y 2 et 2 3 4
Answers: 3
question
Mathematics, 22.06.2019 00:00
4. bob solved the inequality problem below incorrectly. explain his error and redo the problem showing the correct answer. −2x + 5 < 17 −2x + 5-5 < 17-5 -2x/-2 < 12/-2 x < -6
Answers: 2
You know the right answer?
Nine coins are placed in a 3x3 matrix with some face up and some face down. you can represent the st...
Questions
question
Physics, 11.12.2021 01:00
question
History, 11.12.2021 01:00
question
Mathematics, 11.12.2021 01:00