FUNCTION

FUNCTION EXPRESSED IN TERMS OF BASIC FUNCTIONS

INVERSE HYPERBOLIC

 

SINE

ARGSINH(X) = LOG(X+SQR(X*X+1))

INVERSE HYPERBOLIC

 

COSINE

ARGCOSH(X) = LOG(X+SQR(X*X-1))

INVERSE HYPERBOLIC

 

TANGENT

ARGTANH(X) = LOG((1+X)/(1-X))/2

INVERSE HYPERBOLIC

 

SECANT

ARGSECH(X) = LOG((XQR(-X*X+1)+1)/X

INVERSE HYPERBOLIC

 

COSECANT

ARGCSCH(X) = LOG((SGN(X)*SQR(X*X+1)+1)/X)

INVERSE HYPERBOLIC

 

COTANGENT

ARGCOTH(X) = LOG((X+1)/(X-1))/2

A ERROR MESSAGES

 

If an error occurs, BASIC outputs an error message, returns to command level and displays the cursor. Variable values and the program text remain intact, but the program can not be continued and all GOSUB and FOR context is lost.

When an error occurs in a direct statement, no line number is printed.

Format of error messages:

 

 

 

Direct Statement

?XX

ERROR

 

Indirect Statement

?XX

ERROR

IN YYYYY

In both of the above examples, "XX" will be the error code. The "YYYYY" will be the line number where the error occured for the indirect statement.

The following are the possible error codes and their meanings:

ERROR CODE

MEANING

BS

Bad Subscript. An attempt was made to reference a matrix element

 

which is outside the dimensions of the matrix. This error can occur

 

if the wrong number of dimensions are used in a matrix reference;

 

for instance, LET A(1,1,1)=Z when A has been dimensioned DIM

 

A(2,2).

CN

Continue error, Attempt to continue a program when none exists, an

 

error occured, or after a new line was typed into the program.

DDDouble Dimension. After a matrix was dimensioned, another DIM statement for the same matrix was encountered. This error often occurs if a matrix has been given the default dimension 10 because a statement like A(I)=3 is encountered and then later in the program a DIM A(100) is found,

FC

Function

Call error, The parameter passed to a math

or string func-

 

tion was

out of range. FC errors can occur due to:

 

1.A negative matrix subscript (LET A(-1)=0)

2.An unreasonably large matrix subscript (>32767)

3.LOG-negative or zero argument

4.SQR-negative argument

5.A^B with A negative and B not an integer

6.A call to USR before the address of the machine language

Page 248
Image 248
Apple II manual Inverse Hyperbolic Secant, Error Messages, ?XX Error

II specifications

The Apple II, launched in April 1977, was one of the first highly successful mass-produced microcomputer products. It marked a significant leap in personal computing, setting standards for future developments in the industry. Created by Steve Wozniak and Steve Jobs, the Apple II differentiated itself with its user-friendly design, appealing aesthetics, and robust capabilities.

One of the standout features of the Apple II was its open architecture, which allowed users to expand and enhance the computer's functionality. This design enabled hundreds of third-party hardware and software developers to contribute to its ecosystem, resulting in an array of peripherals, including printers, modems, and storage devices. The Apple II utilized a MOS Technology 6502 microprocessor running at a clock speed of 1 MHz. Initially equipped with 4 KB of RAM, the machine could be expanded to 48 KB, accommodating more complex applications and programs.

The Apple II was also notable for its colorful graphics. It was one of the first computers to support color display, offering a 6-color palette with a resolution of 280x192 pixels in 16 colors when using its Color Graphics Card. This feature significantly enhanced the visual appeal of games and educational software developed for the platform, making computing more accessible and entertaining for various audiences.

Apple's commitment to user experience was evident in the design of the machine. It featured an integrated keyboard and a plastic case, which was both durable and visually appealing. The self-contained design included drive bays for floppy disk drives, allowing for quicker data access than traditional tape drives. It also supported audio output, enabling sound effects and music, a novelty at the time.

The introduction of the Apple DOS operating system further underscored the machine's capabilities. DOS streamlined file management and made it easier for users to navigate and manage their data. The combination of hardware and software positioned the Apple II as an educational tool and a gaming platform, fostering a vibrant software ecosystem.

The Apple II family continued to evolve, with variations like the Apple II+, IIe, and IIgs being introduced over the years. These iterations brought enhancements in memory, processing power, and graphics capabilities. The legacy of the Apple II endures, not only as a foundational product in personal computing but also as a symbol of innovation that paved the way for future advancements in technology. Its impact is still felt today, as it inspired countless developers and shaped the trajectory of the computer industry.