Maple 2015 Questions and Posts

These are Posts and Questions associated with the product, Maple 2015

Dear 

Hope you will be fine. My file takes to much time to solve the system of nonlinear algebraic equations for Iterations=8. please solve my problem I will be waiting for positive response.

Error_graph.mw

I'd like ot make a 3d graph that is log scaled on at least one of the axis. So far I haven't found a way of doing this that gives a graph that I genuinely like.

The following worksheet shows two ways of making the graph- the first generates the lines on the surface in a very bunched way, the second typesets the tickmarks in a very ugly way.

How can I get a graph with well placed lines and nicely typeset tickmarks?

How do other people make 3d logplots?

 

 

thing := x*log(y)*y^2*sin(1/y)^2;

x*ln(y)*y^2*sin(1/y)^2

 

 

 

``


 

Download logplot3d.mw

 

 

 

I am trying to solve the wave equation in polar coordinates.  The initial condition on u is given by f(r,theta) and the initial condition on u_t is zero.  The weight function is w(r).  I am not sure why it will not evaluate this as I know the solution remains finite on the domain (the unit disk).  Here is the code: 
 

Wave Equation in Polar Coordinates

restart; with(plots); addcoords(u_cylindrical, [u, r, theta], [r*cos(theta), r*sin(theta), u])

Example:

rho := 1; 1; c := 1; 1; w := proc (r) options operator, arrow; r end proc

1

 

1

 

proc (r) options operator, arrow; r end proc

(1)

f := proc (r, theta) options operator, arrow; 2.5*(1-r^2)*r*sin(theta) end proc

proc (r, theta) options operator, arrow; 2.5*(1-r^2)*r*sin(theta) end proc

(2)

assume('n', integer); 1; assume('m', integer)

lambda := proc (n, m) options operator, arrow; BesselJZeros(n, m)^2/rho^2 end proc;

proc (n, m) options operator, arrow; BesselJZeros(n, m)^2/rho^2 end proc

(3)

c0 := proc (m) options operator, arrow; (int(int(f(r, theta)*BesselJ(0, sqrt(lambda(0, m))*r)*w(r), theta = -Pi .. Pi), r = 0 .. rho))/(int(int(BesselJ(0, sqrt(lambda(0, m))*r)^2*w(r), theta = -Pi .. Pi), r = 0 .. rho)) end proc; 1; a := proc (n, m) options operator, arrow; (int(int(f(r, theta)*BesselJ(n, sqrt(lambda(n, m))*r)*cos(n*theta)*w(r), theta = -Pi .. Pi), r = 0 .. rho))/(int(int(BesselJ(n, sqrt(lambda(n, m))*r)^2*cos(n*theta)^2*w(r), theta = -Pi .. Pi), r = 0 .. rho)) end proc; 1; b := proc (n, m) options operator, arrow; (int(int(f(r, theta)*BesselJ(n, sqrt(lambda(n, m))*r)*sin(n*theta)*w(r), theta = -Pi .. Pi), r = 0 .. rho))/(int(int(BesselJ(n, sqrt(lambda(n, m))*r)^2*sin(n*theta)^2*w(r), theta = -Pi .. Pi), r = 0 .. rho)) end proc

proc (m) options operator, arrow; (int(int(f(r, theta)*BesselJ(0, sqrt(lambda(0, m))*r)*w(r), theta = -Pi .. Pi), r = 0 .. rho))/(int(int(BesselJ(0, sqrt(lambda(0, m))*r)^2*w(r), theta = -Pi .. Pi), r = 0 .. rho)) end proc

 

proc (n, m) options operator, arrow; (int(int(f(r, theta)*BesselJ(n, sqrt(lambda(n, m))*r)*cos(n*theta)*w(r), theta = -Pi .. Pi), r = 0 .. rho))/(int(int(BesselJ(n, sqrt(lambda(n, m))*r)^2*cos(n*theta)^2*w(r), theta = -Pi .. Pi), r = 0 .. rho)) end proc

 

proc (n, m) options operator, arrow; (int(int(f(r, theta)*BesselJ(n, sqrt(lambda(n, m))*r)*sin(n*theta)*w(r), theta = -Pi .. Pi), r = 0 .. rho))/(int(int(BesselJ(n, sqrt(lambda(n, m))*r)^2*sin(n*theta)^2*w(r), theta = -Pi .. Pi), r = 0 .. rho)) end proc

(4)

u := proc (n, m, r, theta, t) options operator, arrow; sum(BesselJ(0, sqrt(lambda(0, j))*r)*c0(j)*cos(sqrt(lambda(0, j))*c*t), j = 1 .. m)+sum(sum(BesselJ(i, sqrt(lambda(i, j))*r)*(a(i, j)*cos(i*theta)+b(i, j)*sin(i*theta))*cos(sqrt(lambda(i, j))*c*t), j = 1 .. m), i = 1 .. n) end proc

proc (n, m, r, theta, t) options operator, arrow; sum(BesselJ(0, sqrt(lambda(0, j))*r)*c0(j)*cos(sqrt(lambda(0, j))*c*t), j = 1 .. m)+sum(sum(BesselJ(i, sqrt(lambda(i, j))*r)*(a(i, j)*cos(i*theta)+b(i, j)*sin(i*theta))*cos(sqrt(lambda(i, j))*c*t), j = 1 .. m), i = 1 .. n) end proc

(5)

soln := evalf(u(3, 3, r, theta, t));

(Float(infinity)+Float(infinity)*I)*BesselJ(1., 3.831705970*r)*sin(theta)*cos(3.831705970*t)+(Float(infinity)+Float(infinity)*I)*BesselJ(1., 7.015586670*r)*sin(theta)*cos(7.015586670*t)+(Float(infinity)+Float(infinity)*I)*BesselJ(1., 10.17346814*r)*sin(theta)*cos(10.17346814*t)-0.3676566232e-9*BesselJ(2., 5.135622302*r)*sin(2.*theta)*cos(5.135622302*t)-0.1879633956e-10*BesselJ(2., 8.417244140*r)*sin(2.*theta)*cos(8.417244140*t)-0.5146823927e-10*BesselJ(2., 11.61984117*r)*sin(2.*theta)*cos(11.61984117*t)+(Float(infinity)+Float(infinity)*I)*BesselJ(3., 6.380161896*r)*sin(3.*theta)*cos(6.380161896*t)+(Float(infinity)+Float(infinity)*I)*BesselJ(3., 9.761023130*r)*sin(3.*theta)*cos(9.761023130*t)+(Float(infinity)+Float(infinity)*I)*BesselJ(3., 13.01520072*r)*sin(3.*theta)*cos(13.01520072*t)

