Technical Support
Forums
and Mailing Lists
Search Mackichan Web
SWP & SW
Version 5/5.5
Installation
Word Processing
Computations
Typesetting
File Issues
Graphics
Exam Builder
Style Editor
Other
Free Updates
Technical Articles
Scientific Notebook
Support Information
Troubleshooting
TeXnology
BibDB
TeXnology links

Document 249
Real outcome for cube root
Version: 3.0  Scientific WorkPlace & Scientific Notebook
Problem
In SWP 3.0, if you enter
and then choose Evaluate Numerically from the
Maple menu, the value that is returned is an
imaginary number instead of a real number.
Solution
The Maple function that is most appropriate here is the surd command. To
access and use the function, follow these instructions:

From the Maple menu, choose
Define and then choose
Define Maple Name.

In the Maple name box, enter
surd(x,n).

In the Scientific WorkPlace name box, enter
s(x,n).

Choose OK.
You have now defined a function with two parameters. The first is the radicand
of the expression and the second is the radix.

Test that you can properly access the command:

From the Insert menu, choose
Math, or click the Math/Text button.

Enter s(8,3).

From the Maple menu, choose
Evaluate.
If you get an answer of 2, you have properly accessed the surd command through
the Maple library.

Make sure you're in mathematics (the Math/Text button appears as M).

Enter s(100,3).

From the Maple menu, choose
Evaluate Numerically.
The system should return 4.64... as the answer.
Revised 05/03/02
This document was created with Scientific WorkPlace.
