Answer:
A) while (num >= 0)
Explanation:
To understand why we need to focus on the module and division operation inside the loop. num % 10 divide the number by ten and take its remainder to then add this remainder to sum, the important here is that we are adding up the number in reverse order and wee need to repeat this process until we get the first number (1%10 = 1), therefore, num need to be one to compute the last operation.
A) this is the correct option because num = 1 > 0 and the last operation will be performed, and after the last operation, num = 1 will be divided by 10 resulting in 0 and 0 is not greater than 0, therefore, the cycle end and the result will be printed.
B) This can not be the option because this way the program will never ends -> 0%10 = 0 and num = 0/10 = 0
C) This can not be the option because num = 1 > 1 will produce an early end of the loop printing an incomplete result
D) The same problem than C
E) There is a point, before the operations finish, where sum > num, this will produce an early end of the loop, printing an incomplete result
Explanation:
thermal expansion ∝L = (δL/δT)÷L ----(1)
δL = L∝L + δT ----(2)
we have δL = 12.5x10⁻⁶
length l = 200mm
δT = 115°c - 15°c = 100°c
putting these values into equation 1, we have
δL = 200*12.5X10⁻⁶x100
= 0.25 MM
L₂ = L + δ L
= 200 + 0.25
L₂ = 200.25mm
12.5X10⁻⁶ *115-15 * 20
= 0.025
20 +0.025
D₂ = 20.025
as this rod undergoes free expansion at 115°c, the stress on this rod would be = 0
Answer:
Polyethylene glycol (PEG) is a biocompatible, synthetic, hydrophilic polyether compound that has many applications, mostly in the medical industry, but also in the chemical and industrial sectors.
Explanation:
(YearModel)made by 2020 a (make)french fry truck is driving down the road at (speed)90mph and breaks the highest record of a 10 ton truck.
is an example
Answer:
A shaft is made of an aluminum alloy having an allowable shear stress of T_allow = 100 MPa. If the diameter of the shaft is 100 mm, determine the maximum torque T that can be transmitted.
Explanation: