AminetAminet
Search:
84451 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/shell/Pi_Demos.zip

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Calculate PI in an AMIGA shell script.
Author:wisecracker.bazza at gmail.com (Barry Walker, G0LCU)
Uploader:LAG (Lincolnshire Amiga Group)
Type:util/shell
Version:1.00.00
Architecture:generic
Date:2021-02-15
Download:http://aminet.net/util/shell/Pi_Demos.zip - View contents
Readme:http://aminet.net/util/shell/Pi_Demos.readme
Downloads:354

============================================================================

Architectures: Classic AMIGAs FS-UAE, and probably WinUAE.
----------------------------------------------------------

  MINIMUM Requirements Are:-
  --------------------------

        Stock A1200(HD), no extras required except a/the Hard Disk Drive.
        Standard OS 3.0x install or better.
        FS-UAE 2.8.1, minimum.
        Standard OS 3.0x install or better.

        (FastRam, Accelerators, CPUs, etc, are an enormous bonus.)

        NOT tested on WinUAE but will probably work.
        NOT tested os machines with AMIGA OS2.xx but might just work.

----------------------------------------------------------------------------

  History:-
  ---------

  16-02-2021.
  -----------
  Version 1.00.00. Probably the one and only upload for this archive.

----------------------------------------------------------------------------

  General:-
  ---------

  (Apologies for any typos, etc...)

  Calculate Pi in a pure AMIGA shell script to 5 decimal places...
  Nilakantha's series...
  https://en.wikipedia.org/wiki/Pi#Infinite_series
  PI=3+(4/(2*3*4))-(4/(4*5*6))+(4/(6*7*8))-(4/(8*9*10))+...
  NOTE: It is possible to do 8 decimal places, but would take a LONG time.

  There are two versions:

  1) A simple one that uses ( 22 / 7 ) as an approximation of Pi, a value
     of 3.1428571 to 7 decimal places, with a line by line description of
     what is going on to show the concepts.
     This is PiApproxExample.shell and can be launched from the IconX icon.

  2) Pi.shell that uses the above series and is slow, but accurate.
     It prints each calculated stage until the 26th calculation loop is
     finished and then exits the loop to print out the value 3.14159.
     This too can be launched from the IconX icon.

  Just read the scripts for more information.
  From PiApproxExample.shell the principles are described on screen but the
  shell script shows how exactly how it was done.
  Exactly the same principles were applied to the Pi.shell script.

  This uses nothing more than a Stock, (Boxed), Amiga A1200(HD) and OS3.0x.
  Apart from the Hard Disk Drive, an option when boxed, there are NO
  dependancies software or hardware at all...

  Enjoy...

  Bazza...

----------------------------------------------------------------------------

  Lincolnshire Amiga Group:
  https://lincsamiga.org.uk/wordpress/

----------------------------------------------------------------------------

  This archive is issued under the CC0 Licence. Public Domain.

----------------------------------------------------------------------------

                                IMPORTANT:-
                                -----------

    The Legal Stuff:-
    -----------------

    This code is CC0 licenced, Public Domain.

    The author is not responsible for any damage to, or loss of, or failure
    of equipment or data caused in any way by the use of this code.

    There is NO warranty with the use of this software release and
    YOU USE IT AT YOUR OWN RISK.

----------------------------------------------------------------------------

    Testing Evaluation:-
    --------------------

    All FS-UAE and Classic AMIGA test conditions were/are running standard
    OS 3.0x and using standard ~topaz 8~ fonts throughout. The minimum
    hardware and software requirements ARE needed however.

    I have no idea what strange configuration setups will create so refer
    to the ~The Legal Stuff~ above.

----------------------------------------------------------------------------

    Barry Walker, G0LCU.

    wisecracker.bazza at gmail.com

----------------------------------------------------------------------------

    A very useful HardWare related site, (C) Anthony Hoffman, for
    modifications, schematics, repairs and the like is:-

                          http://amiga.serveftp.net/

============================================================================


Contents of util/shell/Pi_Demos.zip
Archive:  /home/aminet/aminet_root/doc//util/shell/Pi_Demos.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
       0  Stored        0   0% 2021-02-15 18:56 00000000  Pi_Demos/
    4222  Defl:N     1659  61% 2021-02-15 18:56 910ddc97  Pi_Demos/Pi_Demos.readme
     650  Defl:N      447  31% 2021-02-15 18:56 c56801b2  __MACOSX/Pi_Demos/._Pi_Demos.readme
    6148  Defl:N      178  97% 2021-02-15 17:50 6d88006a  Pi_Demos/.DS_Store
     120  Defl:N       53  56% 2021-02-15 17:50 38c0880b  __MACOSX/Pi_Demos/._.DS_Store
     542  Defl:N      314  42% 2021-02-15 15:25 b5916cce  Pi_Demos/PiApproxExample.shell.info
    1524  Defl:N      533  65% 2021-02-15 15:27 5931e5eb  Pi_Demos/PiApproxExample.shell
     529  Defl:N      302  43% 2021-02-15 15:25 b7b558f2  Pi_Demos/Pi.shell.info
    1459  Defl:N      706  52% 2021-02-15 15:27 aec58d9b  Pi_Demos/Pi.shell
     176  Defl:N       92  48% 2021-02-15 15:27 4cf311bf  __MACOSX/Pi_Demos/._Pi.shell
--------          -------  ---                            -------
   15370             4284  72%                            10 files

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>