(6)

plot3d(soln, r = 0 .. 1, theta = 0 .. 2*Pi, coords = u_cylindrical, axes = boxed)

NULL

NULL


 

Download Section_6.3.mw

Any assistance would be greatly appreciated. 

I have to generate a code for carrying out the matrix form of the revised simplex method. I have a code in place but am struggling to convert the constraints into canonical form and introduce the penalty function. If anyone has any ideas I'd be very grateful!

Best Regards

I have to prove the following:

So I do not need the explicit derivative of the function Psi(r,t) . The metric is:

ds^2=(1-rg/r)*dt^2-(1-rg/r)^(-1)*dr^2

I am in the case of a collapsing star that emit radiation during the collapsing.  And I do not need to have a rotating black hole so that the reason I dont have dt*dr term in the metric, and I fix theta and phi.  So if you look in the Maple file attach to this post, I don't manage to obtain what I need to prove the equality between the two aspect of the same calculation.

Plese, take into account that I am sort of novice with the Physcis package and that the question is not part of an exam.

Thank you in advance for your help. 

Mario Lemelin

dAlembertian.mw

 

 


 

dsolve({Q(0) = 0, Q(t) = (1.375*4190)*(80-T__1(t)), Q(t) = (1.375*4190)*(T__2(t)-38.2), diff(Q(t), t) = (240*0.1375e-1)*(T__1s(t)-T__2s(t))/(0.1e-2), diff(Q(t), t) = (0.1375e-1*47.6035070726347)*(T__1(t)-T__1s(t))*(T__1(t)+T__1s(t))^.438263122318020*((T__1(t)-T__1s(t))^.327228811371115), diff(Q(t), t) = (0.1375e-1*47.6035072491656)*(T__2s(t)-T__2(t))*(T__2(t)+T__2s(t))^.438263121701134*((T__2s(t)-T__2(t))^.327228811154163)}, numeric)

could you help with this? maybe because of too long exponents or just a maple bug?

when i try to solve this DAE it just crash. it says connection with kernel has been lost, and tells me to look for online help.

thank you very much...
 

Download crash_ecuation.mwcrash_ecuation.mw

Hi All.

I keep getting a incorrect plot of: plot3d(2*x/(x^2+y^2), x = -10 .. 10, y = -10 .. 10)

plot3d(2*x/(x^2+y^2), x = -10 .. 10, y = -10 .. 10)

The negative range excursion is not appearing.

I have tried changing the domains and range settings but to no avail.

I have also tried placing brackets around the numerator and denominator but again to no avail. I also repeated the plot of earlier functions, on the same sheet, below the above function and had no problems with them. See the function below as an example of a good graph plot.

I noticed that the program flashes a negative value graph on screen and then only displays a positive result as shown above.

Good plot of: plot3d((-2*x^2+2*y^2)/(x^2+y^2)^2, x = -10 .. 10, y = -10 .. 10)

plot3d((-2*x^2+2*y^2)/(x^2+y^2)^2, x = -10 .. 10, y = -10 .. 10)

This example shows both the negative and positive f(x,y) values and surfaces.

Can anyone explain what is going on.

What I may be overlooking.

Is there a flaw in Maple 15?

I can get the correct graph using Microsoft Math which is a much less sophisticated program.

Omicron1

 

h1_y_h2.mw
 

(-9.481411*10^(-6)*(T__1(t)+T__1s(t))^2+2.1356735*10^(-3)*(T__1(t)+T__1s(t))+.5599920949)*(.825+.387*(((-(9.8*.11^3*4190)*(4.216485*10^(-2)-7.097451*10^(-3)*(T__1(t)+T__1s(t))+2.63217825*10^(-5)*(T__1(t)+T__1s(t))^2-4.9518879*10^(-8)*(T__1(t)+T__1s(t))^3)/(999.9399+2.1082425*10^(-2)*(T__1(t)+T__1s(t))-1.77436275*10^(-3)*(T__1(t)+T__1s(t))^2+.438696375*10^(-5)*(T__1(t)+T__1s(t))^3-.6189861563*10^(-8)*(T__1(t)+T__1s(t))^4))*((999.9399+2.1082425*10^(-2)*(T__1(t)+T__1s(t))-1.77436275*10^(-3)*(T__1(t)+T__1s(t))^2+.438696375*10^(-5)*(T__1(t)+T__1s(t))^3-.6189861563*10^(-8)*(T__1(t)+T__1s(t))^4)^2))*(T__1(t)-T__1s(t))/((0.178910466924394e-2-(0.593656020810955e-4*(1/2))*(T__1(t)+T__1s(t))+(0.130419399687942e-5*(1/4))*(T__1(t)+T__1s(t))^2-(1.79236416162215*(1/8))*10^(-8)*(T__1(t)+T__1s(t))^3+(1.33479173942873*(1/16))*10^(-10)*(T__1(t)+T__1s(t))^4-(4.03880841196434*(1/32))*10^(-13)*(T__1(t)+T__1s(t))^5)*(-9.481411*10^(-6)*(T__1(t)+T__1s(t))^2+2.1356735*10^(-3)*(T__1(t)+T__1s(t))+.5599920949)))^(1/6)/(1+((.492*(-9.481411*10^(-6)*(T__1(t)+T__1s(t))^2+2.1356735*10^(-3)*(T__1(t)+T__1s(t))+.5599920949))/(4190*(0.178910466924394e-2-(0.593656020810955e-4*(1/2))*(T__1(t)+T__1s(t))+(0.130419399687942e-5*(1/4))*(T__1(t)+T__1s(t))^2-(1.79236416162215*(1/8))*10^(-8)*(T__1(t)+T__1s(t))^3+(1.33479173942873*(1/16))*10^(-10)*(T__1(t)+T__1s(t))^4-(4.03880841196434*(1/32))*10^(-13)*(T__1(t)+T__1s(t))^5)))^(9/16))^(8/27))^2/(.11)

