Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_23.ADF » F/SIZE

F/SIZE

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_23.ADF
Filename: F/SIZE
Read OK:
File size: 0846 bytes
Load address: FFFF0E00
Exec address: FFFF802B
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
   10MODE3
   20PRINT"Some dimentions in the Solar system reduced by a factor based upon the distance between the Sun and Pluto being 10 meters or about 32 feet"
   30PRINT
   40@%=&00908
   50PRINT"Planet   Actual distance    Reduced         Actual           Reduced"
   60PRINT"           in millions      distance        Diameters        diameters"
   70PRINT"Name        Km    Miles   Meters   Feet     Km     Miles     mm      in"
   80PRINT
   90FOR A=1 TO 9
  100REM PLANET NAMES
  110 READ Planets$
  120 PRINTPlanets$;
  130REM PLANET DISTANCES
  140 READ Kilometers
  150PRINT Kilometers;
  160Miles=Kilometers*.62
  170PRINTMiles;
  180Meters=(Kilometers*1000000)*1.695E-9
  190PRINT FNroundnumber(2,Meters);
  200Feet=Meters*3.28
  210PRINTFNroundnumber(2,Feet);
  220REM PLANET DIAMETERS
  230READ Diameters
  240PRINT Diameters" ";
  250Dmiles=Diameters*.62
  260PRINTDmiles;
  270m=(Diameters*1.695E-9)
  280PRINT FNroundnumber(6,m);
  290in=m*.0394
  300PRINT FNroundnumber(8,in)
  310NEXT
  320REM SUN INCORPORTING AVERAGE HUMAN HEIGHT
  330PRINT
  340PRINT" Diameter of the Sun                         My Height"
  350PRINT" Actual size               Reduced size      Actual       Reduced"
  360SunSizekm=1392000
  370SunsizeM=SunSizekm*.62
  380SunsizeRmm=(SunSizekm*1.695E-9)
  390SunsizeRin=SunsizeRmm*.0394
  400Mesize=.00165
  410MesizeRmm=(Mesize*1.695E-9)
  420MesizeRin=MesizeRmm*.0394
  430PRINTFNroundnumber(3,SunSizekm)"Km  ";FNroundnumber(3,SunsizeM)"Miles    ";FNroundnumber(3,SunsizeRmm)"mm  ";FNroundnumber(4,SunsizeRin)"in    ";"1.65M  65in  ";FNroundnumber(13,MesizeRmm)"mm ";FNroundnumber(15,MesizeRin)"in"
  440REM NEAREST STAR
  450PRINT
  460PRINT"           Distance to the nearest Star ie 4.2 Light years"
  470PRINT"         Actual distance                        Reduced distance"
  480Sk=9460530*4.2
  490Sm=Sk*.62
  500Skr=(Sk*1000000)*1.695E-9
  510Skm=Skr*.62
  520PRINT"         "Sk"000000Km  ";FNroundnumber(0,Sm)"000000Miles  ";FNroundnumber(0,Skr)"Km  ";FNroundnumber(0,Skm)"Miles"
  530END
  540REM P = number of decimal places N = number
  550 DEFFNroundnumber(P,N)
  560 power=10^P
  570 =INT((N+0.5/power)*power)/power
  580 
  590DATA Mercury,57.9,4880,Venus  ,108.2,12104,Earth  ,149.6,12756,Mars   ,227.9,6787,Jupiter,778.3,142800,Saturn ,1427,120000,Uranus ,2870,51800,Neptune,4497,49500,Pluto  ,5900,6000
  600@%=&0090A

