MaplePrimes Questions

Search Questions:

Latest Questions Latest Questions Feed

Hello. Using a symbol ":", you can hide the derivation of the expression. However, it lost the label of expression. Can I hide the expression of retaining the label for further use? It would be handy when working with large expressions.

I have this simple sum equation: plot(y=sum(0.5^(n), n=1..x) It does not work for me at the moment, and my brain is getting fried from thinking at it. I think it might be because im using the x inside the sum parantheses, but it might also just be me having overlooked something or made a stupid little mistake, but could you please just help me?

 

Thank you in advance

Hello,

the attached code return error for  this values [0, 0.2, 0.4, 0.6] but work perfectly for this [0.2, 0.4, 0.6, 0.8]. I want it to start from 0 value. How do i correct the error? See the worksheet here com.mw

Thanks.

Is there a maple function that'll allow me to generate the matrix M(5 by 5) below given that matrix A and B are 3 by 3 M:=LinearAlgebra:-ZeroMatrix(5) A:=Matrix([[a11,a12,a13],[a21,a22,a33],[a31,a32,a33]]) B:=Matrix([[b11,b12,b13],[b21,b22,b33],[b31,b32,b33]]) Matrix(5, 5, {(1, 1) = a[11], (1, 2) = a[12], (1, 3) = a[13], (1, 4) = 0, (1, 5) = 0, (2, 1) = a[12], (2, 2) = a[22], (2, 3) = a[23], (2, 4) = 0, (2, 5) = 0, (3, 1) = a[13], (3, 2) = a[23], (3, 3) = a[33]+b[11], (3, 4) = b[12], (3, 5) = b[13], (4, 1) = 0, (4, 2) = 0, (4, 3) = b[12], (4, 4) = b[22], (4, 5) = b[23], (5, 1) = 0, (5, 2) = 0, (5, 3) = b[13], (5, 4) = b[23], (5, 5) = b[33]});

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?

 


                              
                     
                   
                 

Hi all,

I want use a timer to let Maple program run automatically.

Timer will make Maple run by a time step. Maple will plot photo base on a datadase, the database is a SQL database.

The timer is from Jave or somewhere we can used.

Please help me.

Thanks

Hi dear friends 

Is there an interactive package management utility or a way for solving following problem?

for m>=4 It dosent work!

restart:
Digits :=30: m := 3: g :=0.3: nu := 0.2: a := 1:
w := sum(b[n]*cos(n*r), n = 1 .. m):
W := simplify( subs( solve( { subs(r = 1, diff(w, r$2)+nu*diff(w,r))},{ b[1] }),w)):
d1:=diff(W,r):
d2:=diff(d1,r):
F:= int( ((d2+d1/r)^2-(2*(1-nu))*d2*d1/r)*r*(1+g*r/a)^3,r = 0 .. a) /int( d1^2*r,r = 0 .. a):
FW := simplify( subs(solve( {seq(subs(r=n/m,diff(F,b[n])),n=2..m)},{ seq(b[j], j = 2 .. m) }),F));

 

Hello.

 

Bellow I have an example of my current problem:

I want to put a sequence of numbers in the place of Tau in the same command, so that it returns the answers in the same line divided by commas. On the picture I've done the closest I could to what I want, but if you know how to solve this, I think it would be cleaner to use an alternative.

Screenshot of the problem

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

Hi, I'm trying to solve without success numerically the following system of 15 nonlinear equations. Could anyone help, please? Thanks
 

restart

n := 0.27231149e-1:

x := 0.5116034663e-1:

F := .1561816797:

eq1 := sigma*C0 = pgamma*W*H1*(1-E0-L0)/(1+n):

eq2 := sigma*C1 = W*H1*(1-L1):

eq3 := (1+R)*C0 = (1+rho)*exp(x)*C1:

eq4 := (1+R)*C1 = (1+rho)*exp(x)*C2:

eq5 := C1 = (1+phi)*C0:

eq6 := pgamma*L0+pgamma*(1+(1+n)*F/(pgamma*W*H1))*E0+L1 = (1+R)*(1+(1+n)*F/(pgamma*W*H1))/(ppsi*exp(x))-pgamma*(1+(1+n)*F/(pgamma*W*H1))/ppsi:

eq7 := 1 = pgamma*(1+ppsi*E0)/(1+n):

eq8 := exp(x)*A1 = pgamma*W*L0*H1/(1+n)+Epsilon1-C0-F*E0:

eq9 := exp(x)*A2 = W*L1*H1+(1+R)*A1-C1-(1+n)*Epsilon1:

eq10 := (1+R)*A2 = C2:

eq11 := Y = H^alpha*K^(1-alpha):

eq12 := alpha*Y = W*H:

eq13 := (1-alpha)*Y = (1+R)*K:

eq14 := K = A1/(1+n)+A2/(1+n)^2:

eq15 := H = (pgamma*L0+L1)*H1/(1+n):

eq := {eq1, eq2, eq3, eq4, eq5, eq6, eq7, eq8, eq9, eq10, eq11, eq12, eq13, eq14, eq15}:

vars := {A1, A2, C0, C1, C2, E0, H, H1, K, L0, L1, R, W, Y, Epsilon1}:

NULL

fsolve(eq, vars); 1; assign(%)

fsolve({1 = .6865382886+.1072247031*E0, C1 = 1.475639047*C0, H = .9734907289*(.7052335150*L0+L1)*H1, K = .9734907289*A1+.9476841993*A2, Y = H^.6874443*K^.3125557, (1+R)*A2 = C2, (1+R)*C0 = 1.121850394*C1, (1+R)*C1 = 1.121850394*C2, 1.052491643*A1 = .6865382886*W*L0*H1+Epsilon1-C0-.1561816797*E0, 1.052491643*A2 = W*L1*H1+(1+R)*A1-C1-1.027231149*Epsilon1, 5.171201776*C0 = .6865382886*W*H1*(1-E0-L0), 5.171201776*C1 = W*H1*(1-L1), .3125557*Y = (1+R)*K, .6874443*Y = W*H, .7052335150*L0+.7052335150*(1+.2274915796/(W*H1))*E0+L1 = 6.083468374*(1+R)*(1+.2274915796/(W*H1))-4.515468884-1.027231149/(W*H1)}, {A1, A2, C0, C1, C2, E0, H, H1, K, L0, L1, R, W, Y, Epsilon1})

(1)

``

 

Download DDGE.mw

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

Tx, Andras

If I store plot directions in a name, the output of that assignment is, annoyingly, a thumbnail plot. Without a way to turn that behavior off, it takes up space and is annoying. However, even more annoying is the fact that, if one enters the plot name alone in a succeeding statement in the same execution group, the plot is produced only as a thumbnail. To produce a standard size plot one has to use display(  ) along with an explicit size parameter.

Strangely enough, if the plot name alone is used in a separate execution group, a normal size plot is produced.

Is there no way to control these annoying behaviors globally?

1 2 3 4 5 6 7 Last Page 2 of 1195