function LPOutput = LPTurbine(m3,T3mid,P4mid,P)
Cpg = P(1); P4 = P(6); % Parameters and constants

T4x = T3mid*(P4/P4mid)^0.23; % Computing temperature out of LP turbine
Ws2 = m3*Cpg*(T4x-T3mid); % Computing power output from LP turbine

LPOutput = [T4x; Ws2];
end

