user371596
user371596

Reputation: 75

How to load a package in Maple?

I want to use a package called "ESC" elliptic surface calculator that can be uploaded with Maple.

The instructions from the creator are:

Save as a text file with character encoding ISO-8859-1 (ISO Latin 1) and load within Maple using "read" command).

I have problem with uploading to Maple and saving with this encoding. Can anybody say the exact upload command with details and how to save text with this encoding?

Here is the package page: http://c-faculty.chuo-u.ac.jp/~kuwata/2012-13/Maple_resources/ESC.mpl

I use Windows 8.1 and Maple 18. Thanks!

Upvotes: 4

Views: 748

Answers (1)

zhk
zhk

Reputation: 331

On the webpage, just right click on the source code file and then click save as a text file. After that, open maple work sheet and read the file ESC.mpl.txt, like this

restart:
read("C:/tcdata/ESC.mpl.txt") # I have save the file in a folder named `tcdata` in drive C.

Once the file is loaded/read in maple, you can do whatever you are suppose to do. I tried these, to check whether the source code is working or not.

ESC();

enter image description here

elliptic_surface(1,1,1,1,1);

enter image description here

Apparently, the source file has been read and is working properly.

Upvotes: 4

Related Questions