djc

576 Reputation

13 Badges

18 years, 298 days
Technical professional in industry or government
Budapest, Hungary

MaplePrimes Activity


These are questions asked by djc


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?

 

Hello,

I have 4 points in 2D and I want to plot them with different colors:

This works in Maple 12:

plots[pointplot]([1,2,3,4],[5,4,7,8],color=["Red","Blue","Magenta","Pink"]);
 

And I want to connect each other with line segments:

But this doesn't work:

plots[pointplot]([1,2,3,4],[5,4,7,8],color=["Red","Blue","Magenta","Pink"],connect=true);

Error, (in plots/pointplot) number of colors must match number of points
 

2 3 4 5 6 7 8 Page 4 of 8