Answer:
From the question, we have two variables
1. userNum1
2. userNum2
And we are to print "userNum1 is negative" if userNum1 is less than 0.
Then Assign userNum2 with 2 if userNum2 is greater than 10.
Otherwise, print "userNum2 is less or equal 10.".
// Program is written in C++ Programming Language
// Comments are used for explanatory purpose
// Program starts here
#include<iostream>
using namespace std;
int main ()
{
// Declare variables
int userNum1, userNum2;
// Accept input for these variables
cin>>userNum1, userNum2;
// Condition 1
if(userNum1 < 0)
{
cout<<"userNum1 is negative"<<'\n';
}
// Condition 2
if(userNum2 > 10)
{
userNum2 = 2;
}
// If condition is less than 10
else
{
cout<<"userNum2 is less or equal to 10"<<\n;
}
return 0;
}
// End of Program.
Answer:
<em>a) 42 mm</em>
<em>b) 144.4 MPa</em>
<em></em>
Explanation:
Load P = 200 kN = 200 x 10^3 N
Torque T = 1.5 kN-m = 1.5 x 10^3 N-m
maximum shear stress τ = 100 Mpa = 100 x 10^6 Pa
diameter of shaft d = ?
From T = τ * *
substituting values, we have
1.5 x 10^3 = 100 x 10^6 x x
= 7.638 x 10^-5
d = = 0.042 m = <em>42 mm</em>
b) Normal stress = P/A
where A is the area
A = = = 1.385 x 10^-3
Normal stress = (200 x 10^3)/(1.385 x 10^-3) = 144.4 x 10^6 Pa = <em>144.4 MPa</em>
Sound requires a medium to travel. Sound cannot travel in vacuum in space while light can. Therefore, the receiver from earth receives only light sent from moon, not sound.
Explanation:
- Sound is created by vibrations that requires medium to travel. The medium can be solid, liquid, or gas. Whatever it is, a medium is required.
- In space, there is no solid, liquid, or gas. In other words, it is vacuum. Sound waves cannot travel through vacuum.
- Light waves, on the other hand, can travel through vacuum. Hence, if the transmitter on moon emits sound waves and light waves, receiver from earth picks only the light waves.
Answer:
repairs are being made.
OC. Use bypass plumbing to route the incoming water around the damaged meter while repairs are made.
OD. Evacuate the workforce from the building since the lack of sanitary plumbing creates a possible health concern, then shut off water to the building for as short a time as
possible while repairs are being made.
Mark for review (Will be highlighted on the review page)
Answer:
The third digit of the student ID = 5;
Explanation:
The Array is initially empty at the starting point.
ex) if x = 2, it is enqueue dequeue enqueue dequeue