Answer:
1. cout << "Num: " << songNum << endl;
2. cout << songNum << endl;
3. cout << songNum <<" songs" << endl;
Explanation:
//Full Code
#include <iostream>
using namespace std;
int main ()
{
int songNum;
songNum = 5;
cout << "Num: " << songNum << endl;
cout << songNum << endl;
cout << songNum <<" songs" << endl;
return 0;
}
1. The error in the first cout statement is that variable songnum is not declared.
C++ is a case sensitive programme language; it treats upper case and lower case characters differently.
Variable songNum was declared; not songnum.
2. Cout us used to print a Variable that has already been declared.
The error arises in int songNum in the second cout statement.
3. When printing more than one variables or values, they must be separated with <<
Answer:
Parallelogram law of vector addition states that if two vectors are considered to be the adjacent sides of a parallelogram, then the resultant of the two vectors is given by the vector that is diagonal passing through the point of contact of two vectors.
They all share the way that they are fundamentally designed: if they are quite complex, they will share the same basic logic foundations, like the way that the programming languages work. They also all share the method of construction and common and fundamental electronic components, like resistors, capacitors and transistors. As we humans design them, they make logical sense to at least someone, and probably only discounting the internet, you can probably draw logic diagrams and whatever to represent how they work.
Because they are designed by Humans, in a way they all mimic how our brains and society work. Also, as yet there are no truly intelligent technological systems, and are only able to react to a situation how they have been programmed to do so.
Answer:
minimum factor of safety for fatigue is = 1.5432
Explanation:
given data
AISI 1018 steel cold drawn as table
ultimate strength Sut = 63.800 kpsi
yield strength Syt = 53.700 kpsi
modulus of elasticity E = 29.700 kpsi
we get here
=
...........1
here kb and kt = 1 combined bending and torsion fatigue factor
put here value and we get
=
= 12 kpsi
and
=
...........2
put here value and we get
=
= 17.34 kpsi
now we apply here goodman line equation here that is
...................3
here Se = 0.5 × Sut
Se = 0.5 × 63.800 = 31.9 kspi
put value in equation 3 we get
solve it we get
FOS = 1.5432
Relay contacts that are defined as being normally open (n.o.) have contacts that are open only if the relay coil is known to have de-energized.
<h3>What is meant by normally open contacts?</h3>
Normally open (NO) are known to be open if there is no measure of current that is flowing through a given coil but it often close as soon as the coil is said to be energized.
Note that Normally closed (NO) contacts are said to be closed only if the coil is said to be de-energized and open only if the coil is said to carry current or is known to have energized.
The role of relay contact is wide. The Relays are tools that are often used in the work of switching of control circuits and it is one that a person cannot used for power switching that has relatively bigger ampacity.
Therefore, Relay contacts that are defined as being normally open (n.o.) have contacts that are open only if the relay coil is known to have de-energized.
Learn more about Relay contacts from
brainly.com/question/15334861
#SPJ1