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: 7ft x21 I’d be right but yes I am
Explanation: because it is Welty
Answer:
I am attaching a file with the solution and explanation as the number character limit is exceeding.
Explanation:
Usando la ecuación de regresión que modela la frecuencia cardíaca máxima, podemos obtener el valor predicho de los problemas dados así:
La ecuación lineal que modela la frecuencia cardíaca máxima permitida en función de la edad del paciente está relacionada con la fórmula:
<em>x = edad del paciente; m = máx. frecuencia cardíaca permitida</em>
1.) <u>Frecuencia cardíaca máxima permitida para una persona de 50 años:</u>
Sustituye x = 50 en la ecuación:
m = -0,875 (50) + 190
m = 146,25
Por lo tanto, la frecuencia cardíaca máxima permitida es de aproximadamente 146 latidos / min.
2.) <u>Edad para una persona con frecuencia cardíaca máxima de 160 latidos / min</u>:
Sustituye m = 160 en la ecuación:
160 = -0,875x + 190
0,875x = 190 - 160
0,875x = 30
x = 30 / 0,875
x = 34,28
Por tanto, la edad de la persona sería de unos 34 años.
Más información: brainly.com/question/25395533
Answer:

Explanation:
Let assume that heating process occurs at constant pressure, the phenomenon is modelled by the use of the First Law of Thermodynamics:

The specific enthalpies are:
Liquid-Vapor Mixture:

Saturated Vapor:

The thermal energy per unit mass required to heat the steam is:

