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
Answer:
i) 0.610 m or 610 mm
ii) 0.4 m or 400 mm
Explanation:
The pressure difference between the pipes is
a) Air
Pa + πha +Ha = Pb + πhb +Hb
Pa - Pb = π(hb-ha) + Hb-Ha
Relative density of air = 1.2754 kg /m3
Pa - Pb = 1.2754 * 0.4 + (0.3-0.2) = 0.610 m or 610 mm
b) paraffin of relative density of 0.75
Pa - Pb = π(hb-ha) + Hb-Ha
Pa - Pb = 0.75 * 0.4 + (0.3-0.2) = 0.4 m or 400 mm
Answer:
Pressure- temperature diagram of the fluid is the phase lines that separate all the phases.
Explanation:
Step1
Pressure temperature diagram is the diagram that represents the all the phases of the fluid by separating a line. There is no phase change region in the pressure temperature diagram out of 15 possible diagrams. There are three lines that separate the phase of the fluid. These three lines are fusion, vaporization and sublimation.
Step2
The intersecting point of these lines is triple point of fluid. Out of 15 possible phase diagram, only pressure temperature diagram has triple point as a point. In other diagrams phase change region is present and triple point is not a point. Critical point is the point in all possible property diagrams.
Pressure temperature diagram is shown below:
Answer:
The first step of the problem solving process is to identify and define the problem. The second step, which is to analyze the problem, involves gathering information, sorting through relevant and irrelevant information, and evaluating the source of the problem by asking the Five W's: who, what, where, when, and why.
Answer:
Your question is lacking some information attached is the missing part and the solution
A) AB = AD = BD = 0, BC = LC
AC = 
B) AB = AD = BC = BD = 0
AC = 
Explanation:
A) Forces in all members due to the load L in position A
assuming that BD goes slack from an inspection of Joint B
AB = 0 and BC = LC from Joint D, AD = 0 and CD = 4L/3 C
B) steps to arrive to the answer is attached below
AB = AD = BC = BD = 0
AC = 