Answer:
//This Program is written in C++
// Comments are used for explanatory purpose
#include <iostream>
using namespace std;
enum mailbox{open, close};
int box[149];
void closeAllBoxes();
void OpenClose();
void printAll();
int main()
{
closeAllBoxes();
OpenClose();
printAll();
return 0;
}
void closeAllBoxes()
{
for (int i = 0; i < 150; i++) //Iterate through from 0 to 149 which literarily means 1 to 150
{
box[i] = close; //Close all boxes
}
}
void OpenClose()
{
for(int i = 2; i < 150; i++) {
for(int j = i; j < 150; j += i) {
if (box[j] == close) //Open box if box is closed
box[j] = open;
else
box[j] = close; // Close box if box is opened
}
}
// At the end of this test, all boxes would be closed
}
void printAll()
{
for (int x = 0; x < 150; x++) //use this to test
{
if (box[x] = 1)
{
cout << "Mailbox #" << x+1 << " is closed" << endl;
// Print all close boxes
}
}
}
Explanation:
An ideal gas initially occupying 0.020 m3 at 1.0 MPa is quasistatically expanded inside a piston-cylinder device at a constant pressure until its volume doubles. Next the expansion is continued at constant volume till the pressure reaches half of the initial pressure. Finally it is brought back to the initial state in a polytropic process with exponent n=1.6
a. Draw the processes on a P-v diagram and calculate the total work.
b. Calculate the total heat transfered, what is the difference between the initial and final temperature?an answer is to present a question of how you are not able to join the world and how you can help please answer
Answer:

Explanation:
The pump is modelled after applying Principle of Energy Conservation, whose form is:

The head associated with the pump is cleared:

Inlet and outlet velocities are found:




Now, the head associated with the pump is finally computed:


The power that pump adds to the fluid is:



Answer:Circular
Explanation:
It’s the only thing not list under pneumatic tools♂️