--- title: "Drake Equation" type: "article" slug: "drake-equation" url: "http://localhost/article/drake-equation/" markdown_url: "http://localhost/article/drake-equation.md" published_at: "2026-11-21T22:04:02+00:00" modified_at: "2026-11-21T22:04:02+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Reprinted from the June/87 issue of HATS, the newsletter of the Harrisburg TS Users Group. Program written by Darrell Frey. 10 PRINT \"WHAT IS THE PROBABIL ITY OF LIFE\" 20 PRINT \"IN THE UNIVERSE ?\" 30 PRINT \"YOU CAN CALCULATE IT YOURSELF.\" 40 PRINT \"THE DRAKE* EQUATION (SOMETIMES\" 50 PRINT \"CALLED THE GREENBANK EQUATION)\" 60…" post_tag: - name: "Full Text" slug: "fulltext" taxonomy: "post_tag" url: "http://localhost/tag/fulltext/" - name: "TS 1000" slug: "ts1000" taxonomy: "post_tag" url: "http://localhost/tag/ts1000/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" model: - name: "Timex/Sinclair 1000" slug: "ts-1000" taxonomy: "model" url: "http://localhost/model/ts-1000/" indiv: - name: "Darrell Frey" slug: "darrell-frey" taxonomy: "indiv" url: "http://localhost/indiv/darrell-frey/" genre: - name: "Astronomy" slug: "astronomy" taxonomy: "genre" url: "http://localhost/type/astronomy/" publication_r: id: 36087 title: "ZX-Appeal" type: "periodical" url: "http://localhost/periodical/zx-appeal/" authors: "Darrell Frey" issues_articles: - id: 39699 title: "ZX-Appeal Sept 87" type: "issue" url: "http://localhost/issue/zx-appeal-sept-87/" pages: "15" pubdate: "September 1987" archive_link: false --- # Drake Equation *Reprinted from the June/87 issue of [HATS](http://localhost/periodical/harrisburg-area-timex-sinclair-users-group/), the newsletter of the Harrisburg TS Users Group. Program written by [Darrell Frey](http://localhost/indiv/darrell-frey/).* ``` 10 PRINT "WHAT IS THE PROBABIL ITY OF LIFE" 20 PRINT "IN THE UNIVERSE ?" 30 PRINT "YOU CAN CALCULATE IT YOURSELF." 40 PRINT "THE DRAKE* EQUATION (SOMETIMES" 50 PRINT "CALLED THE GREENBANK EQUATION)" 60 PRINT "ESTIMATES THE NUMBER OF CIVIL-" 70 PRINT "IZATIONS IN OUR GALA XY ABLE TO" 80 PRINT "CONTACT EACH OTHER." 90 PRINT 100 PRINT " N=RPELICD (*) " 110 PRINT 120 PRINT "* FRANK DRAKE, CORNE LL UNIV.1961" 130 PRINT AT 15,0;"ANSWER THE F OLLOWING QUESTIONS" 140 PRINT "TO CALCULATE N.(VALU E+ENTER)" 150 PRINT AT 19,0;"PRESS ""X"" TO CONTINUE." 160 IF INKEY$<>"X" THEN GOTO 16 0 170 CLS 180 PRINT "R.RATE OF STAR FORMA TION (STARS" 190 PRINT "PER YEAR)? "; 200 INPUT R 210 PRINT R 220 PRINT "P.DECIMAL FRACTION O F THESE " 230 PRINT "STARS THAT HAVE PLAN ETS (SINGLE," 240 PRINT "NEAR TYPE G)? "; 250 INPUT P 260 PRINT P 270 PRINT "E.NUMBER OF PLANETS PER SOLAR" 280 PRINT "SYSTEM THAT WILL SUP PORT LIFE" 290 PRINT "(I.E.EARTH-LIKE)? "; 300 INPUT E 310 PRINT E 320 PRINT "L.DECIMAL FRACTION O F THESE ON" 330 PRINT "WHICH LIFE ARISES? " ; 340 INPUT L 350 PRINT L 360 PRINT "I.DECIMAL FRACTION T HAT DEVELOP" 370 PRINT "INTELLIGENCE? "; 380 INPUT I 390 PRINT I 400 PRINT "C.DECIMAL FRACTION T HAT DEVELOP" 410 PRINT "TECHNOLOGY AND CHOOS E TO" 420 PRINT "COMMUNICATE? "; 430 INPUT C 440 PRINT C 450 PRINT "D.YEARS DURATION OF THESE COM-" 460 PRINT "MUNICATIVE CIVILIZAT IONS?" 470 INPUT D 480 PRINT D 490 LET N=INT (R*P*E*L*I*C*D) 500 PRINT 510 PRINT "N = ";N ```