djc

596 Reputation

13 Badges

19 years, 74 days
Technical professional in industry or government
Budapest, Hungary

MaplePrimes Activity


These are questions asked by djc



Hello,

I wanted to use the Split command of StringTools package and I realized that it is different from the Split command in Visual Basic.

In VB one can give a third argument to define the maximum numbers of splittings:
For example : in Visual Basic returns the array . , i.e.the function splits the string at the first occurrence of the ":".

It would be useful the improve this command in Maple to have this possibility.


Hello,

Is there a direct way to calculate the area of the following 2D region in Maple (analytically or numerically).
The borders of the  region: y=x, y=2*x, x*y=1, x*y=2 {x>0,y>0}
Is it possible to define such region for integration (symbolic or numeric) in Maple?



Hello,

It seems that Sample  works with only posints as the number of samples (Maple 12):

 restart;
 with(Statistics);

X:=RandomVariable(Uniform(-1,1));

xs:=Sample(X,1E6);

# it gives an error

xs:=Sample(X,1000000); # it is ok.

 

Hello,

I am trying this evalm example (from the help page of evalm, Maple 12):

restart;

alias(Id = `&*`());

# Simplification of matrix operations

evalm((`&*`(`&*`(A, B), 2))*B-`&*`(B, Id));

 

Error, (in evalm/amperstar) &* is reserved for matrix multiplication

A and B are not defined as Matrix in the help page. Is it the problem?

 

2 3 4 5 6 7 8 Page 4 of 8