subs({T__1(t) = T__1, T__1s(t) = T__1s}, (-9.481411*10^(-6)*(T__1(t)+T__1s(t))^2+2.1356735*10^(-3)*(T__1(t)+T__1s(t))+.5599920949)*(.825+.387*(((-(9.8*.11^3*4190)*(4.216485*10^(-2)-7.097451*10^(-3)*(T__1(t)+T__1s(t))+2.63217825*10^(-5)*(T__1(t)+T__1s(t))^2-4.9518879*10^(-8)*(T__1(t)+T__1s(t))^3)/(999.9399+2.1082425*10^(-2)*(T__1(t)+T__1s(t))-1.77436275*10^(-3)*(T__1(t)+T__1s(t))^2+.438696375*10^(-5)*(T__1(t)+T__1s(t))^3-.6189861563*10^(-8)*(T__1(t)+T__1s(t))^4))*((999.9399+2.1082425*10^(-2)*(T__1(t)+T__1s(t))-1.77436275*10^(-3)*(T__1(t)+T__1s(t))^2+.438696375*10^(-5)*(T__1(t)+T__1s(t))^3-.6189861563*10^(-8)*(T__1(t)+T__1s(t))^4)^2))*(T__1(t)-T__1s(t))/((0.178910466924394e-2-(0.593656020810955e-4*(1/2))*(T__1(t)+T__1s(t))+(0.130419399687942e-5*(1/4))*(T__1(t)+T__1s(t))^2-(1.79236416162215*(1/8))*10^(-8)*(T__1(t)+T__1s(t))^3+(1.33479173942873*(1/16))*10^(-10)*(T__1(t)+T__1s(t))^4-(4.03880841196434*(1/32))*10^(-13)*(T__1(t)+T__1s(t))^5)*(-9.481411*10^(-6)*(T__1(t)+T__1s(t))^2+2.1356735*10^(-3)*(T__1(t)+T__1s(t))+.5599920949)))^(1/6)/(1+((.492*(-9.481411*10^(-6)*(T__1(t)+T__1s(t))^2+2.1356735*10^(-3)*(T__1(t)+T__1s(t))+.5599920949))/(4190*(0.178910466924394e-2-(0.593656020810955e-4*(1/2))*(T__1(t)+T__1s(t))+(0.130419399687942e-5*(1/4))*(T__1(t)+T__1s(t))^2-(1.79236416162215*(1/8))*10^(-8)*(T__1(t)+T__1s(t))^3+(1.33479173942873*(1/16))*10^(-10)*(T__1(t)+T__1s(t))^4-(4.03880841196434*(1/32))*10^(-13)*(T__1(t)+T__1s(t))^5)))^(9/16))^(8/27))^2/(.11))

9.090909091*(-0.9481411000e-5*(T__1+T__1s)^2+0.2135673500e-2*T__1+0.2135673500e-2*T__1s+.5599920949)*(.825+.387*(-54.6535220*(0.4216485000e-1-0.7097451000e-2*T__1-0.7097451000e-2*T__1s+0.2632178250e-4*(T__1+T__1s)^2-0.4951887900e-7*(T__1+T__1s)^3)*(999.9399+0.2108242500e-1*T__1+0.2108242500e-1*T__1s-0.1774362750e-2*(T__1+T__1s)^2+0.4386963750e-5*(T__1+T__1s)^3-0.6189861563e-8*(T__1+T__1s)^4)*(T__1-T__1s)/((0.178910466924394e-2-0.2968280104e-4*T__1-0.2968280104e-4*T__1s+0.3260484992e-6*(T__1+T__1s)^2-0.2240455202e-8*(T__1+T__1s)^3+0.8342448369e-11*(T__1+T__1s)^4-0.1262127629e-13*(T__1+T__1s)^5)*(-0.9481411000e-5*(T__1+T__1s)^2+0.2135673500e-2*T__1+0.2135673500e-2*T__1s+.5599920949)))^(1/6)/(1+.6710121288*((-0.9481411000e-5*(T__1+T__1s)^2+0.2135673500e-2*T__1+0.2135673500e-2*T__1s+.5599920949)/(7.496348563-.1243709364*T__1-.1243709364*T__1s+0.1366143212e-2*(T__1+T__1s)^2-0.9387507296e-5*(T__1+T__1s)^3+0.3495485867e-7*(T__1+T__1s)^4-0.5288314766e-10*(T__1+T__1s)^5))^(9/16))^(8/27))^2

(1)

h__1 := proc (T__1, T__1s) options operator, arrow; (-0.9481411000e-5*(T__1+T__1s)^2+0.2135673500e-2*T__1+0.2135673500e-2*T__1s+.5599920949)*(.825+.387*((0.4216485000e-1-0.7097451000e-2*T__1-0.7097451000e-2*T__1s+0.2632178250e-4*(T__1+T__1s)^2-0.4951887900e-7*(T__1+T__1s)^3)*(999.9399+0.2108242500e-1*T__1+0.2108242500e-1*T__1s-0.1774362750e-2*(T__1+T__1s)^2+0.4386963750e-5*(T__1+T__1s)^3-0.6189861563e-8*(T__1+T__1s)^4)*(T__1-T__1s)*(-54.6535220)/((0.178910466924394e-2-0.2968280104e-4*T__1-0.2968280104e-4*T__1s+0.3260484992e-6*(T__1+T__1s)^2-0.2240455202e-8*(T__1+T__1s)^3+0.8342448369e-11*(T__1+T__1s)^4-0.1262127629e-13*(T__1+T__1s)^5)*(-0.9481411000e-5*(T__1+T__1s)^2+0.2135673500e-2*T__1+0.2135673500e-2*T__1s+.5599920949)))^(1/6)/(1+.6710121288*((-0.9481411000e-5*(T__1+T__1s)^2+0.2135673500e-2*T__1+0.2135673500e-2*T__1s+.5599920949)/(7.496348563-.1243709364*T__1-.1243709364*T__1s+0.1366143212e-2*(T__1+T__1s)^2-0.9387507296e-5*(T__1+T__1s)^3+0.3495485867e-7*(T__1+T__1s)^4-0.5288314766e-10*(T__1+T__1s)^5))^(9/16))^(8/27))^2*9.090909091 end proc

