Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I made reference to the show the enemy below and included part of the script an interesting part in the show. 

I did a mapleprimes search - only two returns none of which were what I was looking for.  I also did a google search which turned up nothing. 

Was my post deleted?

Good day everyone,

 

I want to construct groebner bases over rings of differential Operators.

Thus I used the following:

 

with(Ore_algebra);

with(Groebner); N := 3;

A := skew_algebra(diff = [D[1], x[1]], diff = [D[2], x[2]], diff = [D[3], x[3]], comm = i, alg_relations = i^2+1); T := MonomialOrder(A, tdeg(D[1], D[2], D[3]));

A["polynomial_indets"];  [returns    {D[1], D[2], D[3]}]

A["rational_indets"];       [returns    {i, x[1], x[2], x[3]}]

 

So far everything seems as it should be: The ring i wanted to define here is the third Ring of  Differential operators over the field of complex 'rational' functions and maple returns that indeed it will handle the D[i] as monomials and the rest as coefficients for them.

 

Hover, when i use the Skew product, the following happens:

skew_product(x[1],D[1],A)                    [returns D[1]x[1]+1}]

skew_product(x[1],D[1],A)                    [returns D[1]x[1]]

Both is wrong, but maple seems to 'know' this. It used the correct relation to in the first product, the only thing it didn't do was switch D[1] and x[1]. I think maple handles the result of the skew product as if it was a commutative product and always places the D[i] at the left but still 'knows' what the actual result is.

The actual results should have been x[1]D[1]+1 for the first and x[1]*D[1] for the second product.

 

In the second product, it seems like maple treated x[1]*D[1] as if the Elements were switched already.

 

What i want though is for maple to correctly display the skew products and return the products so that in every summand the D[i] are at the right side and their coefficients are at the left side (and if possible (i do not know how to do that yet) sort the result of a skew product in a way that displays every different Power product of the D[i] with their coefficients, so that i get (x[1]+x[2])*D[2] and not x[1]*D[2]+x[2]*D[2]).

 

Can anyone help me here?

 


                              
                     
                   
                 

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

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

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!

Why am I getting different results in these two cases ?

 

I have the following in a text file.

a:="方程式";

When I read it in command-line maple, I am getting the following error.

on line 1, syntax error, non-ASCII character in unicode file 1:
Error, while reading `123456.txt`


Is it possible to input foreign characters in maple? (I dont want to enter directly in maple worksheet)

Currently I am running a maple engine using a java script and sending equations to the engine.

Thanks in advance.

i was to design a GUI using embedded components, i started as shown in the screenshot i uploaded but i had alittle problem trying to code the `evaluate at params` bottton i wanted the botton to return the evaluation of the mathematical expression at the value of the various parameters [delta,gamma,alpha,G,C] into the mathcontainer infront of it i.e evaluating at these points which can be change as new vualues are type in the textfeilds. such as

this is the code i used and it poping out an error message

use DocumentTools in

module()
local f,q,delta,gamma,alpha,G,C;

Do(f=%MathContainer0);
Do(delta=value(%MathContainer1));
Do(gamma=value(%MathContainer2));
Do(alpha=value(%MathContainer3));
Do(G=value(%MathContainer4));
Do(C=value(%MathContainer5));



q:=eval(f,value,delta,gamma,alpha,G,C);
Do(%MathContainer6=q);




end module;
pls i need some one to correct me

VIM.3.mwHi,How do I make a graph and error table for exact and by using this method i.e VIM 

i posted these ealier without any responds,pls i need some assistance my project supervisor has made it mandatory that i build a maple maplet of the bessel equation:

  i would have loved my maplet to have four knobs/sliders to vary the value of the parameters(T[g],T[0],k,p)  and also a play puase and stop bottons while texts boxes to type in the value of the unvaried parameters(gamma,G,alpha,delta,C[1],C[2]) and this maplet should show a 3d and 2d plot of the equation of which the various varying parameters can be varied to see effect on the plots.1.e 3d plots of (F against p and T[o]),(F against k and T[o]),(F against tortuosity and T[o]) which can be assigned to three different plot bottons but to be ploted on the same plotter and 2d plots of (F against p) and (F against k), (F against tortuosity) which can also be assigned to three different plot bottons but to be plotted on a second plotter aside that of the 3d plots.
i will really gratefull if anyone can help me out,thanks in advance<

Dear All

I am trying to integrate a function, however Maple is not giving me the results. I have tried to use int as well as evalf however I am still not getting the results.

 

I would be grateful if you could please suggest me a way out. I have attached the maple file for your reference.

 

ThanksExample.mw

Hello All,

I have the PDE system shown below. It is a simple system for 2 unknown functions f1(x,t) and f2(x,t). Also, say we have x=x(t)=e^t for example. How does one solve such PDE system with Maple? I tried including the condition x=e^t in the PDE system itself, but got "System inconsistent" error message. x=x(t) can be looked at as an additional constraint and I am baffled how do I feed it into the PDE solver. 

 

Perhaps someone has experience with such systems?

 

 

I'm writing an algorithm that takes a while and I'd like to print status messages periodically. I typically use the command line interface, and this is no problem. I just do a printf whenever I need.

However, some people who will use this code prefer to use the GUI, and I've found that the GUI tends to buffer the output from printf, printing 20-30 printf statements in clumps instead of as they're called. Is there any remedy for this?

First 193 194 195 196 197 198 199 Last Page 195 of 2218