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:
radius = 9.1 ×
m
Explanation:
given data
applied load = 5560 N
flexural strength = 105 MPa
separation between the support = 45 mm
solution
we apply here minimum radius formula that is
radius =
.................1
here F is applied load and is length
put here value and we get
radius =
solve it we get
radius = 9.1 ×
m
Answer:
To add technology and advancements to society and make out community more advanced.
Explanation:
Answer:
work is 50 kj
Explanation:
Given data
heat (Q) = 50 kj
To find out
work input for the compression stroke per kilogram of air
Solution
we will apply here "first law of thermodynamics" i.e.
The First Law of Thermodynamics states that heat is a form of energy, subject to the principle of conservation of energy, that heat energy cannot be created or destroyed. It can be transferred from one location to another location. i.e.
ΔU = Q – W ................1
here ΔU is change in internal energy, Q is heat and W is work done
here U = 0 because air compressor the compression takes place at a constant internal energy in question
so that by equation 1
Q = W
and Q = 50
so work will be 50 kj