Answer:
#include <iostream>
using namespace std;
void PrintPopcornTime(int bagOunces) {
if(bagOunces < 3){
cout << "Too small";
cout << endl;
}
else if(bagOunces > 10){
cout << "Too large";
cout << endl;
}
else{
cout << (6 * bagOunces) << " seconds" << endl;
}
}
int main() {
PrintPopcornTime(7);
return 0;
}
Explanation:
Using C++ to write the program. In line 1 we define the header "#include <iostream>" that defines the standard input/output stream objects. In line 2 "using namespace std" gives me the ability to use classes or functions, From lines 5 to 17 we define the function "PrintPopcornTime(), with int parameter bagOunces" Line 19 we can then call the function using 7 as the argument "PrintPopcornTime(7);" to get the expected output.
Answer:
a)supplying the intake of an engine with air at a density greater than the density of the surrounding atmosphere
Explanation:
Supercharging is the process of supplying the intake of an engine with air at a density greater than the density of the surrounding atmosphere.
By doing this , it increases the power out put and increases the brake thermal efficiency of the engine.It also increases the volumetric efficiency of the engine.
So the our option a is right.
Answer:
Consider A is square matrix of order 4 x 4 generated using magic function. Augmented matrix can be generated using:
Aug=[A eye(size(A))]
Above command is tested in MATLAB command window and is attached in figure below
Answer:
slenderness ratio = 147.8
buckling load = 13.62 kips
Explanation:
Given data:
outside diameter is 3.50 inc
wall thickness 0.30 inc
length of column is 14 ft
E = 10,000 ksi
moment of inertia 

Area 


r = 1.136 in
slenderness ratio 

buckling load 


Answer:
The value of Modulus of elasticity E = 85.33 ×

Beam deflection is = 0.15 in
Explanation:
Given data
width = 5 in
Length = 60 in
Mass of the person = 125 lb
Load = 125 × 32 = 4000
We know that moment of inertia is given as


I = 1.40625 
Deflection = 0.15 in
We know that deflection of the beam in this case is given as
Δ = 

E = 85.33 ×

This is the value of Modulus of elasticity.
Beam deflection is = 0.15 in