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))
Answer:
a. 0.5x10⁵
Explanation:
The charge density = 10C/cm²
We are asked to find the magnitude of the electric flux density
The electric field of infinite sheet
E = σ/2Eo
We have electric density as follows:
D = EEo = EoE
Since charge density σ = 10C/cm²
σ = 10x10²C/m²
D = σ/2
10x10⁴/2
= 5x10⁴C/m²
= 0.5x10⁵C/m²
Therefore the magnitude is equal to 0.5x10⁵C/m². Which gives us option a as the answer
Answer:
Explanation:
Density is the mass per unit volume, it is usually measured in kg/m³.
The density of a crystal structure is given by:
Answer:
20 years
Explanation:
You do 2,000,000 ÷ 100,000 but you can simplify that to 20 ÷ 1 = 20
During those 20 years, the profits you earn will be 80,000 since when you do 2,000,000 x 0.04 but you can simplify that to 20,000 x 4 getting 80,000 and that quite doesn't reach 100,000 dollars