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:
Rate of heat loss per unit length of pipe, q' = 767.01 W/m
Explanation:
Let q' be the Rate of heat loss per unit length
Let q be the Rate of heat loss
q' = q/L
Where L is the length of the pipe
Diameter, D= 0.6m
The rate of heat loss q is given by the formula: q = Sk(T₂ - T₁)
Where k is the thermal conductivity of the concrete at 300 K
k = 1.4 Wb/m-K (at 300K)
And S is the shape factor given by the formula:
S = 2πL/ ln(1.08w/D)
S = (2π*L) / ln(1.08*1.75/0.6))
S = (2π*L) / 1.147
S = 5.48 L
q = 5.48L*1.4(400-300)
q = 767.01 L
q' = q/L
q' = 767.01L/L
q' = 767.01 W/m
Answer:
The voltage source required to provide 1.6 A of current through the 75 ohm resistance is 120 V.
Explanation:
Given;
Resistance, R₁ = 50Ω
Resistance, R₂ = 75Ω
Total resistance, R = (R₁R₂)/(R₁ + R₂)
Total resistance, R = (50 x 75)/(125)
Total resistance, R = 30 Ω
According to ohms law, sum of current in a parallel circuit is given as
I = I₁ + I₂

Voltage across each resistor is the same
V = 1.6 x R₂
V = 1.6 x 75
V = 120 V
Therefore, the voltage source required to provide 1.6 A of current through the 75 ohm resistance is 120 V.
This voltage is also the same for 50 ohms resistance but the current will be 2.4 A.
Answer:
2kg
Explanation:
Because the 2kg carries more weight, gravity will affect it more, meaning it will land on Earth's surface faster than the 1kg rock.
Answer:
-2 and 6
Explanation:
Let "x" and "y" be 2 numbers.
The sum of the two numbers is 4. The mathematical expression is:
x + y = 4
y = 4 - x [1]
The sum of their squares minus three times their product is 76. The mathematical expression is:
x² + y² - 3 x y = 76 [2]
If we substitute [1] in [2], we get:
x² + (4 - x)² - 3 x (4 - x) = 76
x² + 16 - 8 x + x² - 12 x + 3 x² = 76
5 x² - 20 x - 60 = 0
We apply the solving formula for second order equations and we get x₁ = 6 and x₂ = -2.
If we replace these x values in [1], we get:
y₁ = 4 - x₁ = 4 - 6 = -2
y₂ = 4 - x₂ = 4 - (-2) = 6
As a consequence, one of the numbers is 6 and the other is -2.