\start83\ \comment=Program file dated 10/07/97, 14:24 \name=HYPER \file=J:\HYPER.AS3 prgmFACSU Disp "CHOICE 1" Disp "(X-H)\^2\/A\^2\-" Disp "(Y-K)\^2\/B\^2\=1" Disp "" Disp "CHOICE 2" Disp "(Y-K)\^2\/B\^2\-" Disp "(X-H)\^2\/A\^2\=1" Input "ENTER 1 OR 2 ",W If W=2 Then Prompt K Prompt H Prompt B Prompt A "K+\root\(B\^2\(1+(X-H)\^2\/A\^2\))"\->\Y\3\ "K-\root\(B\^2\(1+(X-H)\^2\/A\^2\))"\->\Y\4\ End If W=1 Then Prompt H Prompt K Prompt A Prompt B "K+\root\(B\^2\((X-H)\^2\/A\^2\-1))"\->\Y\3\ "K-\root\(B\^2\((X-H)\^2\/A\^2\-1))"\->\Y\4\ End "(B/A)(X-H)+K"\->\Y\1\ "(\(-)\B/A)(X-H)+K"\->\Y\2\ 10\->\S Lbl 1 \(-)\S\->\Xmin S\->\Xmax \(-)\S\->\Ymin S\->\Ymax ZSquare Line(H-A,K+B,H+A,K+B) Line(H+A,K+B,H+A,K-B) Line(H+A,K-B,H-A,K-B) Line(H-A,K-B,H-A,K+B) Pause ClrHome Disp "(1)ZOOM IN" Disp "(2)ZOOM OUT" Disp "(3)QUIT" Disp "" Input "ENTER 1,2,3 ",C If C=3 Goto 5 If C=1 Then S/2\->\S Else S*2\->\S End Goto 1 Lbl 5 ClrHome \stop83\