Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

x1a+x2b+x3c+x4d=0

y1a+y2b+y3c+y4d=0

z1a+z2b+z3c+z4d=0

t1a+t2b+t3c+t4d=0

how this equations change to matrix? like:

Matrix(4, 4, [x1, x2, x3, x4, y1, y2, y3,y4, z1,z2,z3,z4,t1,t2,t3,t4]).Matrix(4, 1, [a,b,c,d])=Matrix(4 ,1, [0,0,0,0])

 

I have been unable to successfully open a text file for writing in MAPLEPLAYER, whether it is requested in the startup code section or via a document tools button.  Is there a way to write to a file in MAPLEPLAYER?  It returns a "no write access" statement.

The write works perfectly in MAPLE 2015.1

MRB

LE.2a.E.LGM.mwHi, my this programme is executing for linear part but does'nt show the proper results for non linear,plz tell me appropriate code

Dear All

My question may be quite simple for  community of experts in Maple prgramming, but this problem is one of most disturbing problem for last many months. My problem is how to list all coefficient in differential expression of the type

Could someone explain what are the main (functional) differences between professional and personal Maple editions for 2845$ and 299$ respectively?

Tx, Andras

Hi, I hope to use symbol A, B, directly to get C derivation, without using elements forms of matrix, as shown below.

How to achieve this? 

Thank you.

 

 

> coth;
                                    coth
> restart;
> c := 0;
                                      0
> w := -2*mu;
                                    -2 mu
> a[-1] := 0;
                                      0
> a[0] := mu*lambda*sqrt(-6*a);
                                            (1/2)
                            mu lambda (-6 a)     
> a[1] := (6*(mu*lambda^2+1))/sqrt(-6*a);
                               /         2    \
                             6 \mu lambda  + 1/
                             ------------------
                                      (1/2)    
                                (-6 a)         
> b[-1] := 0;
                                      0
> b[0] := 0;
                                      0
> b[1] := 0;
                                      0
> xi := x+w*t;
                                 x - 2 mu t
> P := sqrt(-mu)*coth(A+sqrt(-mu)*xi);
                     (1/2)     /         (1/2)             \
                (-mu)      coth\A + (-mu)      (x - 2 mu t)/
> u := a[0]+a[1]*P/(1+lambda*P)+a[-1]*(1+lambda*P)/P+b[0]*sqrt(sigma*(1+P^2/mu))/P+b[1]*sqrt(sigma*(1+P^2/mu))+b[-1]*sqrt(sigma*(1+P^2/mu))/P^2;
                 (1/2)
 mu lambda (-6 a)     

           /         2    \      (1/2)     /         (1/2)             \   
         6 \mu lambda  + 1/ (-mu)      coth\A + (-mu)      (x - 2 mu t)/   
    + ---------------------------------------------------------------------
            (1/2) /                (1/2)     /         (1/2)             \\
      (-6 a)      \1 + lambda (-mu)      coth\A + (-mu)      (x - 2 mu t)//
