subject
Engineering, 18.10.2019 22:30 raven1619

Agame rolls a die 10 times and counts how many times the number 5 or 6 shows up. if there are a total of seven or more times, the win is 2 dollars. a total of four or more times but less than seven, the win is 1 dollars. a total of three or less, the win is 0 dollars. write a function called dicegame that has an input row array of 10 integers representing the ten rolls of dice, and calculates the pay out. for example: > > tenrollsofdice =randi(6,1,10) > > payout= dicegame( tenrollsofdice ) tenrollsofdice = 5 6 1 6 4 1 2 4 6 6 payout = 1

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Manometers are good examples of measuring instruments, nowadays they are not as common as before. a)-capacitive probe gauges b)-gravitational gauges deformation ) gauges d)-digital gauges
Answers: 1
question
Engineering, 04.07.2019 18:10
Calculate the bore of a cylinder that has a stroke of 18 inches and an extension time of 6 seconds at a flow rate of 4 gal/min.
Answers: 3
question
Engineering, 04.07.2019 19:20
Air at a pressure of 1atm and a temperature of 40 c is in parallel flow over the top surface of a flat plate that is heated to a uniform temperature of 120 c. the plate has a length of 0.40m (in the flow direction) and a width of 0.15m. the reynolds number based on the plate length is 50, 000. what is the rate of heat transfer from the plate to the air? if the free stream velocity of the air is doubled and the pressure is increased to 10 atm what is the rate of heat transfer?
Answers: 2
question
Engineering, 06.07.2019 03:30
Abrayton cycle operates with a regenerator on the air-standard with properties evaluated at 400 k. the tem- perature of the air entering the compressor is 350k while the temperature of the air exiting the compressor is 600 k. the temperature of the air entering the turbine is 1600 k. the overall cycle produced 600 kj/kg of net work out. assuming a regenerator effectiveness of 0.8, what is the temperature of the air before heat addition (combustion)? draw this process on a t - s diagram
Answers: 3
You know the right answer?
Agame rolls a die 10 times and counts how many times the number 5 or 6 shows up. if there are a tota...
Questions
question
English, 02.03.2021 23:10
question
Biology, 02.03.2021 23:10
Questions on the website: 13722361