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 17:10
The average number of vehicles waiting in line to enter a parking lot can be modeled by the function f left parenthesis x right x squared over 2 left parenthesis 1 minus x right parenthesis endfraction , where x is a number between 0 and 1 known as the traffic intensity. find the rate of change of the number of vehicles waiting with respect to the traffic intensity for the intensities (a) xequals0.3 and (b) xequals0.6.
Answers: 1
question
Mathematics, 21.06.2019 22:30
In order to be invited to tutoring or extension activities a students performance 20 point higher or lower than average for the
Answers: 1
question
Mathematics, 21.06.2019 23:30
An engineer scale model shows a building that is 3 inches tall. if the scale is 1 inch = 600 feet, how tall is the actual building?
Answers: 3
question
Mathematics, 22.06.2019 00:00
Margaret is purchasing a house for $210,000 with a 15 year fixed rate mortgage at 4.75% interest she has made a 5% down payment the house is valued at 205,000 and the local tax rate is 3.5% homeowners insurance 600 per year what are her total monthly payment
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
question
Social Studies, 21.04.2020 20:46
question
Mathematics, 21.04.2020 20:46
question
Mathematics, 21.04.2020 20:46
question
Mathematics, 21.04.2020 20:46
Questions on the website: 13722367