Answer:
sorry i dont understand the answer
Explanation:
but i think its a xd jk psml lol
Full Question
1. Correct the following code and
2. Convert the do while loop the following code to a while loop
declare integer product
declare integer number
product = 0
do while product < 100
display ""Type your number""
input number
product = number * 10
loop
display product
End While
Answer:
1. Code Correction
The errors in the code segment are:
a. The use of do while on line 4
You either use do or while product < 100
b. The use of double "" as open and end quotes for the string literal on line 5
c. The use of "loop" statement on line 7
The correction of the code segment is as follows:
declare integer product
declare integer number
product = 0
while product < 100
display "Type your number"
input number
product = number * 10
display product
End While
2. The same code segment using a do-while statement
declare integer product
declare integer number
product = 0
Do
display "Type your number"
input number
product = number * 10
display product
while product < 100
Answer:
15625 moles of methane is present in this gas deposit
Explanation:
As we know,
PV = nRT
P = Pressure = 230 psia = 1585.79 kPA
V = Volume = 980 cuft = 27750.5 Liters
n = number of moles
R = ideal gas constant = 8.315
T = Temperature = 150°F = 338.706 Kelvin
Substituting the given values, we get -
1585.79 kPA * 27750.5 Liters = n * 8.315 * 338.706 Kelvin
n = (1585.79*27750.5)/(8.315 * 338.706) = 15625
Capillary action occurs When the adhesion to the walls stronger than dirt cohesive forces between a liquid molecules. the head towards Capillery action will take water in a uniform circular is limited by surface tension and, of course, gravity.
Answer:
<em>The direction of ball will be Number 4 (as can be seen in attached picture) ---- the path of ball will be making some angle when it leaves the tube. </em>
Explanation:
The question is incomplete. So the picture, which is missing in question, is attached for your review.
As it can be seen in the picture, the ball coming out of the tube will have two components of velocity. One is along the length of tube (because ball is moving in that direction and is coming out from the hole), other is velocity component will be perpendicular to the tube (because the ball is made to move in that direction as the tube is rolling on the surface).
<em>So, taking the resultant of two vectors of velocity, the resultant direction of ball will be Number 4 (as can be seen in attached picture) ---- the path of ball will be making some angle when it leaves the tube. </em>