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
The factors that influence our food choices would be , biological determinants such as hunger , appetite and taste , economic determinants such as cost , income , physical determination such as access , education, skills , social determination such as culture, family , peers and meal problems
Answer:
Space mean speed = 44 mi/h
Explanation:
Using Greenshield's linear model
q = Uf ( D -
/Dj )
qcap = capacity flow that gives Dcap
Dcap = Dj/2
qcap = Uf. Dj/4
Where
U = space mean speed
Uf = free flow speed
D = density
Dj = jam density
now,
Dj = 4 × 3300/55
= 240v/h
q = Dj ( U -
/Uf)
2100 = 240 ( U -
/55)
Solve for U
U = 44m/h
Answer:
Explanation:
Hello!
To solve this problem you must follow the following steps, which are fully registered in the attached image.
1. Draw the complete outline of the problem.
2. Through laboratory tests, thermodynamic tables were developed, these allow to know all the thermodynamic properties of a substance (entropy, enthalpy, pressure, specific volume, internal energy etc ..)
through prior knowledge of two other properties.
3. Use temodynamic tables to find the density of water in state 1, by means of temperature and quality, with this value and volume we can find the mass.
3. Use thermodynamic tables to find the internal energy in state 1 and two using temperature and quality.
4. uses the first law of thermodynamics that states that the energy in a system is always conserved, replaces the previously found values and finds the work done.
5. draw the pV diagram using the 300F isothermal line
Parallel hookups increase amp hour capacity but voltage remains the same... 1.5 volts
Series the two and voltage is 3.0 volts.