Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi,

can Maple evaluate repeated compositions in a symbolic way?

q:=x->x+1;
(q@@n)(x);

expected result::

x+n

 

Thanks

I want to interpolate two colors

CI := proc(r)
   local X, Y;
   X := [0, 100/255, 0];  Y := [1,1,1];   
   #return r*X+(1-r)*Y
   return [r*X[1]+(1-r)*Y[1], r*X[2]+(1-r)*Y[2], r*X[3]+(1-r)*Y[3]]
end proc: 

plot3d(0, x=0..1, y=0..1, style=surface, axes=boxed, orientation=[-90,0], color=CI(x));

works. However the first version with return r*X+(1-r)*Y fails. Why? Both give the same result for CI(0.9) and true for type(CI(0.9),list).

Thanks,

Peter


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?

Hi

Some time ago I started to write my own modules.
I've a problem with a module calling an export of another one. Both have the "package" option.

The first module, Math_Tools_ex export a "diffindice" procedure. I copy here the relevant part of the code:


####################################
Math_Tools_ex:=module()

export diffindice, doublederivcov,Dimensione,mix, Test_Symmetry, Double_dag ;
export Coords,A,M,G, Abstraction;
global X, c, dimensione,abstraction;

Hi, can some one help me solve this differential equation. diff(y(r), r, r) = -2*(diff(y(r), r))/r-1.910049266*10^5*polylog(3/2, exp(-0.4813739e-1+0.203e-2*y(r))) the boundary conditions are: y(infinity)=0, Dy(0)=0 Thank you MS

Hello,

How can I count the rows of a (m,n)-Matrix.
describe[count](M) or something else??

BR
CHR

I can insert a table from the Insert menu > Table ..., and I can modify all its properties etc. But is there any way I can "populate" a table with data? Say, for example, this table, on p.167 of my set book, http://books.google.co.uk/books?id=AKsLy0rVGuwC&pg=PA165&lpg=PA165&dq="richardson's+extrapolation+with+five+terms"+"advanced+mathematical+methods+with+maple"&source=bl&ots=ngJbnsw304&sig=D7yj31K_CMLwtvBWo62MXph0qBY&hl=en&ei=KzgWSvu9Gca5jAf2lsX_DA&sa=X&oi=book_result&ct=result&resnum=1#PPA167,M1

It appears that the eigenvalues that Maple computes here are incorrect:

Hello,

I would like to add a date to label of axes in this example. Is it possible in Maple 12?

Hello - I wonder if anyone can help.

I want to convert the square root of 2 into base 12 from decimal, to about 1000 digits. I've had a go at this with Maple using convert/base but this will only let me convert integers. Is there a way to display sqrt(2) in base 12, either by calculating sqrt(2) and then converting, or calculating and converting all in one go?

Thanks for any suggestions

Simon

Hi, I'm using huge sets of 50,000 points each to try to create a huge fractal image.  They are generated using something like the chaos game, but in order to get the detail I'd like I want to use over a million points, but I feel like there is a limitation somewhere as when I merge a couple sets (Q:=union(A,B,C,D); it doesn't create a more detailed point plot.  Is there a limitation to the size of sets in maple.  I'm using maple 11.02 on a mac.

Thanks a lot.

I was wondering if there was a way to restart fscanf so that after using it a certain number of times I can restart from the start of the file and read the information again.

Thanks for the help.

Hi I am in the process of solving 4 coupled PDEs, with their associated ICs and BCs and have obtained solutions up to a time t=T, but at this time I need to change one of the boundary conditions on one of the dependent variables from a value condition to a gradient condition. 1) Can this (structural) change in the BCs at t=T be built into the set of BCs set right at the start of the running the solution, and if so how?

Hi,

when I use "script-like" commands in Maple 12 (say, entermetric() in tensor package), a java promt pops out and forces me to enter values in the small window. But what I want is directly enter things in the main maple window. how do I turn this off? My work environment is linux.

I also attached a screenshot.

Thanks

Hi

I have a "trivial " question about the actual parameters evaluation when I call a procedure.

The "introductory programming guide" says:

"Note: Maple evaluates the actual parameters before they are substituted for the formal parameters ... " (Maple 12 IPG, pag 195)

I don't understand if this is a full evaluation, a one-level evaluation, or what else.

If I try something like this, in a worksheet page (all the variables are global)

f:= x->x^2;

a:=b;
b:=c;

then

 

First 1925 1926 1927 1928 1929 1930 1931 Last Page 1927 of 2219