X1:=SQRT(TH/TL);
X2:=SQRT(X1);
CA:=TL*X2;
CB:=TL*X1;
CD:=TL*(X1+X2-1);
T3:=CONST(T2)+1;
NOTEXT1:IF(CU<=T3,CONST(CA),DRAWNULL),COLORRED,DOTLINE;
NOTEXT2:IF(CU<=T3,CONST(CB),DRAWNULL),COLORRED,DOTLINE;
NOTEXT3:IF(CU<=T3,CONST(CD),DRAWNULL),COLORRED,DOTLINE;
DRAWTEXT(CU=T3,CA,VAR2STR(CA,2));
DRAWTEXT(CU=T3,CB,VAR2STR(CB,2));
DRAWTEXT(CU=T3,CD,VAR2STR(CD,2));
NOTEXTA:DRAWLINE(CU=T3,L,CD,CD,-1),DOTLINE,COLORRED;
STICKLINE(CU=T3,H,CONST(CD),0,-1),COLORRED;
{}
CF:=TH/X2;
CG:=TH/X1;
CJ:=TH/(X2+X1-1);
T6:=CONST(T1)+1;
NOTEXT4:IF(CU<=T6,CONST(CF),DRAWNULL),COLORGREEN,DOTLINE;
NOTEXT5:IF(CU<=T6,CONST(CG),DRAWNULL),COLORGREEN,DOTLINE;
NOTEXT6:IF(CU<=T6,CONST(CJ),DRAWNULL),COLORGREEN,DOTLINE;
DRAWTEXT(CU=T6,CF,VAR2STR(CF,2));
DRAWTEXT(CU=T6,CG,VAR2STR(CG,2));
DRAWTEXT(CU=T6,CJ,VAR2STR(CJ,2));
NOTEXTB:DRAWLINE(CU=T6,H,CJ,CJ,-1)DOTLINE,LINETHICK1,COLORGREEN;
STICKLINE(CU=T6,H,CONST(CJ),0,-1),COLORGREEN;