plotting – Plot a function: inputs needed

I’m trying to graph the function ua using the following code:
enter image description here
P=1;(IndentingNewLine)w=1;(IndentingNewLine)x=2;(IndentingNewLine)nl=3;
n = 5;(IndentingNewLine)S=1;(IndentingNewLine)sigmaL=1;(IndentingNewLine)g=P*(S-s)/(wxnl);
sigma=(-(1-sigmaLg)-Sqrt(1-((sigmaLg)^2)-(4g)))/(2 g);(IndentingNewLine)
L=(sigma
P
(S-s))/(wxnl);(IndentingNewLine)nf=((n-nl)/(1+L));(IndentingNewLine)na=(L*(n-nl)/(1+L));

ua=((wxnl)/(na));(IndentingNewLine)(IndentingNewLine)uf=((P*(S-s)*sigma)/nf)+H(s);(IndentingNewLine)(IndentingNewLine)ua(s)=Simplify(ua);(IndentingNewLine)uf=Simplify(uf)(IndentingNewLine)
Plot(ua,{s,0,S})

but get the error that more input is needed. I’m not sure what is wrong since I’ve specified the function and domain of the variable.