Just for fun, see if you can guess what this program calculates:
Code:
A# = 1# B# = .5# C# = SQR(2#) / 2# D# = .25# LblA: E# = A# B# = 2# * B# A# = (A# + C#) / 2# C# = SQR(E# * C#) D# = D# - B# * (A# - E#) * (A# - E#) oldx# = x# x# = (A# + C#) * (A# + C#) / (4# * D#) PRINT x# IF oldx# <> x# THEN GOTO LblA SYSTEM
Comment