Answer:
A)cout<<setw(9)<<fixed<<setprecision(2)<<34.789;
B)cout<<setw(5)<<fixed<<setprecision(3)<<7.0;
C)cout<<fixed<<5.789E12;
D)cout<<left<<setw(7)<<67;
Explanation:
Stream Manipulators are special functions for use with the insertion (<<) and extraction (>>) operators on C++ stream objects, while the 'cout' statement outputs content to the standard output device in C++ programming.
setw: specifies the minimum width of the output field
setprecision: defines the number of decimal places for floating-point value formatting.
fixed: sets the format flag for floating-point streams.
left: left-aligns the output.
A) This statement shows the number 34.789 in a field that provides eight character spaces with two decimal precision. cout<<setw(9)<<fixed<<setprecision(2)<<34.789;
B) Here, the number 7.0 is displayed within six spaces with three decimal precision. cout<<setw(5)<<fixed<<setprecision(3)<<7.0;
C) This command prints 5.789e+12 in fixed-point format. cout<<fixed<<5.789E12;
D) This statement left-aligns the number 67 across a field of six spaces. cout<<left<<setw(7)<<67;
Answer:
The power of the pump is 23.09 kW.
Explanation:
Parameters
gravitational constant, 
mass flow rate, 
flow density, 
efficiency of the pump, 
output gauge pressure, 
input gauge pressure, 
cross-sectional area of output pipe, 
cross-sectional area of input pipe, 
height of discharge,
(evaluated at pump’s maximum height of 1.22 m)
input height, 
hydraulic power of the pump,
Initially, the volumetric flow (Q) needs to be determined



Next, compute the velocity (v) for both input and output






Subsequently, the total head (H) can be calculated



Finally, the computation of pump power is done as follows



Answer:
t = 5.27 years
Explanation:
Firstly, the corrosion penetration rate is defined by the formula;
CPR = (KW)/(ρAt)
Where;
K = constant based on exposed area A.
W - mass lost over time
t- duration
ρ - density
A - area exposed
From the problem, we have;
W = 7.6kg or 7.6 x 10^(6) mg
CPR = 4 mm/yr
ρ = 4.5 g/cm³
Area = 800 cm²
K is a constant valued at 87.6cm
Rearranging the CPR formula to isolate t, we derive;
t = KW/(ρA(CPR))
t = (87.6 x 7.6 x 10^(6))/(4.5 x 800 x 4) = 46233.3 hours
The duration in question needs to be expressed in years.
Thus, converting hours to years;
There are 8760 hours in a year.
Therefore;
t = 46233.3/8760 = 5.27 years.
That's correct -.-.-.-.-.-.-.-.-.-.-.-.-.- Easy.
Answer:
Ps=19.62N
Explanation:
A thorough explanation of the answer can be found in the attached files.