> Diff(u, t)+a*u^2*(Diff(u, x))+Diff(u, `$`(x, 3));
/    /                     
| d  |                (1/2)
|--- |mu lambda (-6 a)     
| dt |                     
\    \                     

          /         2    \      (1/2)     /         (1/2)             \   \\     /          
        6 \mu lambda  + 1/ (-mu)      coth\A + (-mu)      (x - 2 mu t)/   ||     |          
   + ---------------------------------------------------------------------|| + a |mu lambda
           (1/2) /                (1/2)     /         (1/2)             \\||     |          
     (-6 a)      \1 + lambda (-mu)      coth\A + (-mu)      (x - 2 mu t)////     \          

        (1/2)
  (-6 a)     

          /         2    \      (1/2)     /         (1/2)             \   \   
        6 \mu lambda  + 1/ (-mu)      coth\A + (-mu)      (x - 2 mu t)/   |   
   + ---------------------------------------------------------------------|^2
           (1/2) /                (1/2)     /         (1/2)             \\|   
     (-6 a)      \1 + lambda (-mu)      coth\A + (-mu)      (x - 2 mu t)///   

  /    /                     
  | d  |                (1/2)
  |--- |mu lambda (-6 a)     
  | dx |                     
  \    \                     

          /         2    \      (1/2)     /         (1/2)             \   \\   
        6 \mu lambda  + 1/ (-mu)      coth\A + (-mu)      (x - 2 mu t)/   ||   
   + ---------------------------------------------------------------------|| +
           (1/2) /                (1/2)     /         (1/2)             \\||   
     (-6 a)      \1 + lambda (-mu)      coth\A + (-mu)      (x - 2 mu t)////   

  / 3 /                     
  |d  |                (1/2)
  |-- |mu lambda (-6 a)     
  |   |                     
  \   \                     

          /         2    \      (1/2)     /         (1/2)             \   \\
        6 \mu lambda  + 1/ (-mu)      coth\A + (-mu)      (x - 2 mu t)/   ||
   + ---------------------------------------------------------------------||
           (1/2) /                (1/2)     /         (1/2)             \\||
     (-6 a)      \1 + lambda (-mu)      coth\A + (-mu)      (x - 2 mu t)////
> value(%);
                          /                                     2\      
     /         2    \   2 |        /         (1/2)             \ |      
  12 \mu lambda  + 1/ mu  \1 - coth\A + (-mu)      (x - 2 mu t)/ /      
--------------------------------------------------------------------- -
      (1/2) /                (1/2)     /         (1/2)             \\   
