14-26 Computer Algebra System (CAS)
You must be in Rigorous (not Sloppy) mode to apply
SERIES with unidirectional expansion. (See “CAS modes”
on page 14-5 for instructions on setting and changing
modes.
Example 1
Give a 3rd-order expansion of in the vicinity of
x = 0
+
.
Typing:
gives:
Example 2
Give a 3rd-order expansion of in the vicinity of
x = 0
–
.
Typing:
gives:
Note that h = –x is positive as x → 0
–
.
Example 3
If you enter the order as an integer rather than a real, as
in:
you will get the following error:
SERIES Error: Unable to find sign.
Note that if you had been in Sloppy rather than Rigorous
mode, all three examples above would have returned the
same answer as you got when exploring in the vicinity of
x = 0
+
:
x
2
x
3
+
SERIES X
2
X
3
+ X 03.0,=,()
1
16
------
h
4
⋅
1–
8
------
h
3
⋅
1
2
---
h
2
⋅ h+++0h
5
()+ hx=()
x
2
x
3
+
S
ERIES X
2
X
3
+ X 03.0–,=,(
)
1–
16
------
h
4
⋅
1–
8
------
h
3
⋅
1–
2
------
h
2
⋅ h 0 h
5
()++++hx–=()
SERIES X
2
X
3
+ X 03,=,()
hp40g+.book Page 26 Friday, December 9, 2005 1:03 AM