proc (T__1, T__1s) options operator, arrow; (-0.9481411000e-5*((T__1+T__1s)^2)+0.2135673500e-2*T__1+0.2135673500e-2*T__1s+.5599920949)*(.825+.387*(((0.4216485000e-1-0.7097451000e-2*T__1-0.7097451000e-2*T__1s+0.2632178250e-4*((T__1+T__1s)^2)-0.4951887900e-7*((T__1+T__1s)^3))*(999.9399+0.2108242500e-1*T__1+0.2108242500e-1*T__1s-0.1774362750e-2*((T__1+T__1s)^2)+0.4386963750e-5*((T__1+T__1s)^3)-0.6189861563e-8*((T__1+T__1s)^4))*(T__1-T__1s)*(-1)*54.6535220/(((0.178910466924394e-2-0.2968280104e-4*T__1-0.2968280104e-4*T__1s+0.3260484992e-6*((T__1+T__1s)^2)-0.2240455202e-8*((T__1+T__1s)^3)+0.8342448369e-11*((T__1+T__1s)^4)-0.1262127629e-13*((T__1+T__1s)^5))*(-0.9481411000e-5*((T__1+T__1s)^2)+0.2135673500e-2*T__1+0.2135673500e-2*T__1s+.5599920949))))^(1/6))/(((1+.6710121288*(((-0.9481411000e-5*((T__1+T__1s)^2)+0.2135673500e-2*T__1+0.2135673500e-2*T__1s+.5599920949)/(7.496348563-.1243709364*T__1-.1243709364*T__1s+0.1366143212e-2*((T__1+T__1s)^2)-0.9387507296e-5*((T__1+T__1s)^3)+0.3495485867e-7*((T__1+T__1s)^4)-0.5288314766e-10*((T__1+T__1s)^5)))^(9/16)))^(8/27))))^2*9.090909091 end proc

(2)

(-9.481411*10^(-6)*(T__2(t)+T__2s(t))^2+2.1356735*10^(-3)*(T__2(t)+T__2s(t))+.5599920949)*(.825+.387*(((-(9.8*.11^3*4190)*(4.216485*10^(-2)-7.097451*10^(-3)*(T__2(t)+T__2s(t))+2.63217825*10^(-5)*(T__2(t)+T__2s(t))^2-4.9518879*10^(-8)*(T__2(t)+T__2s(t))^3)/(999.9399+2.1082425*10^(-2)*(T__2(t)+T__2s(t))-1.77436275*10^(-3)*(T__2(t)+T__2s(t))^2+.438696375*10^(-5)*(T__2(t)+T__2s(t))^3-.6189861563*10^(-8)*(T__2(t)+T__2s(t))^4))*((999.9399+2.1082425*10^(-2)*(T__2(t)+T__2s(t))-1.77436275*10^(-3)*(T__2(t)+T__2s(t))^2+.438696375*10^(-5)*(T__2(t)+T__2s(t))^3-.6189861563*10^(-8)*(T__2(t)+T__2s(t))^4)^2))*(T__2s(t)-T__2(t))/((0.178910466924394e-2-(0.593656020810955e-4*(1/2))*(T__2(t)+T__2s(t))+(0.130419399687942e-5*(1/4))*(T__2(t)+T__2s(t))^2-(1.79236416162215*(1/8))*10^(-8)*(T__2(t)+T__2s(t))^3+(1.33479173942873*(1/16))*10^(-10)*(T__2(t)+T__2s(t))^4-(4.03880841196434*(1/32))*10^(-13)*(T__2(t)+T__2s(t))^5)*(-9.481411*10^(-6)*(T__2(t)+T__2s(t))^2+2.1356735*10^(-3)*(T__2(t)+T__2s(t))+.5599920949)))^(1/6)/(1+((.492*(-9.481411*10^(-6)*(T__2(t)+T__2s(t))^2+2.1356735*10^(-3)*(T__2(t)+T__2s(t))+.5599920949))/(4190*(0.178910466924394e-2-(0.593656020810955e-4*(1/2))*(T__2(t)+T__2s(t))+(0.130419399687942e-5*(1/4))*(T__2(t)+T__2s(t))^2-(1.79236416162215*(1/8))*10^(-8)*(T__2(t)+T__2s(t))^3+(1.33479173942873*(1/16))*10^(-10)*(T__2(t)+T__2s(t))^4-(4.03880841196434*(1/32))*10^(-13)*(T__2(t)+T__2s(t))^5)))^(9/16))^(8/27))^2/(.11)

subs({T__2(t) = T__2, T__2s(t) = T__2s}, (-9.481411*10^(-6)*(T__2(t)+T__2s(t))^2+2.1356735*10^(-3)*(T__2(t)+T__2s(t))+.5599920949)*(.825+.387*(((-(9.8*.11^3*4190)*(4.216485*10^(-2)-7.097451*10^(-3)*(T__2(t)+T__2s(t))+2.63217825*10^(-5)*(T__2(t)+T__2s(t))^2-4.9518879*10^(-8)*(T__2(t)+T__2s(t))^3)/(999.9399+2.1082425*10^(-2)*(T__2(t)+T__2s(t))-1.77436275*10^(-3)*(T__2(t)+T__2s(t))^2+.438696375*10^(-5)*(T__2(t)+T__2s(t))^3-.6189861563*10^(-8)*(T__2(t)+T__2s(t))^4))*((999.9399+2.1082425*10^(-2)*(T__2(t)+T__2s(t))-1.77436275*10^(-3)*(T__2(t)+T__2s(t))^2+.438696375*10^(-5)*(T__2(t)+T__2s(t))^3-.6189861563*10^(-8)*(T__2(t)+T__2s(t))^4)^2))*(T__2s(t)-T__2(t))/((0.178910466924394e-2-(0.593656020810955e-4*(1/2))*(T__2(t)+T__2s(t))+(0.130419399687942e-5*(1/4))*(T__2(t)+T__2s(t))^2-(1.79236416162215*(1/8))*10^(-8)*(T__2(t)+T__2s(t))^3+(1.33479173942873*(1/16))*10^(-10)*(T__2(t)+T__2s(t))^4-(4.03880841196434*(1/32))*10^(-13)*(T__2(t)+T__2s(t))^5)*(-9.481411*10^(-6)*(T__2(t)+T__2s(t))^2+2.1356735*10^(-3)*(T__2(t)+T__2s(t))+.5599920949)))^(1/6)/(1+((.492*(-9.481411*10^(-6)*(T__2(t)+T__2s(t))^2+2.1356735*10^(-3)*(T__2(t)+T__2s(t))+.5599920949))/(4190*(0.178910466924394e-2-(0.593656020810955e-4*(1/2))*(T__2(t)+T__2s(t))+(0.130419399687942e-5*(1/4))*(T__2(t)+T__2s(t))^2-(1.79236416162215*(1/8))*10^(-8)*(T__2(t)+T__2s(t))^3+(1.33479173942873*(1/16))*10^(-10)*(T__2(t)+T__2s(t))^4-(4.03880841196434*(1/32))*10^(-13)*(T__2(t)+T__2s(t))^5)))^(9/16))^(8/27))^2/(.11))