(-6 a)      \1 + lambda (-mu)      coth\A + (-mu)      (x - 2 mu t)//   

                                                                         /   
                                    1                                    |   
  ---------------------------------------------------------------------- \12
                                                                       2     
        (1/2) /                (1/2)     /         (1/2)             \\      
  (-6 a)      \1 + lambda (-mu)      coth\A + (-mu)      (x - 2 mu t)//      

                                                                           /
  /         2    \      (1/2)     /         (1/2)             \          2 |
  \mu lambda  + 1/ (-mu)      coth\A + (-mu)      (x - 2 mu t)/ lambda mu  \1

                                      2\\     /                     
         /         (1/2)             \ ||     |                (1/2)
   - coth\A + (-mu)      (x - 2 mu t)/ // + a |mu lambda (-6 a)     
                                              |                     
                                              \                     

          /         2    \      (1/2)     /         (1/2)             \   \   
        6 \mu lambda  + 1/ (-mu)      coth\A + (-mu)      (x - 2 mu t)/   |   
   + ---------------------------------------------------------------------|^2
           (1/2) /                (1/2)     /         (1/2)             \\|   
     (-6 a)      \1 + lambda (-mu)      coth\A + (-mu)      (x - 2 mu t)///   

  /                           /                                     2\       
  |       /         2    \    |        /         (1/2)             \ |       
  |     6 \mu lambda  + 1/ mu \1 - coth\A + (-mu)      (x - 2 mu t)/ /       
  |- --------------------------------------------------------------------- +
  |        (1/2) /                (1/2)     /         (1/2)             \\   
  |  (-6 a)      \1 + lambda (-mu)      coth\A + (-mu)      (x - 2 mu t)//   
  \                                                                          

                                                                         /      
                                    1                                    |  /   
  ---------------------------------------------------------------------- \6 \mu
                                                                       2        
        (1/2) /                (1/2)     /         (1/2)             \\         
  (-6 a)      \1 + lambda (-mu)      coth\A + (-mu)      (x - 2 mu t)//         

                                                                      /
        2    \      (1/2)     /         (1/2)             \           |
  lambda  + 1/ (-mu)      coth\A + (-mu)      (x - 2 mu t)/ lambda mu \1

                                         \
                                      2\\|
         /         (1/2)             \ |||
   - coth\A + (-mu)      (x - 2 mu t)/ //|
                                         |
                                         |
                                         /

                                                                       2     
                               /                                     2\      
          /         2    \   2 |        /         (1/2)             \ |      
       12 \mu lambda  + 1/ mu  \1 - coth\A + (-mu)      (x - 2 mu t)/ /      
   - --------------------------------------------------------------------- +
           (1/2) /                (1/2)     /         (1/2)             \\   
     (-6 a)      \1 + lambda (-mu)      coth\A + (-mu)      (x - 2 mu t)//   

                                                                        /       
                                    1                                   |   /   
  --------------------------------------------------------------------- \24 \mu
        (1/2) /                (1/2)     /         (1/2)             \\         
  (-6 a)      \1 + lambda (-mu)      coth\A + (-mu)      (x - 2 mu t)//         

                                                    2 /
        2    \   2     /         (1/2)             \  |
  lambda  + 1/ mu  coth\A + (-mu)      (x - 2 mu t)/  \1

                                      2\\   
         /         (1/2)             \ ||   
   - coth\A + (-mu)      (x - 2 mu t)/ // +

                                                                         /   
                                                                         |   
                                    1                                    |   
  ---------------------------------------------------------------------- \84
                                                                       2     
        (1/2) /                (1/2)     /         (1/2)             \\      
  (-6 a)      \1 + lambda (-mu)      coth\A + (-mu)      (x - 2 mu t)//      

  /         2    \   2     /         (1/2)             \
  \mu lambda  + 1/ mu  coth\A + (-mu)      (x - 2 mu t)/

                                          2                  \
  /                                     2\                   |
  |        /         (1/2)             \ |       (1/2)       |
  \1 - coth\A + (-mu)      (x - 2 mu t)/ /  (-mu)      lambda/

                                                                     3           
                             /                                     2\            
        /         2    \   3 |        /         (1/2)             \ |        2   
     36 \mu lambda  + 1/ mu  \1 - coth\A + (-mu)      (x - 2 mu t)/ /  lambda    
   - ------------------------------------------------------------------------- +
                                                                           3     
            (1/2) /                (1/2)     /         (1/2)             \\      
      (-6 a)      \1 + lambda (-mu)      coth\A + (-mu)      (x - 2 mu t)//      

                                                                         /   
                                                                         |   
                                    1                                    |   
  ---------------------------------------------------------------------- \36
                                                                       4     
        (1/2) /                (1/2)     /         (1/2)             \\      
  (-6 a)      \1 + lambda (-mu)      coth\A + (-mu)      (x - 2 mu t)//      

  /         2    \      (1/2)     /         (1/2)             \       3   3
  \mu lambda  + 1/ (-mu)      coth\A + (-mu)      (x - 2 mu t)/ lambda  mu  

                                          3\   
  /                                     2\ |   
  |        /         (1/2)             \ | |   
  \1 - coth\A + (-mu)      (x - 2 mu t)/ / / +

                                                                         /   
                                                                         |   
                                    1                                    |   
  ---------------------------------------------------------------------- \72
                                                                       3     
        (1/2) /                (1/2)     /         (1/2)             \\      
  (-6 a)      \1 + lambda (-mu)      coth\A + (-mu)      (x - 2 mu t)//      

                                                        2         
  /         2    \   3     /         (1/2)             \        2
  \mu lambda  + 1/ mu  coth\A + (-mu)      (x - 2 mu t)/  lambda  

                                          2\   
  /                                     2\ |   
  |        /         (1/2)             \ | |   
  \1 - coth\A + (-mu)      (x - 2 mu t)/ / / -

                                                                         /   
                                    1                                    |   
  ---------------------------------------------------------------------- \24
                                                                       2     
        (1/2) /                (1/2)     /         (1/2)             \\      
  (-6 a)      \1 + lambda (-mu)      coth\A + (-mu)      (x - 2 mu t)//      

                                                        3        /
  /         2    \   2     /         (1/2)             \         |
  \mu lambda  + 1/ mu  coth\A + (-mu)      (x - 2 mu t)/  lambda \1

                                      2\           \
         /         (1/2)             \ |      (1/2)|
   - coth\A + (-mu)      (x - 2 mu t)/ / (-mu)     /
