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:
Answer:
<em>d. floor spans exceed that which is economical with site-cast or hollow-core slabs and exceed 60 feet.</em>
<em></em>
Explanation:
<em>
Double tee slabs are prestressed concrete castings usually about 100 m to 150 m long</em>. <em>They are usually used in the construction industry in structures requiring a long floor span (or roof span) exceeding 60 feet in length, that is required to bear additional load (additional load carrying capability</em>). Double tee slabs are usually employed in construction because they shorten construction time. reduce congestion at the construction site, and also reduce construction cost.
<em>They are the required choice in construction when the cost of site casting or hollow-core slabs is no longer economical due to the length of the structure exceeding 60 feet.</em>
Answer:
peak-hour volume = 1890 veh/h
Explanation:
<u>Determine the peak-hour Volume </u>
Applying the equation below
Vp = v / ( PHF * N * Fg * Fdp ) -------------- ( 1 )
where :
Vp = 1250
v ( peak - hour volume ) = ?
PHF ( peak hour factor ) = 0.84
N = 2 lanes per direction
Fg ( grade adjustment for rolling terrain ) = 0.99 ≈ 1
Fdp = 0.90
<u>Back to equation 1 </u>
v = Vp ( PHF * N * Fg * Fdp )
= 1250 ( 0.84 * 2 * 1 * 0.90 )
= 1890 veh/h
Answer:
31.1 slug, 453.4 Kg
Explanation:
given,
mass of the beam is 1000 lb
to convert mass of beam into slugs and kilograms.
1 lb is equal to 0.0311 slug
1000 lb = 1000 × 0.0311
= 31.1 slug
now, conversion of lb into kg
1 lb is equal to 0.4534 kg
so,
1000 lb = 1000 × 0.4534
= 453.4 Kg
hence, 1000 lb of beam in slugs is equal to 31.1 slugs and in kilo gram is 453.4 Kg.