f(x)
=
1
x
x8
+
a1x
6
+
a 2x
4
+
a3x
2
+
a4
x8
+
b1x6
+
b 2x4
+
b3x2
+
b4
+
✒
(x)
✒
(x)
<
5
$
10
−
7
a
1
= 38.027264
b
1
= 40.021433
a
2
= 265.187033
b
2
= 322.624911
a
3
= 335.677320
b
3
= 570.236280
a
4
= 38.102495
b
4
= 157.105423
g(x)
=
1
x2
x8
+
a1x
6
+
a2x
4
+
a 3x
2
+
a4
x8
+
b1x6
+
b2x4
+
b 3x2
+
b4
+
✒
(x)
✒
(x)
<
3
$
10
−
7
a
1
= 42.242855
b
1
= 48.196927
a
2
= 302.757865
b
2
= 482.485984
a
3
= 352.018498
b
3
= 1114.978885
a
4
= 21.821899
b
4
= 449.690326
All of these equations are from Handbook of Mathematical Functions, Abramowitz and Stegun, Dover,
1965.
The results from both of these routines are only accurate to about seven significant digits. Below
,
x
=
✜
the accuracy may be as good as 11 or 12 significant digits. Notice that the maximum argument for both
routines is 1E12 radians. This limit results from the use of the built-in sin() and cos() functions.
The evaluation of ci(x) and si(x) is also complicated by the fact that nInt() evaluates the integrals very
slowly, and with poor accuracy, for arguments less than about 1E-4. To get around this, I used Taylor
series expansions for the integrands near x=0, then symbolically integrated those. For the cosine
integral, I use
cos
(
t
)−
1
t
= −
t
2
+
t3
24
−
t5
720
+
t7
40320
+
...
and integrated this expansion to find
Ci
(
x
)
j
−
x2
4
+
x 4
96
−
x 6
4320
+
x8
322560
Similarly, for the sine integral:
sin
(
t
)
t
=
1
−
t2
6
+
t4
120
−
t6
5040
+
t8
362880
−
t10
39916800
+
...
and integrating gives
Si
(
x
)
j
x
−
x 3
18
+
x5
600
−
x7
35280
+
x9
3265920
−
x11
439084800
These approximations give good accuracy for x < 0.01.
Code listing for si(x):
si(x)
Func
©(x) return si(x), x real, |x|<
11
2
©Must be in folder \spfn
©24jan0
1
6 - 63
Summary of Contents for TI-92+
Page 52: ...Component side of PCB GraphLink I O connector detail 1 41...
Page 53: ...LCD connector detail PCB switch side 1 42...
Page 54: ...Key pad sheet contact side Key pad sheet key side 1 43...
Page 55: ...Key cap detail 1 44...
Page 57: ...Component side of PCB with shield removed A detail view of the intergrated circuits 1 46...
Page 410: ...void extensionroutine2 void Credit to Bhuvanesh Bhatt 10 4...