Answer:
for i in range(0,10):
if SimonPattern[i] == UserPattern[i]:
score = score + 1
i = i + 1
else:
break
if i == 9:
score = score + 1
print("Total Score: {}".format(score))
Explanation:
This for loop was made using Python. Full code attached.
- For loop requires a range of numbers to define the end points. For this Simon Says game, we are talking about 10 characters, so that must be the range for the for loop: from 0 to 10.
- Conditional if tests if Simon pattern matches User's one characheter by one and add point for each match.
- Break statement is ready to escape the for loop at first mismatch.
- As we are starting from index 0, if the users matched all the characters correctly, then we need to add 1, otherwise the maximun score would be 9 and it should be 10.
Explanation:
750 microvolt is your answer
please mark as brilliant
Complete Question
The complete question is shown on the first uploaded image
Answer:
a) The required additional minterms for f so that f has eight primary implicants with two literals and no other prime implicant are
and 
b) The essential prime implicant are
and 
c) The minimum sum-of-product expression for f are
Explanation:
The explanation is shown on the second third and fourth image
Given:
diameter of sphere, d = 6 inches
radius of sphere, r =
= 3 inches
density,
= 493 lbm/ 
S.G = 1.0027
g = 9.8 m/
= 386.22 inch/ 
Solution:
Using the formula for terminal velocity,
=
(1)

where,
V = volume of sphere
= drag coefficient
Now,
Surface area of sphere, A = 
Volume of sphere, V = 
Using the above formulae in eqn (1):
= 
=
= 
Therefore, terminal velcity is given by:
=
inch/sec