Answer:
The solution code is written in Java.
System.out.println(numItems);
Explanation:
Java <em>println() </em>method can be used to display any string on the console terminal. We can use <em>println()</em> method to output the value held by variable <em>numItems.</em> The <em>numItems </em>is passed as the input parameter to <em>println()</em> and this will output the value of <em>numItems</em> to console terminal and at the same time the output with be ended with a newline automatically.
Answer:
The principal stresses are σp1 = 27 ksi, σp2 = -37 ksi and the shear stress is zero
Explanation:
The expression for the maximum shear stress is given:

Where
σx = stress in vertical plane = 20 ksi
σy = stress in horizontal plane = -30 ksi
τM = 32 ksi
Replacing:

Solving for τxy:
τxy = ±19.98 ksi
The principal stress is:

Where
σp1 = 20 ksi
σp2 = -30 ksi
(equation 1)
equation 2
Solving both equations:
σp1 = 27 ksi
σp2 = -37 ksi
The shear stress on the vertical plane is zero
Answer: a) 135642 b) 146253
Explanation:
A)
1- the bankers algorithm tests for safety by simulating the allocation for predetermined maximum possible amounts of all resources, as stated this has the greatest degree of concurrency.
3- reserving all resources in advance helps would happen most likely if the algorithm has been used.
5- Resource ordering comes first before detection of any deadlock
6- Thread action would be rolled back much easily of Resource ordering precedes.
4- restart thread and release all resources if thread needs to wait, this should surely happen before killing the thread
2- only option practicable after thread has been killed.
Bii) ; No. Even if deadlock happens rapidly, the safest sequence have been decided already.
Answer:
Water enters a centrifugal pump axially at atmospheric pressure at a rate of 0.12 m3/s and at a velocity of 7 m/s, and leaves in the normal direction along the pump casing, as shown in Fig. PI3-39. Determine the force acting on the shaft (which is also the force acting on the bearing of the shaft) in the axial direction.
Step-by-step solution:
Step 1 of 5
Given data:-
The velocity of water is .
The water flow rate is.
Answer: the half-angle "alpha" of the Mach cone = 30⁰
Explanation:
To calculate the half-angle "alpha" of the Mach cone.
we say ;
Sin∝ = 1 / Ma
given that Ma = 2
now we substitute
Sin∝ = 1 / 2
Sin∝ = 0.5
∝ = Sin⁻¹ 0.5
∝ = 30⁰
Therefore, the half-angle "alpha" of the Mach cone is 30⁰