9.090909091*(-0.9481411000e-5*(T__2+T__2s)^2+0.2135673500e-2*T__2+0.2135673500e-2*T__2s+.5599920949)*(.825+.387*(-54.6535220*(0.4216485000e-1-0.7097451000e-2*T__2-0.7097451000e-2*T__2s+0.2632178250e-4*(T__2+T__2s)^2-0.4951887900e-7*(T__2+T__2s)^3)*(999.9399+0.2108242500e-1*T__2+0.2108242500e-1*T__2s-0.1774362750e-2*(T__2+T__2s)^2+0.4386963750e-5*(T__2+T__2s)^3-0.6189861563e-8*(T__2+T__2s)^4)*(T__2s-T__2)/((0.178910466924394e-2-0.2968280104e-4*T__2-0.2968280104e-4*T__2s+0.3260484992e-6*(T__2+T__2s)^2-0.2240455202e-8*(T__2+T__2s)^3+0.8342448369e-11*(T__2+T__2s)^4-0.1262127629e-13*(T__2+T__2s)^5)*(-0.9481411000e-5*(T__2+T__2s)^2+0.2135673500e-2*T__2+0.2135673500e-2*T__2s+.5599920949)))^(1/6)/(1+.6710121288*((-0.9481411000e-5*(T__2+T__2s)^2+0.2135673500e-2*T__2+0.2135673500e-2*T__2s+.5599920949)/(7.496348563-.1243709364*T__2-.1243709364*T__2s+0.1366143212e-2*(T__2+T__2s)^2-0.9387507296e-5*(T__2+T__2s)^3+0.3495485867e-7*(T__2+T__2s)^4-0.5288314766e-10*(T__2+T__2s)^5))^(9/16))^(8/27))^2

(3)

h__2 := proc (T__2, T__2s) options operator, arrow; (-0.9481411000e-5*(T__2+T__2s)^2+0.2135673500e-2*T__2+0.2135673500e-2*T__2s+.5599920949)*(.825+.387*((0.4216485000e-1-0.7097451000e-2*T__2-0.7097451000e-2*T__2s+0.2632178250e-4*(T__2+T__2s)^2-0.4951887900e-7*(T__2+T__2s)^3)*(999.9399+0.2108242500e-1*T__2+0.2108242500e-1*T__2s-0.1774362750e-2*(T__2+T__2s)^2+0.4386963750e-5*(T__2+T__2s)^3-0.6189861563e-8*(T__2+T__2s)^4)*(T__2s-T__2)*(-54.6535220)/((0.178910466924394e-2-0.2968280104e-4*T__2-0.2968280104e-4*T__2s+0.3260484992e-6*(T__2+T__2s)^2-0.2240455202e-8*(T__2+T__2s)^3+0.8342448369e-11*(T__2+T__2s)^4-0.1262127629e-13*(T__2+T__2s)^5)*(-0.9481411000e-5*(T__2+T__2s)^2+0.2135673500e-2*T__2+0.2135673500e-2*T__2s+.5599920949)))^(1/6)/(1+.6710121288*((-0.9481411000e-5*(T__2+T__2s)^2+0.2135673500e-2*T__2+0.2135673500e-2*T__2s+.5599920949)/(7.496348563-.1243709364*T__2-.1243709364*T__2s+0.1366143212e-2*(T__2+T__2s)^2-0.9387507296e-5*(T__2+T__2s)^3+0.3495485867e-7*(T__2+T__2s)^4-0.5288314766e-10*(T__2+T__2s)^5))^(9/16))^(8/27))^2*9.090909091 end proc

proc (T__2, T__2s) options operator, arrow; (-0.9481411000e-5*((T__2+T__2s)^2)+0.2135673500e-2*T__2+0.2135673500e-2*T__2s+.5599920949)*(.825+.387*(((0.4216485000e-1-0.7097451000e-2*T__2-0.7097451000e-2*T__2s+0.2632178250e-4*((T__2+T__2s)^2)-0.4951887900e-7*((T__2+T__2s)^3))*(999.9399+0.2108242500e-1*T__2+0.2108242500e-1*T__2s-0.1774362750e-2*((T__2+T__2s)^2)+0.4386963750e-5*((T__2+T__2s)^3)-0.6189861563e-8*((T__2+T__2s)^4))*(T__2s-T__2)*(-1)*54.6535220/(((0.178910466924394e-2-0.2968280104e-4*T__2-0.2968280104e-4*T__2s+0.3260484992e-6*((T__2+T__2s)^2)-0.2240455202e-8*((T__2+T__2s)^3)+0.8342448369e-11*((T__2+T__2s)^4)-0.1262127629e-13*((T__2+T__2s)^5))*(-0.9481411000e-5*((T__2+T__2s)^2)+0.2135673500e-2*T__2+0.2135673500e-2*T__2s+.5599920949))))^(1/6))/(((1+.6710121288*(((-0.9481411000e-5*((T__2+T__2s)^2)+0.2135673500e-2*T__2+0.2135673500e-2*T__2s+.5599920949)/(7.496348563-.1243709364*T__2-.1243709364*T__2s+0.1366143212e-2*((T__2+T__2s)^2)-0.9387507296e-5*((T__2+T__2s)^3)+0.3495485867e-7*((T__2+T__2s)^4)-0.5288314766e-10*((T__2+T__2s)^5)))^(9/16)))^(8/27))))^2*9.090909091 end proc

(4)

``

``

im trying to build a matrix starting from a function, so i can later use this matrix to get a more simple function using linearfit from the statistics package, like a kind of regression.

i want to get a matrix starting from h__1(T1,T__1s) so it has to be a 3 columns matrix (T__1,T__1s,h__1). so as you can see, i have got the functions h__1 and h__2, but i need to evaluate it at differents values for T__1 and T__1s and building a kind of value-table in matrix form.

for h__1, T__1 must be higher than T__1s, or you could get imaginary values, don't know if that important for building the matrix.

thank you very much for your help.

Download h1_y_h2.mw

 

Hello. Two teams A and B (consisting of 2, 3 or even 4 players) compete and the outcome of each game is either a win or a loss. I have a to process the new (gaussian) laws of players given whom beats whom.

Given the initial means and standard deviations of the players, I have a algorithm (RC) which computes the new laws of the players. [the actual algorithm i use is different to the one i am showing here]. 

By way of example consider two teams with 2 players per side. Each person plays 2 games.

The initial laws of A1,A2,B1,B2 are given.

(A1,B1) --->(A1',B1').......[iteration 1. A1 beats B1, resulting in new laws A1' and B1'(computed by RC)]

(B2, A1') --->(B2', A1").......[ iteration 2. B2 beats A1. using A1' from iteration 1. A1 has played twice and is denoted by A1"]

