Мова програмування Turbo-Basic
Y = SIN(X) : PSET (X, Y)
NEXT X
VIEW (325, 1) - (638, 96),, 1
WINDOW (-10, 0) - (10, 1.1)
FOR X = -10 TO 10 STEP .02
Y = 1 / (1 + X^2) : PSET (X, Y)
NEXT X
VIEW (1, 102) - (315, 198),, 1
WINDOW (-10, -.1) - (10, 100)
FOR X = -10 TO 10 STEP .02
Y = X^2 : PSET (X, Y)
NEXT X
VIEW (325, 102) - (638, 198),, 1
WINDOW (-40, -40) - (40, 40)
FOR X = -40 TO 40 STEP .02
Y = X * SIN(X) : PSET (X, Y)
NEXT X
END
'ВИПАДКОВI КОЛА
'----------------------------
SCREEN 2 : CLS
VIEW
WINDOW (-10, -10) - (110, 110)
FOR I = 1 TO 100
X = 100 * RND(1) : Y = 100 * RND(1) : R = 5 * RND(1)