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: (a). E = 3.1656×10³⁴ √k/m
(b). f = 9.246 × 10¹² Hz
(c). Infrared region.
Explanation:
From Quantum Theory,
The energy of a proton is proportional to the frequency, from the equation;
E = hf
where E = energy in joules
h = planck's constant i.e. 6.626*10³⁴ Js
f = frequency
(a). from E = hf = 1 quanta
f = ω/2π
where ω = √k/m
consider 3 quanta of energy is lost;
E = 3hf = 3h/2π × √k/m
E = (3×6.626×10³⁴ / 2π) × √k/m
E = 3.1656×10³⁴ √k/m
(b). given from the question that K = 15 N/m
and mass M = 4 × 10⁻²⁶ kg
To get the frequency of the emitted photon,
Ephoton =hf = 3h/2π × √k/m (h cancels out)
f = 3h/2π × √k/m
f = 3h/2π × (√15 / 4 × 10⁻²⁶ )
f = 9.246 × 10¹² Hz
(c). The region of electromagnetic spectrum, the photon belongs to is the Infrared Spectrum because the frequency ranges from about 3 GHz to 400 THz in the electromagnetic spectrum.
Answer:
stress = 50MPa
Explanation:
given data:
Length of strain guage is 5mm
displacement
stress due to displacement in structural steel can be determined by using following relation


where E is young's modulus of elasticity
E for steel is 200 GPa

stress = 50MPa
Answer:
YES
Explanation:
If we connect batteries in series then the output voltage is the sum of the individual voltage of each battery i.e if you connect three 12 volts batteries in series then their output voltage will be 12+12+12=36 volts, but the current rating of the batteries in series will be same of the individual battery rating in 'mah'.
But when we connect the batteries in parallel their voltage is not added but their current rating in mah is addition of their individual rating.
So, If you want 24 volts from three 12 volts battery then you can connect two of them in series and the other one in parallel with them this will give 24 volts and the current will be addition of the two series batteries and the third which is in parallel with them. You can use this configuration if current value is not a big factor.
Answer:
a) 0.684
b) 0.90
Explanation:
Catalyst
EO + W → EG
<u>a) calculate the conversion exiting the first reactor </u>
CAo = 16.1 / 2 mol/dm^3
Given that there are two stream one contains 16.1 mol/dm^3 while the other contains 0.9 wt% catalyst
Vo = 7.24 dm^3/s
Vm = 800 gal = 3028 dm^3
hence Im = Vin/ Vo = (3028 dm^3) / (7.24dm^3/s) = 418.232 secs = 6.97 mins
next determine the value of conversion exiting the reactor ( Xai ) using the relation below
KIm =
------ ( 1 )
make Xai subject of the relation
Xai = KIm / 1 + KIm --- ( 2 )
<em>where : K = 0.311 , Im = 6.97 ( input values into equation 2 )</em>
Xai = 0.684
<u>B) calculate the conversion exiting the second reactor</u>
CA1 = CA0 ( 1 - Xai )
therefore CA1 = 2.5438 mol/dm^3
Vo = 7.24 dm^3/s
To determine the value of the conversion exiting the second reactor ( Xa2 ) we will use the relation below
XA2 = ( Xai + Im K ) / ( Im K + 1 ) ----- ( 3 )
<em> where : Xai = 0.684 , Im = 6.97, and K = 0.311 ( input values into equation 3 )</em>
XA2 = 0.90
<u />
<u />
<u />