• Aucun résultat trouvé

at II

N/A
N/A
Protected

Academic year: 2022

Partager "at II"

Copied!
5
0
0

Texte intégral

(1)

RECOIvIP ·II USERS' PROGRAM NO. 1100

PROGRAH TITLE: RECOMP II BESSEL FUNCTION OF THE SECOND KIND, ORDER ON"E SUBHOUTINE (FLOATING POINT, rtELOCATABLE)

PROGRA1~ CLASSIFICATION: Subroutine

AUTHOR: . Philip Sheldon

Sylvania Electronic Systems

A Di vis'ion of Sylvania Electric Products, Inc.

Walth~, .Massachusetts

·PURPOSE: To compute the Bessel function of the second kind, order one of a floating point argument, found in the A and R registers •

. DATE:. 10 October 1961'

Published by RBCOMP Users' ·Library

at

AUTONETICS INDUSTRIAL PRODUCTS

A DIVISION OF NORT"'.tI Al.lERICAN AVIATION, INC.

3400 E. 70th Street, Long Beach

5,

Calif.

, DISCLAIMER

Ahhough it is anumed ihaf elt the prec:autiOlti have beeft taken to check out this program thoroughl~, no relPOnsibility

" tak~n by the orIginator of this prOgram for any erroneous re$uf!s, misconceptions, or misrepresent.tions th.t may appear In this ~rogram. .Furthermore, no responsibility is taken by A';'fonetlcs Indusfrlal Products for the correct reproductions of this program. No warranty, e'Xpress or implied, is extended

tar

the U$8 Of applic-.ation 01' the program. .

(2)

HUG '1100

PROGRAM TI~: RECOMP II BESSEL FUNCTION OF THE SECOND KIND, ORDER ONE SUBROUTINE (FLOATING POINT, RELOCATABLE)

1. ,PURPOSE

1.1 To compute the Bessel function of the second kind, 'order one of a floating point argument, found in the A and R registers.

2. METHOD

2~l

For 0'< X < 8,

l-lhere

A

=

(_1)n n

e.nd, N is the smallest integer for

~thich ~~ ~

10-12

• 202

For 8 < x

<00,

N~(X)" [~r/2 fS1n (X -~)

1 n

L

n=O N

A

n, J

-t (_~)n [B2n_1COS(X-~)

+ B2n sio(X -

1[!)1}

,There,

Bi

= ~. f ·

52 (2

1

-3)2(2

1

-1)(2

1

+1)

i!

(ax)i and where N is'the first

int0ger

for which

B2N

>

B2n- 1 ' or B2N

<

10' , -12

whichever occurs

first.

Page 1

(3)

RUG 1100

3.

RESTRICTIONS

3.1

Ra.nge of Argument X

>

0

3.2 Contents of Land V loops are destroyed.

3·3

The following subroutines sbould be in memory: sin-cos(AN-012.1) loge (AN-037), J

l (AN-C1j6).

Page 2

3.4 The fol1()'1'.dng modifications should be made in AN-Oj6 so that it Will use AN-012.1

. L( Origin plus 0011)

4.

USE

TRA 0000 N¢P

4.1 Calling Sequence

PCA ARa

I

I TRA HI

- -

~

-,- - - - - - - - - - - - - - - -

~~l I PZE L{.iUl- 012.1)

I PZE L(AI~-056) .

.

.

- - - - 1 - - - - ~ - _ _ _ _ _ _ _ _ _ _

I

I

PZE

L(AIV-037)

I ER.ltOR ~.rURI~

- - - - ' - - - _ _ _ _ D _ _ _ _ _ _ _ _ _ _

I I I

4.2 This routine occupies l:9()rds 0000 thru 0167 or 120 full words.

4. 3

Ydnimum Accuracy:

8

decima.l pla.ces. If' speed is desired and several.

fewer accura'ce places are needed, it is suggested that 10 -p be entered into loce.tion 0162·'3, 1-There P is one more than the number of accurate . dec:tmal places l"egllired.

4-.4

After a. no:rrnail. exit the value of. the function is found in the A a.nd R registers. Errol' l~turn is ca.uaed by ~'lega.tive a.rgument.

(4)

RUG 1100 . Page

3

5.

CODING INFORMA.TION

5·1 Constants

5·1.1

Floating Point

1.0

in 0002

2.0 in oQOlj.

8.0 in 0010

2'/rc =

0.63661 9772

in

0050·

Go.mm9.

= 0.57721

56649 in

00;6

'31(/4.

::x in

0164

3·0

in

0166

10 .. 12

in 0162

5·1.2

Fixed Point

.1 a.t

B39

in

0003

1 a.t

B38

in OOCl)

,5·2

~sab1e

Locations: ooc6-7, 0054-5, 0136-7, 0156-7.

5·3

l-fastel" . !J)l.pe includes:

1) BaSic routine,

0000-0167

2) Relo

ca.ti

on matriX

1777-4167

'3) AN-004 Relocation

routine, 7724-7757.

(5)

,'RUG 1100

,Set Up EK11;

Addresses

, Poage

04

<

<~~8

l - - - t 1

SUM =

',g(Gamma.

+ Log

!)J.(x)-

2

7f 0

e

2 1 1C

SUM

=

, 1 / 2 ,

1

[~l . [sin(X - ¥>1

+ B2n s1n{X

~ ~)

1/2 SUM

=

SUl.f - (_l)n en

[~]

___ n_=ll_:+'-.l _ _

l

n=O

Canpute A n

sm.!

= SUM + A ,n n=l1+1

-

> 10

Références

Documents relatifs

Per tal de poder fer una comparació de les pràctiques abans i després de la formació i veure la repercussió d’aquesta a la millora de la higiene de mans, també

En el següent fragment de llengua es mostra una conversa entre la professora i A1 per donar resposta a la pregunta cinc de l’activitat dels xiprers: Per al cas general de n files

La transición a la democracia que se intentó llevar en Egipto quedó frustrada en el momento que el brazo militar no quiso despojarse de sus privilegios para entregarlos al

L’objectiu principal és introduir l’art i el procés de creació artística de forma permanent dins l’escola, mitjançant la construcció d’un estudi artístic

L’ inconformisme i la necessitat d’un canvi en la nostra societat, em van dur a estudiar més a fons tot el tema de la meditació, actualment sóc estudiant d’últim curs

Paraules clau—Oracle Database, base de dades relacional, sistemes distribuïts, sistemes de replicació, DataGuard, màquines virtuals, entorn de replicació, arquitectura

Si bien Salem’s Lot parece haber perdido también parte de esta iconografía más clásica, en lo que se refiere a la aparición del lobo como criatura afín al

también disfruto cuando una parte de la clase opina algo mientras la otra opina lo contrario y debatimos mientras llegamos a una conclusión acerca del poema.”; “he