Answer:
function summedValue = SummationWithLoop(userNum)
% Summation of all values from 1 to userNum
summedValue = 0;
i = 0;
% use a while loop that assigns summedValue with the
% sum of all values from 1 to userNum
while(i <= userNum)
summedValue = summedValue + i;
i = i + 1;
end
end
Answer:
Map and avoid high-risk zones.
Build hazard-resistant structures and houses.
Protect and develop hazard buffers (forests, reefs, etc.)
Develop culture of prevention and resilience.
Improve early warning and response systems.
Build institutions, and development policies and plans.
Explanation:
Answer:
Explanation:
Obtain the following properties at 6MPa and 600°C from the table "Superheated water".

Obtain the following properties at 10kPa from the table "saturated water"

Calculate the enthalpy at exit of the turbine using the energy balance equation.

Since, the process is isentropic process 

Use the isentropic relations:

Calculate the enthalpy at isentropic state 2s.

a.)
Calculate the isentropic turbine efficiency.

b.)
Find the quality of the water at state 2
since
at 10KPa <
<
at 10KPa
Therefore, state 2 is in two-phase region.

Calculate the entropy at state 2.

Calculate the rate of entropy production.

since, Q = 0
