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 13:30
Find the x-intercept and y-intercept of the line. 3x + 5y = −15
Answers: 1
question
Mathematics, 21.06.2019 15:20
In exponential growth functions, the base of the exponent must be greater than 1,how would the function change if the base of the exponent were 1? how would the fiction change if the base of the exponent were between 0and 1
Answers: 1
question
Mathematics, 21.06.2019 22:30
What is the name of a polygon that has four congruent sides and theses angle measures 60,120,60,120?
Answers: 1
question
Mathematics, 21.06.2019 23:50
What is the scale factor of two similar pyramids with volumes of 64 cubic feet and 8 cubic feet
Answers: 1
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
Questions on the website: 13722367