Answer:
The solution code is written in Java.
System.out.println(numItems);
Explanation:
Java <em>println() </em>method can be used to display any string on the console terminal. We can use <em>println()</em> method to output the value held by variable <em>numItems.</em> The <em>numItems </em>is passed as the input parameter to <em>println()</em> and this will output the value of <em>numItems</em> to console terminal and at the same time the output with be ended with a newline automatically.
Answer and Explanation:
Commutator are used in DC machine commutator is mainly used for the reversing the direction of the current .It is connected to the armature of the DC generator or motor
ADVANTAGE OF COMMUTATOR The main advantage of the commutator in DC motor is to keep keep the direction of the toque always in the same direction by changing the current direction
DISADVANTAGE OF COMMUTATOR : The main disadvantage is due to the friction between the commutator and brushes there is a friction loss.
Answer:
a. Rockwell 3. hardness
b. Instron 2. stress vs strain
c. Charpy 1. impact strength
d. Fatigue 4. Endurance Limit
e. Brinell 3. hardness
f. Izod 1. impact strength
Explanation:
Izod and Charpy are the impact strength testing procedure of a material in which a heavy hammer is attached to an arm is released to impact on the test specimen. In Izod test the specimen with v-notch is held vertical with the notch facing outward while in Charpy test the specimen is supported horizontally with notch facing inward to the impacting hammer.
Instron testing system does universal testing of the material which gradually applies the load recording all the stresses and the corresponding strains until the material fails.
Fatigue is the property of a material due to which it fails under the repeated cyclic loading by the initiation and propagation of cracks. The property of a material resist failure subjected to infinite number of repeated cyclic loads below a certain stress limit.
Rockwell and Brinell are the hardness testing methods. In Rockwell test an intender ball is firstly pressed against the specimen using minor load for a certain time and then a major load is pressed against it for a certain time. After the intender is removed the depth of impression on the surface is measured while in case of Brinell hardness we apply only one load against the intender ball for a certain time and after its removal the radius of impression is measured.
Answer:
# Program is written in Python Programming Language
# Comments are used for explanatory purpose
# Program starts here
# Accept input
Steps = input (Number of Steps: ")
# Calculate distance
distance = float(2000) * float(steps)
#Print Formatted Result
print('%0.2f' % distance)
# End of Program
.--------
The above program converts number of steps to miles.
At line 5, the number of steps is inputted and stored in variable named Steps.
At line 6, the number of miles is calculated by multiplying 2000 by the content of variable Steps
The result is printed at line 8