�3
��"Some dimentions in the Solar system reduced by a factor based upon the distance between the Sun and Pluto being 10 meters or about 32 feet"
�
(
@%=&00908
2K�"Planet   Actual distance    Reduced         Actual           Reduced"
<M�"           in millions      distance        Diameters        diameters"
FN�"Name        Km    Miles   Meters   Feet     Km     Miles     mm      in"
P�
Z
� A=1 � 9
d� PLANET NAMES
n � Planets$
x �Planets$;
�� PLANET DISTANCES
� � Kilometers
�� Kilometers;
�Miles=Kilometers*.62
��Miles;
�(Meters=(Kilometers*1000000)*1.695E-9
�� �roundnumber(2,Meters);
�Feet=Meters*3.28
��roundnumber(2,Feet);
�� PLANET DIAMETERS
�� Diameters
�� Diameters" ";
�Dmiles=Diameters*.62
�Dmiles;
m=(Diameters*1.695E-9)
� �roundnumber(6,m);
"in=m*.0394
,� �roundnumber(8,in)
6�
@+� SUN INCORPORTING AVERAGE HUMAN HEIGHT
J�
T=�" Diameter of the Sun                         My Height"
^H�" Actual size               Reduced size      Actual       Reduced"
hSunSizekm=1392000
rSunsizeM=SunSizekm*.62
|#SunsizeRmm=(SunSizekm*1.695E-9)
�SunsizeRin=SunsizeRmm*.0394
�Mesize=.00165
�MesizeRmm=(Mesize*1.695E-9)
�MesizeRin=MesizeRmm*.0394
���roundnumber(3,SunSizekm)"Km  ";�roundnumber(3,SunsizeM)"Miles    ";�roundnumber(3,SunsizeRmm)"mm  ";�roundnumber(4,SunsizeRin)"in    ";"1.65M  65in  ";�roundnumber(13,MesizeRmm)"mm ";�roundnumber(15,MesizeRin)"in"
�� NEAREST STAR
��
�A�"           Distance to the nearest Star ie 4.2 Light years"
�G�"         Actual distance                        Reduced distance"
�Sk=9460530*4.2
�
Sm=Sk*.62
�Skr=(Sk*1000000)*1.695E-9
�Skm=Skr*.62
u�"         "Sk"000000Km  ";�roundnumber(0,Sm)"000000Miles  ";�roundnumber(0,Skr)"Km  ";�roundnumber(0,Skm)"Miles"
�
-� P = number of decimal places N = number
& ݤroundnumber(P,N)
0 power=10^P
:" =�((N+0.5/power)*power)/power
D 
N�� Mercury,57.9,4880,Venus  ,108.2,12104,Earth  ,149.6,12756,Mars   ,227.9,6787,Jupiter,778.3,142800,Saturn ,1427,120000,Uranus ,2870,51800,Neptune,4497,49500,Pluto  ,5900,6000
X
@%=&0090A
�
00000000  0d 00 0a 06 eb 33 0d 00  14 91 f1 22 53 6f 6d 65  |.....3....."Some|
00000010  20 64 69 6d 65 6e 74 69  6f 6e 73 20 69 6e 20 74  | dimentions in t|
00000020  68 65 20 53 6f 6c 61 72  20 73 79 73 74 65 6d 20  |he Solar system |
00000030  72 65 64 75 63 65 64 20  62 79 20 61 20 66 61 63  |reduced by a fac|
00000040  74 6f 72 20 62 61 73 65  64 20 75 70 6f 6e 20 74  |tor based upon t|
00000050  68 65 20 64 69 73 74 61  6e 63 65 20 62 65 74 77  |he distance betw|
00000060  65 65 6e 20 74 68 65 20  53 75 6e 20 61 6e 64 20  |een the Sun and |
00000070  50 6c 75 74 6f 20 62 65  69 6e 67 20 31 30 20 6d  |Pluto being 10 m|
00000080  65 74 65 72 73 20 6f 72  20 61 62 6f 75 74 20 33  |eters or about 3|
00000090  32 20 66 65 65 74 22 0d  00 1e 05 f1 0d 00 28 0d  |2 feet".......(.|
000000a0  40 25 3d 26 30 30 39 30  38 0d 00 32 4b f1 22 50  |@%=&00908..2K."P|
000000b0  6c 61 6e 65 74 20 20 20  41 63 74 75 61 6c 20 64  |lanet   Actual d|
000000c0  69 73 74 61 6e 63 65 20  20 20 20 52 65 64 75 63  |istance    Reduc|
000000d0  65 64 20 20 20 20 20 20  20 20 20 41 63 74 75 61  |ed         Actua|
000000e0  6c 20 20 20 20 20 20 20  20 20 20 20 52 65 64 75  |l           Redu|
000000f0  63 65 64 22 0d 00 3c 4d  f1 22 20 20 20 20 20 20  |ced"..<M."      |
00000100  20 20 20 20 20 69 6e 20  6d 69 6c 6c 69 6f 6e 73  |     in millions|
00000110  20 20 20 20 20 20 64 69  73 74 61 6e 63 65 20 20  |      distance  |
00000120  20 20 20 20 20 20 44 69  61 6d 65 74 65 72 73 20  |      Diameters |
00000130  20 20 20 20 20 20 20 64  69 61 6d 65 74 65 72 73  |       diameters|
00000140  22 0d 00 46 4e f1 22 4e  61 6d 65 20 20 20 20 20  |"..FN."Name     |
00000150  20 20 20 4b 6d 20 20 20  20 4d 69 6c 65 73 20 20  |   Km    Miles  |
00000160  20 4d 65 74 65 72 73 20  20 20 46 65 65 74 20 20  | Meters   Feet  |
00000170  20 20 20 4b 6d 20 20 20  20 20 4d 69 6c 65 73 20  |   Km     Miles |
00000180  20 20 20 20 6d 6d 20 20  20 20 20 20 69 6e 22 0d  |    mm      in".|
00000190  00 50 05 f1 0d 00 5a 0d  e3 20 41 3d 31 20 b8 20  |.P....Z.. A=1 . |
000001a0  39 0d 00 64 12 f4 20 50  4c 41 4e 45 54 20 4e 41  |9..d.. PLANET NA|
000001b0  4d 45 53 0d 00 6e 0f 20  f3 20 50 6c 61 6e 65 74  |MES..n. . Planet|
000001c0  73 24 0d 00 78 0f 20 f1  50 6c 61 6e 65 74 73 24  |s$..x. .Planets$|
000001d0  3b 0d 00 82 16 f4 20 50  4c 41 4e 45 54 20 44 49  |;..... PLANET DI|
000001e0  53 54 41 4e 43 45 53 0d  00 8c 11 20 f3 20 4b 69  |STANCES.... . Ki|
000001f0  6c 6f 6d 65 74 65 72 73  0d 00 96 11 f1 20 4b 69  |lometers..... Ki|
00000200  6c 6f 6d 65 74 65 72 73  3b 0d 00 a0 18 4d 69 6c  |lometers;....Mil|
00000210  65 73 3d 4b 69 6c 6f 6d  65 74 65 72 73 2a 2e 36  |es=Kilometers*.6|
00000220  32 0d 00 aa 0b f1 4d 69  6c 65 73 3b 0d 00 b4 28  |2.....Miles;...(|
00000230  4d 65 74 65 72 73 3d 28  4b 69 6c 6f 6d 65 74 65  |Meters=(Kilomete|
00000240  72 73 2a 31 30 30 30 30  30 30 29 2a 31 2e 36 39  |rs*1000000)*1.69|
00000250  35 45 2d 39 0d 00 be 1d  f1 20 a4 72 6f 75 6e 64  |5E-9..... .round|
00000260  6e 75 6d 62 65 72 28 32  2c 4d 65 74 65 72 73 29  |number(2,Meters)|
00000270  3b 0d 00 c8 14 46 65 65  74 3d 4d 65 74 65 72 73  |;....Feet=Meters|
00000280  2a 33 2e 32 38 0d 00 d2  1a f1 a4 72 6f 75 6e 64  |*3.28......round|
00000290  6e 75 6d 62 65 72 28 32  2c 46 65 65 74 29 3b 0d  |number(2,Feet);.|
000002a0  00 dc 16 f4 20 50 4c 41  4e 45 54 20 44 49 41 4d  |.... PLANET DIAM|
000002b0  45 54 45 52 53 0d 00 e6  0f f3 20 44 69 61 6d 65  |ETERS..... Diame|
000002c0  74 65 72 73 0d 00 f0 13  f1 20 44 69 61 6d 65 74  |ters..... Diamet|
000002d0  65 72 73 22 20 22 3b 0d  00 fa 18 44 6d 69 6c 65  |ers" ";....Dmile|
000002e0  73 3d 44 69 61 6d 65 74  65 72 73 2a 2e 36 32 0d  |s=Diameters*.62.|
000002f0  01 04 0c f1 44 6d 69 6c  65 73 3b 0d 01 0e 1a 6d  |....Dmiles;....m|
00000300  3d 28 44 69 61 6d 65 74  65 72 73 2a 31 2e 36 39  |=(Diameters*1.69|
00000310  35 45 2d 39 29 0d 01 18  18 f1 20 a4 72 6f 75 6e  |5E-9)..... .roun|
00000320  64 6e 75 6d 62 65 72 28  36 2c 6d 29 3b 0d 01 22  |dnumber(6,m);.."|
00000330  0e 69 6e 3d 6d 2a 2e 30  33 39 34 0d 01 2c 18 f1  |.in=m*.0394..,..|
00000340  20 a4 72 6f 75 6e 64 6e  75 6d 62 65 72 28 38 2c  | .roundnumber(8,|
00000350  69 6e 29 0d 01 36 05 ed  0d 01 40 2b f4 20 53 55  |in)..6....@+. SU|
00000360  4e 20 49 4e 43 4f 52 50  4f 52 54 49 4e 47 20 41  |N INCORPORTING A|
00000370  56 45 52 41 47 45 20 48  55 4d 41 4e 20 48 45 49  |VERAGE HUMAN HEI|
00000380  47 48 54 0d 01 4a 05 f1  0d 01 54 3d f1 22 20 44  |GHT..J....T=." D|
00000390  69 61 6d 65 74 65 72 20  6f 66 20 74 68 65 20 53  |iameter of the S|
000003a0  75 6e 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |un              |
000003b0  20 20 20 20 20 20 20 20  20 20 20 4d 79 20 48 65  |           My He|
000003c0  69 67 68 74 22 0d 01 5e  48 f1 22 20 41 63 74 75  |ight"..^H." Actu|
000003d0  61 6c 20 73 69 7a 65 20  20 20 20 20 20 20 20 20  |al size         |
000003e0  20 20 20 20 20 20 52 65  64 75 63 65 64 20 73 69  |      Reduced si|
000003f0  7a 65 20 20 20 20 20 20  41 63 74 75 61 6c 20 20  |ze      Actual  |
00000400  20 20 20 20 20 52 65 64  75 63 65 64 22 0d 01 68  |     Reduced"..h|
00000410  15 53 75 6e 53 69 7a 65  6b 6d 3d 31 33 39 32 30  |.SunSizekm=13920|
00000420  30 30 0d 01 72 1a 53 75  6e 73 69 7a 65 4d 3d 53  |00..r.SunsizeM=S|
00000430  75 6e 53 69 7a 65 6b 6d  2a 2e 36 32 0d 01 7c 23  |unSizekm*.62..|#|
00000440  53 75 6e 73 69 7a 65 52  6d 6d 3d 28 53 75 6e 53  |SunsizeRmm=(SunS|
00000450  69 7a 65 6b 6d 2a 31 2e  36 39 35 45 2d 39 29 0d  |izekm*1.695E-9).|
00000460  01 86 1f 53 75 6e 73 69  7a 65 52 69 6e 3d 53 75  |...SunsizeRin=Su|
00000470  6e 73 69 7a 65 52 6d 6d  2a 2e 30 33 39 34 0d 01  |nsizeRmm*.0394..|
00000480  90 11 4d 65 73 69 7a 65  3d 2e 30 30 31 36 35 0d  |..Mesize=.00165.|
00000490  01 9a 1f 4d 65 73 69 7a  65 52 6d 6d 3d 28 4d 65  |...MesizeRmm=(Me|
000004a0  73 69 7a 65 2a 31 2e 36  39 35 45 2d 39 29 0d 01  |size*1.695E-9)..|
000004b0  a4 1d 4d 65 73 69 7a 65  52 69 6e 3d 4d 65 73 69  |..MesizeRin=Mesi|
000004c0  7a 65 52 6d 6d 2a 2e 30  33 39 34 0d 01 ae db f1  |zeRmm*.0394.....|
000004d0  a4 72 6f 75 6e 64 6e 75  6d 62 65 72 28 33 2c 53  |.roundnumber(3,S|
000004e0  75 6e 53 69 7a 65 6b 6d  29 22 4b 6d 20 20 22 3b  |unSizekm)"Km  ";|
000004f0  a4 72 6f 75 6e 64 6e 75  6d 62 65 72 28 33 2c 53  |.roundnumber(3,S|
00000500  75 6e 73 69 7a 65 4d 29  22 4d 69 6c 65 73 20 20  |unsizeM)"Miles  |
00000510  20 20 22 3b a4 72 6f 75  6e 64 6e 75 6d 62 65 72  |  ";.roundnumber|
00000520  28 33 2c 53 75 6e 73 69  7a 65 52 6d 6d 29 22 6d  |(3,SunsizeRmm)"m|
00000530  6d 20 20 22 3b a4 72 6f  75 6e 64 6e 75 6d 62 65  |m  ";.roundnumbe|
00000540  72 28 34 2c 53 75 6e 73  69 7a 65 52 69 6e 29 22  |r(4,SunsizeRin)"|
00000550  69 6e 20 20 20 20 22 3b  22 31 2e 36 35 4d 20 20  |in    ";"1.65M  |
00000560  36 35 69 6e 20 20 22 3b  a4 72 6f 75 6e 64 6e 75  |65in  ";.roundnu|
00000570  6d 62 65 72 28 31 33 2c  4d 65 73 69 7a 65 52 6d  |mber(13,MesizeRm|
00000580  6d 29 22 6d 6d 20 22 3b  a4 72 6f 75 6e 64 6e 75  |m)"mm ";.roundnu|
00000590  6d 62 65 72 28 31 35 2c  4d 65 73 69 7a 65 52 69  |mber(15,MesizeRi|
000005a0  6e 29 22 69 6e 22 0d 01  b8 12 f4 20 4e 45 41 52  |n)"in"..... NEAR|
000005b0  45 53 54 20 53 54 41 52  0d 01 c2 05 f1 0d 01 cc  |EST STAR........|
000005c0  41 f1 22 20 20 20 20 20  20 20 20 20 20 20 44 69  |A."           Di|
000005d0  73 74 61 6e 63 65 20 74  6f 20 74 68 65 20 6e 65  |stance to the ne|
000005e0  61 72 65 73 74 20 53 74  61 72 20 69 65 20 34 2e  |arest Star ie 4.|
000005f0  32 20 4c 69 67 68 74 20  79 65 61 72 73 22 0d 01  |2 Light years"..|
00000600  d6 47 f1 22 20 20 20 20  20 20 20 20 20 41 63 74  |.G."         Act|
00000610  75 61 6c 20 64 69 73 74  61 6e 63 65 20 20 20 20  |ual distance    |
00000620  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000630  20 20 20 20 52 65 64 75  63 65 64 20 64 69 73 74  |    Reduced dist|
00000640  61 6e 63 65 22 0d 01 e0  12 53 6b 3d 39 34 36 30  |ance"....Sk=9460|
00000650  35 33 30 2a 34 2e 32 0d  01 ea 0d 53 6d 3d 53 6b  |530*4.2....Sm=Sk|
00000660  2a 2e 36 32 0d 01 f4 1d  53 6b 72 3d 28 53 6b 2a  |*.62....Skr=(Sk*|
00000670  31 30 30 30 30 30 30 29  2a 31 2e 36 39 35 45 2d  |1000000)*1.695E-|
00000680  39 0d 01 fe 0f 53 6b 6d  3d 53 6b 72 2a 2e 36 32  |9....Skm=Skr*.62|
00000690  0d 02 08 75 f1 22 20 20  20 20 20 20 20 20 20 22  |...u."         "|
000006a0  53 6b 22 30 30 30 30 30  30 4b 6d 20 20 22 3b a4  |Sk"000000Km  ";.|
000006b0  72 6f 75 6e 64 6e 75 6d  62 65 72 28 30 2c 53 6d  |roundnumber(0,Sm|
000006c0  29 22 30 30 30 30 30 30  4d 69 6c 65 73 20 20 22  |)"000000Miles  "|
000006d0  3b a4 72 6f 75 6e 64 6e  75 6d 62 65 72 28 30 2c  |;.roundnumber(0,|
000006e0  53 6b 72 29 22 4b 6d 20  20 22 3b a4 72 6f 75 6e  |Skr)"Km  ";.roun|
000006f0  64 6e 75 6d 62 65 72 28  30 2c 53 6b 6d 29 22 4d  |dnumber(0,Skm)"M|
00000700  69 6c 65 73 22 0d 02 12  05 e0 0d 02 1c 2d f4 20  |iles"........-. |
00000710  50 20 3d 20 6e 75 6d 62  65 72 20 6f 66 20 64 65  |P = number of de|
00000720  63 69 6d 61 6c 20 70 6c  61 63 65 73 20 4e 20 3d  |cimal places N =|
00000730  20 6e 75 6d 62 65 72 0d  02 26 17 20 dd a4 72 6f  | number..&. ..ro|
00000740  75 6e 64 6e 75 6d 62 65  72 28 50 2c 4e 29 0d 02  |undnumber(P,N)..|
00000750  30 0f 20 70 6f 77 65 72  3d 31 30 5e 50 0d 02 3a  |0. power=10^P..:|
00000760  22 20 3d a8 28 28 4e 2b  30 2e 35 2f 70 6f 77 65  |" =.((N+0.5/powe|
00000770  72 29 2a 70 6f 77 65 72  29 2f 70 6f 77 65 72 0d  |r)*power)/power.|
00000780  02 44 05 20 0d 02 4e b3  dc 20 4d 65 72 63 75 72  |.D. ..N.. Mercur|
00000790  79 2c 35 37 2e 39 2c 34  38 38 30 2c 56 65 6e 75  |y,57.9,4880,Venu|
000007a0  73 20 20 2c 31 30 38 2e  32 2c 31 32 31 30 34 2c  |s  ,108.2,12104,|
000007b0  45 61 72 74 68 20 20 2c  31 34 39 2e 36 2c 31 32  |Earth  ,149.6,12|
000007c0  37 35 36 2c 4d 61 72 73  20 20 20 2c 32 32 37 2e  |756,Mars   ,227.|
000007d0  39 2c 36 37 38 37 2c 4a  75 70 69 74 65 72 2c 37  |9,6787,Jupiter,7|
000007e0  37 38 2e 33 2c 31 34 32  38 30 30 2c 53 61 74 75  |78.3,142800,Satu|
000007f0  72 6e 20 2c 31 34 32 37  2c 31 32 30 30 30 30 2c  |rn ,1427,120000,|
00000800  55 72 61 6e 75 73 20 2c  32 38 37 30 2c 35 31 38  |Uranus ,2870,518|
00000810  30 30 2c 4e 65 70 74 75  6e 65 2c 34 34 39 37 2c  |00,Neptune,4497,|
00000820  34 39 35 30 30 2c 50 6c  75 74 6f 20 20 2c 35 39  |49500,Pluto  ,59|
00000830  30 30 2c 36 30 30 30 0d  02 58 0d 40 25 3d 26 30  |00,6000..X.@%=&0|
00000840  30 39 30 41 0d ff                                 |090A..|
00000846
F/SIZE.m0
F/SIZE.m1
F/SIZE.m2
F/SIZE.m4
F/SIZE.m5