Answer:
The code is given below in python
# Code Block 1
count = 0 # count variable
total = 0 # total variable
enter = '' # input variable
while enter != 'stop':
enter = input('Enter a grade:' )
if enter != 'stop' and enter.isdigit():
total += int(enter) # add to total value
count = count + 1 # then to the count
print float(total) / count
# Code Block 2
numbers = []
while enter != 'stop':
enter = input('Enter a grade:' )
if enter != 'stop':
numbers.append(int(enter))
print sum(numbers) / float(len(numbers))
Types of Problems
Inappropriate intersection traffic control.
Inadequate visibility of the intersection or regulatory traffic control devices.
Inadequate intersection sight distance.
Inadequate guidance for motorists.
Excessive intersection conflicts within or near the intersection.
Vehicle conflicts with non-motorists.
Answer:
t=2.025 inches
Explanation:
Given that
P = 400 Psi
Yield stress ,σ = 80 ksi
Diameter ,d= 45 ft
We know that
1 ft = 12 inches
d= 540 inches
Factor of safety ,K= 3
The required thickness given as

t=thickness


t=2.025 inches
Therefore thickness will be 2.025 inches.