> simplify(%);
Error, (in simplify/tools/_zn) too many levels of recursion
>
>
>
>
pls help

hi, I just want to calculate Adomian's polynomial but does not got  desire result,plz helpADMP.mw

hi .how i can solve nonlinear equation with unknown prameter omega as below

thanksfrekans.mw

Hi All,

 

I have o problem with simplify. A variable cp1r has been assumed to be positive. Why simplify still has csgn(cp1r) for it? Here is my code:

tmp := subs(cp1t(t)=cp1r, cp2t(t)=cp2r, Ca[2]);
1 / 2 2
----------- |-cp2r sin(x[1]) sin(x[7]) cp1r
2 2 |
cp1r cp2r |
\

2
+ 2 cp2r sin(x[1]) cos(x[1]) cos(x[7]) sin(x[7]) cp1r +

1 / 2 2 /
-------------- \cp2r cos(x[1]) cos(x[7]) sin(x[7]) \
(1/2)
/ 2\
2 \cp1r /
2 \\\
-2 cos(x[1]) cos(x[7]) sin(x[1]) + 2 sin(x[1]) cos(x[1])//|
|
|
/
assume(cp1r > 0, cp2r > 0);
simplify(tmp);
1 / / 3 3
---------- \sin(x[1]) sin(x[7]) \-cos(x[1]) cos(x[7])
2
cp1r cp1r

+ 2 cos(x[1]) cos(x[7]) cp1r csgn(cp1r) cp1r

2 3 \ \

- cp1r csgn(cp1r) cp1r + cos(x[1]) cos(x[7])/ csgn(cp1r)/

 

should csgn(cp1r) be simplified to 1 already? What is wrong with my script?

 

Thanks 

Everett

I have the following PDE:

 

u_xx = u_tt + (2^{1/2}u_x-u)^{1/2}

 

Do you have a proposed algorithm to solve in maple for this PDE? I mean pdsolve won't solve it because it's a nonlinear PDE.

 

Hi All,

 

I am working on modeling dynamics for a robot. It requires a write some long expressions into C++.  When I do it, it has some strange problem in creation of C++ code from a vector.

Here is an example of the problem. I have a multivariable polynomial term, I using coeffs to get its coefficients and corresponding unevaluated variables, which works fine. But I can't convert the vector into C++

Ca := coeffs(term, [W, Rf, Rr, dxf, rcf, rcr], 'L'):

L;                           Rf, Rr, dxf

C(L, resultname="L11", output="dSpDdx1.cpp");

Error, (in Translate) options [Rr, dxf] not recognized.

I don't know why maple thought the unevaluated variable Rr and dxf are options instead of the vector I want to convert into c++. Does any one know what I did wrong?

 

Thanks in advance.

 

Everett

Just purchased Maple 2015 and playing with it for the first time.  I'm running the 64-bit version on Win 8.1.

Anytime the program generates a pop-up dialog box, the pop-up seems to get stuck behind the main program window.  I can't alt+tab to get to the pop-up window and I can't click on anything in the main program window because it's frozen while waiting for me to aknowledge the pop-up dialog box.  So I have to kill everything from the task manager and lose anything that's unsaved.

I'm talking about pop-ups for things like "Error, (in @@) invalid arguments"... I click on the link and see a brief flash while that pop-up quickly flies behind the main window.  Same thing happens when I click on a link that asks what web browser I want to use.

 

I can't be the only one that has this problem, so is there a fix or workaround for this somewhere?  It's not really useable like this.  Thanks!

First 1216 1217 1218 1219 1220 1221 1222 Last Page 1218 of 2228