Dec 312017

Math library for COHERENT v3.1.0 desktop calculator (BC). | |||
---|---|---|---|

File Name | File Size | Zip Size | Zip Type |

MATH_CO.BC | 1293 | 420 | deflated |

MATH_CO.DOC | 856 | 488 | deflated |

# Download File MATH_CO.ZIP Here

## Contents of the MATH_CO.DOC file

Here is a larger math library than the one supplied with COHERENT version

3.1.0. I liked the BC desktop calculator because of its simplicity and

the programming ability.

I was pleased to find that even though not documented, there exists a

function sqrt() inside of the bc calculator. This made the job of

producing a library of transcendental functions easier.

1. Use the "dos" utility supplied with COHERENT to copy the files onto

your COHERENT partition.

2. To use this library,

type:

bc -l math_co.bc

at the COHERENT prompt. If you wish to program the calculator to use

these functions - have your program follow math_co.bc.

3. To test type:

for (i=.1;i

The variable py=3.14159 was defined because interim results will contain

100 places if the pi in the COHERENT library is used.

3.1.0. I liked the BC desktop calculator because of its simplicity and

the programming ability.

I was pleased to find that even though not documented, there exists a

function sqrt() inside of the bc calculator. This made the job of

producing a library of transcendental functions easier.

1. Use the "dos" utility supplied with COHERENT to copy the files onto

your COHERENT partition.

2. To use this library,

type:

bc -l math_co.bc

at the COHERENT prompt. If you wish to program the calculator to use

these functions - have your program follow math_co.bc.

3. To test type:

for (i=.1;i

The variable py=3.14159 was defined because interim results will contain

100 places if the pi in the COHERENT library is used.

December 31, 2017
Add comments