Engineering
Engineering, 29.11.2019 04:31, naomicervero

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

answer
Answers: 3

Other questions on the subject: Engineering

image
Engineering, 03.07.2019 23:20, abbz13
Two technicians are discussing the intake air temperature (iat) sensor. technician a says that the computer uses the iat sensor as a backup to the engine coolant temperature (ect) sensor. technician b says that the powertrain control module (pcm) will subtract the calculated amount of fuel if the air measures hot. who is correct
Answers: 3
image
Engineering, 04.07.2019 18:10, ahmedeldyame
Aloaded platform of total mass 500 kg is supported by a dashpot and by a set of springs of effective stiffness 72 kn/m. it is observed that when the platform is depressed through a distance x = 12.5 cm below its equilibrium position and then released without any initial velocity; it reaches its equilibrium position in the shortest possible time without overshoot. find the position and velocity of the loaded platform 0.10 sec. after its release. if a further load of 400 kg is added to the platform, find, i) the frequency of damped vibrations, and i) the amplitude of vibration after 2 complete oscillations, given that the initial amplitude is 15 cm.
Answers: 1
image
Engineering, 04.07.2019 18:10, colin774
The higher the astm grain size number, the finer the gran is. a)-true b)-false
Answers: 2
image
Engineering, 04.07.2019 18:10, Candi9697
A-mn has a cubic structure with a0 0.8931 nm and a density of 7.47 g/cm3. b-mn has a different cubic structure, with a0 0.6326 nm and a density of 7.26 g/cm3. the atomic weight of manganese is 54.938 g/mol and the atomic radius is 0.112 nm. determine the percent volume change that would occur if a-mn transforms to b-mn.
Answers: 2
Do you know the correct 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 in other subjects:

Konu
Mathematics, 04.02.2020 11:48
Konu
English, 04.02.2020 11:48
Konu
Mathematics, 04.02.2020 11:48