(B2',A2) --->(B2",A2').......[ iteration 3. B2 beats A2. using B2' from iteration 2.  B2 has finished and is denoted by B2"]

(A2',B1') --->( A2",B1")......[ iteration 4. A2 beats B1. using B1' from iteration 1 and A2' from iteration 3. now all players have played their matches]

new laws A1" ,A2", B1" & B2" should be outputted.

my first code gets the result, but it is tedious to enter the iterations in the right place .especially for teams of 3 or more.

my second with parameters gets errors.

So what i want is to enter who beat who:

eg  [[B1, A1], [B2,A1], [B2, A2], [A2, B1]];
and the final laws are computed automatically.

bb_processing_edit.mw

Hello! I am facing the problem to making the grahp of system of ODEs in the attached file from eta=-1..1. Please see the attachment and fixed it. I will be waiting your positive response.

new_graph_exact.mw

With my best regards and sincerely.

Muhammad Usman

School of Mathematical Sciences 
Peking University, Beijing, China

Email: muhammadusman@pku.edu.cn

Mob #: 0086-13001903838


 

dsolve({Q(0) = 0, Q(t) = (1.375*4190)*(80-T__1(t)), Q(t) = (1.375*4190)*(T__2(t)-38.2), diff(Q(t), t) = (0.1375e-1*(T__1(t)-T__1s(t)))*((T__1(t)+T__1s(t))*(1/2)), diff(Q(t), t) = (0.1375e-1*(T__2s(t)-T__2(t)))*((T__2s(t)+T__2(t))*(1/2)), diff(Q(t), t) = (240*0.1375e-1)*(T__1s(t)-T__2s(t))/(0.1e-2)}, numeric)

Error, (in dsolve/numeric/DAE/initial) missing initial conditions for the following: {T__1s}

 

``

i got 3 diff ecuations with two algebraic ones. a system of DAEs. there is only a derivative included on systems, for which it's necesary only one initial condition for solving the system, which is Q(0)=0. why maple wants to know initial conditions for T_1s. it's not supposed to calculate it itself?
 

Download ecuation_2.mwecuation_2.mw

How do I make find and replace work?  Currently the replace and find button is grayed out.  What magic gets me into a state where the button can be used?

Thanks

P.S. Is there any "package" or "mode" or way some how that emacs key bindings can be made to work (including things like find and replace)?  The user interface would be much improved if I knew how to enable that.


 

diff(Q(t), t) = k*A*(T__1s(t)-T__2s(t))/d

diff(Q(t), t) = h__1(t)*A*(T__1(t)-T__1s(t))

diff(Q(t), t) = h__2(t)*A*(T__2s(t)-T__2(t))

Q(t) = m__1*c__p*(T__1i-T__1(t))

Q(t) = m__2*c__p*(T__2(t)-T__2i)

h__1(t) = k(T__1(t), T__1s(t))*(.825+.387*(g*h^3*c__p*beta(T__1(t), T__1s(t))*rho(T__1(t), T__1s(t))^2*(T__1(t)-T__1s(t))/(k(T__1(t), T__1s(t))*mu(T__1(t), T__1s(t))))^(1/6)/(1+(.492*k(T__1(t), T__1s(t))/(c__p*mu(T__1(t), T__1s(t))))^(9/16))^(8/27))^2/h

h__2(t) = k(T__2(t), T__2s(t))*(.825+.387*(g*h^3*c__p*beta(T__2(t), T__2s(t))*rho(T__2(t), T__2s(t))^2*(T__2s(t)-T__2(t))/(k(T__2(t), T__2s(t))*mu(T__2(t), T__2s(t))))^(1/6)/(1+(.492*k(T__2(t), T__2s(t))/(c__p*mu(T__2(t), T__2s(t))))^(9/16))^(8/27))^2/h

 

 

rho(T__1(t), T__1s(t)) = 999.9399+2.1082425*10^(-2)*(T__1(t)+T__1s(t))-1.77436275*10^(-3)*(T__1(t)+T__1s(t))^2+.438696375*10^(-5)*(T__1(t)+T__1s(t))^3-.6189861563*10^(-8)*(T__1(t)+T__1s(t))^4

beta(T__1(t), T__1s(t)) = -(4.216485*10^(-2)-7.097451*10^(-3)*(T__1(t)+T__1s(t))+2.63217825*10^(-5)*(T__1(t)+T__1s(t))^2-4.9518879*10^(-8)*(T__1(t)+T__1s(t))^3)/(999.9399+2.1082425*10^(-2)*(T__1(t)+T__1s(t))-1.77436275*10^(-3)*(T__1(t)+T__1s(t))^2+.438696375*10^(-5)*(T__1(t)+T__1s(t))^3-.6189861563*10^(-8)*(T__1(t)+T__1s(t))^4)
mu(T__1(t), T__1s(t)) = 2.414*10^(247.8/(.5*(T__1(t)+T__1s(t))+133)-5)

k(T__1(t), T__1s(t)) = -9.481411*10^(-6)*(T__1(t)+T__1s(t))^2+2.1356735*10^(-3)*(T__1(t)+T__1s(t))+.5599920949

 

 

rho(T__2(t), T__2s(t)) = 999.9399+2.1082425*10^(-2)*(T__2(t)+T__2s(t))-1.77436275*10^(-3)*(T__2(t)+T__2s(t))^2+.438696375*10^(-5)*(T__2(t)+T__2s(t))^3-.6189861563*10^(-8)*(T__2(t)+T__2s(t))^4

beta(T__2(t), T__2s(t)) = -(4.216485*10^(-2)-7.097451*10^(-3)*(T__2(t)+T__2s(t))+2.63217825*10^(-5)*(T__2(t)+T__2s(t))^2-4.9518879*10^(-8)*(T__2(t)+T__2s(t))^3)/(999.9399+2.1082425*10^(-2)*(T__2(t)+T__2s(t))-1.77436275*10^(-3)*(T__2(t)+T__2s(t))^2+.438696375*10^(-5)*(T__2(t)+T__2s(t))^3-.6189861563*10^(-8)*(T__2(t)+T__2s(t))^4)
mu(T__2(t), T__2s(t)) = 2.414*10^(247.8/(.5*(T__2(t)+T__2s(t))+133)-5)

k(T__2(t), T__2s(t)) = -9.481411*10^(-6)*(T__2(t)+T__2s(t))^2+2.1356735*10^(-3)*(T__2(t)+T__2s(t))+.5599920949

 

"`h__1`(t)=(-9.481411*10^(-6) (`T__1`(t)+`T__1s`(t))^(2)+2.1356735*10^(-3) (`T__1`(t)+`T__1s`(t))+0.5599920949)/(h) (0.825+(0.387 ((g h^(3) `c__p` (-(4.216485*10^(-2)-7.097451*10^(-3) (`T__1`(t)+`T__1s`(t))+2.63217825*10^(-5) (`T__1`(t)+`T__1s`(t))^(2)-4.9518879*10^(-8) (`T__1`(t)+`T__1s`(t))^(3))/(999.9399+2.1082425*10^(-2) (`T__1`(t)+`T__1s`(t))-1.77436275*10^(-3) (`T__1`(t)+`T__1s`(t))^(2)+0.438696375*10^(-5) (`T__1`(t)+`T__1s`(t))^(3)  -0.6189861563*10^(-8) (`T__1`(t)+`T__1s`(t))^(4))) (999.9399+2.1082425*10^(-2) (`T__1`(t)+`T__1s`(t))-1.77436275*10^(-3) (`T__1`(t)+`T__1s`(t))^(2)+0.438696375*10^(-5) (`T__1`(t)+`T__1s`(t))^(3)  -0.6189861563*10^(-8) (`T__1`(t)+`T__1s`(t))^(4))^(2) (`T__1`(t)-`T__1s`(t)))/((-9.481411*10^(-6) (`T__1`(t)+`T__1s`(t))^(2)+2.1356735*10^(-3) (`T__1`(t)+`T__1s`(t))+0.5599920949) 2.414*10^((247.8)/(0.5 (`T__1`(t)+`T__1s`(t))+133)-5)))^((1)/(6)))/((1+((0.492 (-9.481411*10^(-6) (`T__1`(t)+`T__1s`(t))^(2)+2.1356735*10^(-3) (`T__1`(t)+`T__1s`(t))+0.5599920949))/(`c__p` 2.414*10^((247.8)/(0.5 (`T__1`(t)+`T__1s`(t))+133)-5)))^((9)/(16)))^((8)/(27))))^(2)"

"`h__2`(t)=(-9.481411*10^(-6) (`T__2`(t)+`T__2s`(t))^(2)+2.1356735*10^(-3) (`T__2`(t)+`T__2s`(t))+0.5599920949)/(h) (0.825+(0.387 ((g h^(3) `c__p` (-(4.216485*10^(-2)-7.097451*10^(-3) (`T__2`(t)+`T__2s`(t))+2.63217825*10^(-5) (`T__2`(t)+`T__2s`(t))^(2)-4.9518879*10^(-8) (`T__2`(t)+`T__2s`(t))^(3))/(999.9399+2.1082425*10^(-2) (`T__2`(t)+`T__2s`(t))-1.77436275*10^(-3) (`T__2`(t)+`T__2s`(t))^(2)+0.438696375*10^(-5) (`T__2`(t)+`T__2s`(t))^(3)  -0.6189861563*10^(-8) (`T__2`(t)+`T__2s`(t))^(4))) (999.9399+2.1082425*10^(-2) (`T__2`(t)+`T__2s`(t))-1.77436275*10^(-3) (`T__2`(t)+`T__2s`(t))^(2)+0.438696375*10^(-5) (`T__2`(t)+`T__2s`(t))^(3)  -0.6189861563*10^(-8) (`T__2`(t)+`T__2s`(t))^(4))^(2) (`T__2s`(t)-`T__2`(t)))/((-9.481411*10^(-6) (`T__2`(t)+`T__2s`(t))^(2)+2.1356735*10^(-3) (`T__2`(t)+`T__2s`(t))+0.5599920949) 2.414*10^((247.8)/(0.5 (`T__2`(t)+`T__2s`(t))+133)-5)))^((1)/(6)))/((1+((0.492 (-9.481411*10^(-6) (`T__2`(t)+`T__2s`(t))^(2)+2.1356735*10^(-3) (`T__2`(t)+`T__2s`(t))+0.5599920949))/(`c__p` 2.414*10^((247.8)/(0.5 (`T__2`(t)+`T__2s`(t))+133)-5)))^((9)/(16)))^((8)/(27))))^(2)"

diff(Q(t), t) = k*A*(T__1s(t)-T__2s(t))/d, diff(Q(t), t) = A*(T__1(t)-T__1s(t))*(-9.481411*10^(-6)*(T__1(t)+T__1s(t))^2+2.1356735*10^(-3)*(T__1(t)+T__1s(t))+.5599920949)*(.825+.387*(((-g*h^3*c__p*(4.216485*10^(-2)-7.097451*10^(-3)*(T__1(t)+T__1s(t))+2.63217825*10^(-5)*(T__1(t)+T__1s(t))^2-4.9518879*10^(-8)*(T__1(t)+T__1s(t))^3)/(999.9399+2.1082425*10^(-2)*(T__1(t)+T__1s(t))-1.77436275*10^(-3)*(T__1(t)+T__1s(t))^2+.438696375*10^(-5)*(T__1(t)+T__1s(t))^3-.6189861563*10^(-8)*(T__1(t)+T__1s(t))^4))*((999.9399+2.1082425*10^(-2)*(T__1(t)+T__1s(t))-1.77436275*10^(-3)*(T__1(t)+T__1s(t))^2+.438696375*10^(-5)*(T__1(t)+T__1s(t))^3-.6189861563*10^(-8)*(T__1(t)+T__1s(t))^4)^2))*(T__1(t)-T__1s(t))/(2.414*10^(247.8/(.5*(T__1(t)+T__1s(t))+133)-5)*(-9.481411*10^(-6)*(T__1(t)+T__1s(t))^2+2.1356735*10^(-3)*(T__1(t)+T__1s(t))+.5599920949)))^(1/6)/(1+((.492*(-9.481411*10^(-6)*(T__1(t)+T__1s(t))^2+2.1356735*10^(-3)*(T__1(t)+T__1s(t))+.5599920949))/(2.414*c__p*10^(247.8/(.5*(T__1(t)+T__1s(t))+133)-5)))^(9/16))^(8/27))^2/h, diff(Q(t), t) = A*(T__2s(t)-T__2(t))*(-9.481411*10^(-6)*(T__2(t)+T__2s(t))^2+2.1356735*10^(-3)*(T__2(t)+T__2s(t))+.5599920949)*(.825+.387*(((-g*h^3*c__p*(4.216485*10^(-2)-7.097451*10^(-3)*(T__2(t)+T__2s(t))+2.63217825*10^(-5)*(T__2(t)+T__2s(t))^2-4.9518879*10^(-8)*(T__2(t)+T__2s(t))^3)/(999.9399+2.1082425*10^(-2)*(T__2(t)+T__2s(t))-1.77436275*10^(-3)*(T__2(t)+T__2s(t))^2+.438696375*10^(-5)*(T__2(t)+T__2s(t))^3-.6189861563*10^(-8)*(T__2(t)+T__2s(t))^4))*((999.9399+2.1082425*10^(-2)*(T__2(t)+T__2s(t))-1.77436275*10^(-3)*(T__2(t)+T__2s(t))^2+.438696375*10^(-5)*(T__2(t)+T__2s(t))^3-.6189861563*10^(-8)*(T__2(t)+T__2s(t))^4)^2))*(T__2s(t)-T__2(t))/(2.414*10^(247.8/(.5*(T__2(t)+T__2s(t))+133)-5)*(-9.481411*10^(-6)*(T__2(t)+T__2s(t))^2+2.1356735*10^(-3)*(T__2(t)+T__2s(t))+.5599920949)))^(1/6)/(1+((.492*(-9.481411*10^(-6)*(T__2(t)+T__2s(t))^2+2.1356735*10^(-3)*(T__2(t)+T__2s(t))+.5599920949))/(2.414*c__p*10^(247.8/(.5*(T__2(t)+T__2s(t))+133)-5)))^(9/16))^(8/27))^2/h, Q(t) = m__1*c__p*(T__1i-T__1(t)), Q(t) = m__2*c__p*(T__2(t)-T__2i)

diff(Q(t), t) = k*A*(T__1s(t)-T__2s(t))/d, diff(Q(t), t) = A*(T__1(t)-T__1s(t))*(-0.9481411000e-5*(T__1(t)+T__1s(t))^2+0.2135673500e-2*T__1(t)+0.2135673500e-2*T__1s(t)+.5599920949)*(.825+.387*(-.4142502071*g*h^3*c__p*(0.4216485000e-1-0.7097451000e-2*T__1(t)-0.7097451000e-2*T__1s(t)+0.2632178250e-4*(T__1(t)+T__1s(t))^2-0.4951887900e-7*(T__1(t)+T__1s(t))^3)*(999.9399+0.2108242500e-1*T__1(t)+0.2108242500e-1*T__1s(t)-0.1774362750e-2*(T__1(t)+T__1s(t))^2+0.4386963750e-5*(T__1(t)+T__1s(t))^3-0.6189861563e-8*(T__1(t)+T__1s(t))^4)*(T__1(t)-T__1s(t))/(10^(247.8/(.5*T__1(t)+.5*T__1s(t)+133)-5)*(-0.9481411000e-5*(T__1(t)+T__1s(t))^2+0.2135673500e-2*T__1(t)+0.2135673500e-2*T__1s(t)+.5599920949)))^(1/6)/(1+.4087338992*((-0.9481411000e-5*(T__1(t)+T__1s(t))^2+0.2135673500e-2*T__1(t)+0.2135673500e-2*T__1s(t)+.5599920949)/(c__p*10^(247.8/(.5*T__1(t)+.5*T__1s(t)+133)-5)))^(9/16))^(8/27))^2/h, diff(Q(t), t) = A*(T__2s(t)-T__2(t))*(-0.9481411000e-5*(T__2(t)+T__2s(t))^2+0.2135673500e-2*T__2(t)+0.2135673500e-2*T__2s(t)+.5599920949)*(.825+.387*(-.4142502071*g*h^3*c__p*(0.4216485000e-1-0.7097451000e-2*T__2(t)-0.7097451000e-2*T__2s(t)+0.2632178250e-4*(T__2(t)+T__2s(t))^2-0.4951887900e-7*(T__2(t)+T__2s(t))^3)*(999.9399+0.2108242500e-1*T__2(t)+0.2108242500e-1*T__2s(t)-0.1774362750e-2*(T__2(t)+T__2s(t))^2+0.4386963750e-5*(T__2(t)+T__2s(t))^3-0.6189861563e-8*(T__2(t)+T__2s(t))^4)*(T__2s(t)-T__2(t))/(10^(247.8/(.5*T__2(t)+.5*T__2s(t)+133)-5)*(-0.9481411000e-5*(T__2(t)+T__2s(t))^2+0.2135673500e-2*T__2(t)+0.2135673500e-2*T__2s(t)+.5599920949)))^(1/6)/(1+.4087338992*((-0.9481411000e-5*(T__2(t)+T__2s(t))^2+0.2135673500e-2*T__2(t)+0.2135673500e-2*T__2s(t)+.5599920949)/(c__p*10^(247.8/(.5*T__2(t)+.5*T__2s(t)+133)-5)))^(9/16))^(8/27))^2/h, Q(t) = m__1*c__p*(T__1i-T__1(t)), Q(t) = m__2*c__p*(T__2(t)-T__2i)

(1)

"(->)"

``

``

``

i have a system with 5 dif equations and five unknows. i have told to maple to solve it numerically with interactively solve comand (right cilck button). the window open like it normally does and i put values to my parameters, with an initial condition for the system (Q(0)=0). then i press numerically solve and that's all, the program just keep evaluating with no answer. i wait for 15 min, which i think is too much time, and got any answer yet.

hope you can help with this

thanks.. 
 

Download propuesta_transfer.mw

with(DifferentialGeometry):with(JetCalculus):
DGsetup([x],[u],E,5);
vars≔x,u,u[1],u[1,1],u[1,1,1];
PDEtools[declare](Q(vars));
TotalDiff(Q(vars),x);
TotalDiff(u[1,1],x);

 

Hi everyone,

Recently I came across the total differentiation command in the PDEtools. For its

documentation, I used the following link

http://www.maplesoft.com/support/help/Maple/view.aspx?path=DifferentialGeometry/JetCalculus/TotalDiff

Unfortunately, when I try to replicate this it did not work as expected. I am getting the total derivative of the expression to be zero. I do not understand where I am going wrong.

You can find my code above. I am also attaching the screen shot of my maple file.

I would really appreciate if someone could help me out. Thanks for your help.


 

The following program hangs on the last command and a hard restart is required. The computation of a 2 x 2 matrix times a 2-vector is not that hard. Any ideas as to what is happening?

Another question: if v is a vector that depends on x and y say why does
>solve(v=0,{x,y})
not work?

It should only take a few lines of code to change v=0 to the system {components of v = 0}

5 6 7 8 9 10 11 Last Page 7 of 42