By B.V. Cordingley, D.J. Chamund
Read Online or Download Advanced BASIC Scientific Subroutines PDF
Best languages & tools books
E-book through Lien, David A.
Ranging from the idea that realizing the principles of concurrent programming is vital to constructing dispensed computing structures, this ebook first provides the elemental theories of concurrent computing after which introduces the programming languages that support increase allotted computing platforms at a excessive point of abstraction.
Additional resources for Advanced BASIC Scientific Subroutines
8, 1. 8, 1 LET NUMDAT = 6 REM READ INPUT DATA INTO A() FOR J = 1 TO NUMDAT READ A(J) 52 Advanced BASIC Scientific Subroutines 1120 1130 1140 1150 1160 1170 1180 1190 1200 1210 1220 1230 1240 REM REM REM END NEXT J COMPUTE SUMMARY STATISTICS CALL SUBROUTINE MNVRNC GOSUB 2000 PRINT " SUM OF DATA VALUES PRINT " SUM OF SQUARES OF DATA VALUES PRINT " MEAN PRINT " VARIANCE, MEAN ESTIMATED PRINT " VARIANCE, MEAN KNOWN PRINT" STANDARD DEVIATION, MEAN EST. PRINT" STANDARD DEVIATION, MEAN KNOWN >RUN SUM OF DATA VALUES SUM OF SQUARES OF DATA VALUES MEAN VARIANCE, MEAN ESTIMATED VARIANCE, MEAN KNOWN STANDARD DEVIATION, MEAN EST.
40,26,60,70,90,40,40,20, 100,20,40, 10,40,5,40,30,20,40,30,40, 90,70,40,30,25,20,10,5,60,50,40,40,20,50, 70,80,5,10,40,60, 10,30,40,60,5,20,5,25,40,80,80,5, 70,40,30,50,20,50,60,50. 0 1230 1240 1250 1260 1270 1280 1290 1300 1310 REM REM REM REM REM REM REM REM REM REM REM SAMPLE PROGRAM: PMAXMIN FINDS MAXIMUM, MINIMUM, RANGE, MEDIAN, PERCENTILES AND CUMULATIVE FREQUENCY DIST.
Note See the section on GAMMFN for comments on precision and magnitude of m andx. The Subroutines 45 UPPER TAIL AREA OF THE F-DISTRIBUTION Subroutine: FDISTR Description Computes the area under the upper tail of the F-distribution for (m, n) degrees of freedom. Requires subroutines BETAFN and LNGAMM. Method The integral of the upper area of the F-distribution, 1 - F(z), is solved with the aid of the subroutine for the incomplete beta function BETAFN. 1 - F(z) is equal to I x(P, q) if n/2 is substituted for p, m/2 for q, and n/(n + mz) for x.