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.
Answer:
Qx = 9.10
m³/s
Explanation:
given data
diameter = 85 mm
length = 2 m
depth = 9mm
N = 60 rev/min
pressure p = 11 ×
Pa
viscosity n = 100 Pas
angle = 18°
so Qd will be
Qd = 0.5 × π² ×D²×dc × sinA × cosA ..............1
put here value and we get
Qd = 0.5 × π² × ( 85
)²× 9
× sin18 × cos18
Qd = 94.305 ×
m³/s
and
Qb = p × π × D × dc³ × sin²A ÷ 12 × n × L ............2
Qb = 11 ×
× π × 85
× ( 9
)³ × sin²18 ÷ 12 × 100 × 2
Qb = 85.2 ×
m³/s
so here
volume flow rate Qx = Qd - Qb ..............3
Qx = 94.305 ×
- 85.2 ×
Qx = 9.10
m³/s
Solution :
Given :
The number of blows is given as :
0 - 6 inch = 4 blows
6 - 12 inch = 6 blows
12 - 18 inch = 6 blows
The vertical effective stress 


Now,

corrected N - value of overburden
effective stress at level of test
0 - 6 inch, 
= 9.86
6 - 12 inch, 
= 14.8
12 - 18 inch, 
= 14.8

= 13.14
= 13
Answer:
2.135
Explanation:
Lets make use of these variables
Ox 16.5 kpsi, and Oy --14,5 kpsi
To determine the factor of safety for the states of plane stress. We have to first understand the concept of Coulomb-Mohr theory.
Mohr–Coulomb theory is a mathematical model describing the response of brittle materials such as concrete, or rubble piles, to shear stress as well as normal stress.
Please refer to attachment for the step by step solution.