Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: markomalley

Fortran IV on a Honeywell 2020 with a whopping 32 K of “core” memory.
That was back in 1975, and was my first programming language.
And I agree, there nothing wrong with Fortran.


19 posted on 07/06/2015 6:05:16 AM PDT by Rebel_Ace (HITLER! There, Zero to Godwin in 5.2 seconds.)
[ Post Reply | Private Reply | To 1 | View Replies ]


To: Rebel_Ace

I learned assembler first, then fortran.

I used fortran to simulate Marilyn Vos Savant’s problem of the “3 doors, two goats and a prize”. What confounded people is that people don’t understand odds and statistics. The program I wrote randomly chose assignment of the goats and the prize, randomly decided for the contestant which of the doors should be chosen, randomly decided which of the two goat doors would be revealed by the host, and randomly decided whether the contestant stayed or switched to the other remaining door after the host did the reveal of one goat.
It looks 50-50 at first....but when it ran for 600 million iterations, the stats did not lie: switching doors would give a 66.6% chance of winning.

Loved fortran.


23 posted on 07/06/2015 6:20:38 AM PDT by ImaGraftedBranch (If you haven't figured it out, there is a great falling away...happening before your eyes.)
[ Post Reply | Private Reply | To 19 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson