MaplePrimes Questions


To ensure the general accessibility of my Maple worksheets for Mathematics for Chemistry, I work with the classic interface.  When I tried to install first Maple 2018.1, when it became available, and then Maple 2018.2 when it became available, the output from use of either technical input in text lines, using function key F5, or simply from an executable input command or statement was corrupted.  I reported this behaviour but apparently the remedy has not yet been incorporated.  To avoid these problems, I had to delete Maple 2018.2 and to reinstall Maple 2018.0.  

     When I, in good faith, with that Maple 2018.0 reinstalled tried to install Maplesoft Physics Updates version 241, according to the encouragement of Edgardo Cheb-Terrab above, I discovered the same corruption in the output when I entered a procedure, for instance this one,

ft := proc(kk,ll,mm)
>      h^(-3/2)*int(int(int(expand(exp(-(2*Pi*I/h)*(sin(theta)*sin(Theta)*cos(Phi-phi)+cos(theta)*cos(Theta))*r*P)
>            *eval(psi,[k=kk,l=ll,m=mm])*r^2*sin(theta), trig),phi=0..2*Pi),theta=0..Pi),r=0..infinity);
> end proc;
  ft := proc(kk, ll, mm)
    1/h^(3/2)*int(int(int(expand(exp(-2*I*Pi*(in(theta)*sin(Theta)*cos(Phi - phi)+ cos(theta)*cos(Theta))*r*P/h)*eval(psi, [k = kk, l = ll,  m = mm])*r^2*sin(theta), trig), phi = 0 .. 2*Pi), theta = 0 .. Pi), r = 0 .. infinity)
end proc

namely that, instead of * in any location in the output that you can read above, there appears a large U.  Why is the testing by Dr. Cheb-Terrab and others connected with Maplesoft done in such a slipshod manner?  After all these years one should expect better control of quality than is evidently the case.  It seems that I must once again reinstall Maple 2018.0 to regain the full functionality of Maple 2018 without the deficiencies introduced in both the updates and the Physics package.  This condition is disgraceful and intolerable.

general_solution.mwI want to calculate the diff equations numerical solutions at z=500 with calling the integrals with limits -500..Z and i want the datefile of resualts



I cannot find a solution for multiplying matrices containing vectors. I seems that matrix operations are not overloaded for accepting vectors. Here is a minimum example :

A := Matrix([u, v]);
B := Transpose(A) . A;

# Entries of A are in fact vectors
u := `<,>`(u1, u2);
v := `<,>`(v1, v2);

# Here are the expected entries of matrix B

u . u;
v . v;
u . v;

# but entries cannot be calculated

B := Transpose(A) . A;

Of course I can obtain the result if I construct the matrix A with the components of u and v but  my goal is to manipulate more concise expressions with vectors rather than components. May I find a solution in some other package ?

Would it be a complicated task to develop the missing operators or tell Maple to use the dot operator (for matrices and vector) when performing matrix multiplication ?

Thanks for your insights.

 K is a function by K(u,ux), and there is an equation K2,2=0,. It must be solved like K=K1(u)*ux+k2(u)

Is there any command to help me solve that kind of expression just in Jet space?

Dear users,

Can any one give a correct model statement (if what I have suggested is incorrect) for each one of the following in a module:

module() export eseq;  local lseq;  global gseq;  option optseq; 

 description dseq;  uses usesSequence;  statementSequence   end

My model statements:

export x1, y1;

# x1 and y1 are variables calculated here and sent to main document

 local a, b;  

# a and b are local constants are variables used here inside module only

global z1; 

# z1 is a constant or variable used all over the document can be read from and exported to main document and used in manipulation anywhere in the main document as well as inside the module.

option if x1 = .. else... end; 

 description dseq;

# Statements for self use and understanding the commands during execution


uses DocumentTools;

# Packages used in module like DocumentTools, Students Calculus

Statement Sequence

valid executable maple command  1

valid executable maple command  last


I want to understand the basic usage of  a module and procedure with a simple document.  

I am also confused over the following.

1) Is there any use of a module with zero statement (as given below) in it?

 module ()

end module

2) What is the major difference between module and procedure?

3) What is in module that is not possible in procedure?
I believe that procedure is like a function [for call from script(internally or eternally) or command window] in MATLAB and subroutine in FORTRAN or BASIC etc. What is module like in other programme siftwares?

Thanks for helping.

Ramakrishnan V



Dear Tom,

I need your help. I have a delay differential equation to solve and extract the value of the solution y(t) at a selected point of the independent variable t.  I am uploading a small sample code. 


dsys := {diff(y(t), t) = -y(t-1), y(0) = 2}; dsn := dsolve(dsys, numeric)

{diff(y(t), t) = -y(t-1), y(0) = 2}







dsys := {diff(y(t), t) = -y(t-1), y(0) = 2}; dsn := dsolve(dsys, numeric)

{diff(y(t), t) = -y(t-1), y(0) = 2}








Hi everyone: 

I want to obtain r1(t), V(t) , q(t) in terms of U0 and plot V(t) in terms of U0, how? 

eq1:= diff(r[1](t), t, t)+(.3293064114+209.6419478*U[0])*(diff(r[1](t), t))+569.4324330*r[1](t)-0.3123434112e-2*V(t) = -1.547206836*U[0]^2*q(t)
eq2:= 2.03*10^(-8)*(diff(V(t), t))+4.065040650*10^(-11)*V(t)+0.3123434112e-2*(diff(r[1](t), t)) = 0
eq3 := diff(q(t), t, t)+1047.197552*U[0]*(q(t)^2-1)*(diff(q(t), t))+1.096622713*10^6*U[0]^2*q(t) = -2822.855019*(diff(r[1](t), t, t))


Hi, everytimes I enter anythings, it turn out with Typesetting:-mparsed( bla1bla2, bla1bla2;"_noterminate")


For an Array A, say, and some positive integer n, say, Maple interpretes A^n as raising each entry separately to the same power n. Without the Physics package loaded, A^n can also be written as A . A . ... . A (n times). But with the Physics package loaded, this equality is broken (at least in Maple 2017): If A is a 2D square Array, A . A all of a sudden is no longer equal to A^2, but rather to convert(A,Matrix)^2, i.e., to the square of the Array considered as a Matrix. The presence of the dot operator seems to make the Physics enviroment convert A to a Matrix. This seems to me to be a bug.

In the C programming language the following code makes i = 1

real r;      integer i;      r = 1.9;         i = r;

How do I do the same in Maple?

During running my ws I faced with memory error as below, where as my system have enough memory (120GB)

Warning, Run: unable to set assignto result due to error:  Maple was unable to allocate enough memory to complete this computation.  Please see ?alloc

Maple's help suggests :Software limits are imposed by the -T command-line argument, the datalimit argument to kernelopts and system imposed user limits (for example shell limits).
  But I could not understand how to increase software limit.


how to fix that?

find the fourier cosine and sine transform. Use your identites and integrals to eliminate all exponents.

piecewise function is {cosh(t) for 0 less or equal to t, t is less than 1,

                                   0 for 1is less than or equal to t.}


i am currently using Maple 18, i have a problem on inserting 12 row by 12 column matrix and above is seem to be impossible. please can help or direct me on how to insert 12 row by 12 column matrix in maple. because my maple 18 seem to stop in 10 row by 10 column matrix.  thanks

Hi everybody.....

I want to obtain the roots of below equation, How? 

eq:=1+cos(beta)*cosh(beta)+.5720823799*beta*(cos(beta)*sinh(beta)-cosh(beta)*sin(beta))-0.1285578382e-1*beta^2*sin(beta)*sinh(beta)-0.9629800618e-4*beta^3*(cos(beta)*sinh(beta)+cosh(beta)*sin(beta))+0.1377259814e-4*beta^4*(1-cos(beta)*cosh(beta)) = 0


3 4 5 6 7 8 9 Last Page 5 of 1690