casperyc

962 Reputation

10 Badges

16 years, 79 days
University of Kent
Dr

Social Networks and Content at Maplesoft.com

MaplePrimes Activity


These are questions asked by casperyc

Dear all,

I wrote some simple functions in Maple 13, called "myproc" file,

and used startup code (edit-->startup code) to initialize it in a worksheet by: read "myproc";

Now I am using Maple 14, it does not work, says, "unable to read", sort of thing.

 

I have also tried to rename the file to myproc.m and read "myproc.m";

does not work either.

Is there any compatibility problem?

Thanks.

casper

poi:=x->exp(-0.2225)*0.2225^x/x!;

 

for i from 0 to 4 do > evalf(poi(i)*10000,2) > od;

 

View 7845_Q1.mw on MapleNet or Download 7845_Q1.mw
View file details

 

I dont understand what's the 'label' thing in the answer here.

 

Thanks.

 

casper

Hi,

++++++++++++++++++

A:=Matrix(3,3);

 

ExportMatrix("A",A);

 

save A,A2;

++++++++++++++++++

 

Both 'A' and 'A2' are saved  in the same folder as the worksheet,

how can I save/ExportMatrix in a sub-folder (if folder dose not exists, creat automatically)?

 

 

Thanks.

 

casper

Download 7845_notes.pdf
View file details

Hi,

I am trying to go through an example in my notes.

p:=2038074743;
q:=1190494759;
n:=p*q;

x:=141213562373095048;

y:=Power(x,2) mod n;

 

then I do the following,

Power(y,(p+1)/4) mod p;

First 17 18 19 20 21 22 23 Last Page 19 of 31