Answer:
The algorithm is as follows:
1. Declare Arr1 and Arr2
2. Get Input for Arr1 and Arr2
3. Initialize count to 0
4. For i in Arr2
4.1 For j in Arr1:
4.1.1 If i > j Then
4.1.1.1 count = count + 1
4.2 End j loop
4.3 Print count
4.4 count = 0
4.5 End i loop
5. End
Explanation:
This declares both arrays
1. Declare Arr1 and Arr2
This gets input for both arrays
2. Get Input for Arr1 and Arr2
This initializes count to 0
3. Initialize count to 0
This iterates through Arr2
4. For i in Arr2
This iterates through Arr1 (An inner loop)
4.1 For j in Arr1:
This checks if current element is greater than current element in Arr1
4.1.1 If i > j Then
If yes, count is incremented by 1
4.1.1.1 count = count + 1
This ends the inner loop
4.2 End j loop
Print count and set count to 0
<em>4.3 Print count</em>
<em>4.4 count = 0</em>
End the outer loop
4.5 End i loop
End the algorithm
5. End
Answer:
The Estimated uncertainty in a nominal displacement of 2 cm at the design stage is plus or minus 0.0124cm
Explanation:
uncertainty in a nominal displacement
= (u^2 + v^2)^(1/2)
assume from specifications that k = 5v/5cm
= 1v/cm
u^2 = (0.0025*2)^(2) + (0.005*10*2)^2 + (0.0025*2)^2
= 0.01225v
v = 2v * 0.001
= 0.002v
uncertainty in a nominal displacement
= (u^2 + v^2)^(1/2)
= ((0.01225)^2 + (0.002)^2)^(1/2)
= 0.0124 cm
Therefore, The Estimated uncertainty in a nominal displacement of 2 cm at the design stage is plus or minus 0.0124cm
Answer:
The database has three tables for tracking horse-riding lessons: Horse with columns: ID - primary key; RegisteredName; Breed; Height; BirthDate.
Explanation:
Answer:
1/6
Explanation:
A dice has 6 sides, the probability of 4 appearing is 1/6.
According to EonCoat, corrosion is the process of decay on a material caused by a chemical reaction with its environment. Corrosion of metal occurs when an exposed surface comes in contact with a gas or liquid, and the process is accelerated by exposure to warm temperature, acids, and salts.” (1)
Although the word ‘corrosion’ is used to describe the decay of metals, all natural and man-made materials are subject to decay, and the level of pollutants in the air can speed up this process.