MaplePrimes Questions

Search Questions:

Latest Questions Latest Questions Feed

Change the coefficient of restitution to 0.80 and the ball takes off through the terrain. 

Why does it do that and what is the fix?


I have modeled a slidercrank with absolute coordinates.

I have a slight problem when I want to mesure the Euler angles with Euler angle sensors.

In fact, the angle of the crank around the z axis (gamma1) always stay betwen -pi and pi. I would have like to see the value of my angle always increases with the evolution of the time since I impose a constant torque on the crank.

How can I do to observe the Euler angles of a body (parameterized with absolute coordinates) without any limit between [-pi,pi]?

Thank you for your help.

PS: I insert my model attached


Hello everyone. I am trying to make a position time graph of a charged particle in an gravitational and electric field. This is just for an application of Maple to Lagrangian mechanics. I have set up my Lagrangian, did the Euler-Lagrange equation, and solved the differential equation. When I go to plot it, just the axes show up and I dont have a line. I have followed other examples of Lagrangian mechanics in Maple and its still not working. Here is the code for the odeplot:



Eq6 is the Euler-Lagrange equation for my system, initial is the initial values, and q(t) is the position of the particle.

Any suggestions will help.



So if i have a list of numbers X:=[1, 3, 8, 9, 10] for example, how do i calculate the Σx*ln(x) for each x in X ?


im certain it must be possible but i cant figure out how.


thanks for your time :)


I am stuck in this task and wonder if someone could help me with this. I have a big code and, quite generally, receive as a result, say, three quantities, A, B, and C. My aim is create three other lists, list_A, list_B, and, list_C, in a way that each iteration will add to them the respective A[i], B[i], C[i]. My almost complete ignorance with Maple is turning this task a hell, despite in other languages I could do that with relativity ease.

Of course, I thought to put the entire code in a 'for-loop' but as far as I see this is complicated in Maple syntax.

Thank you very much for any kind of help, hint, material for reading, etc.

My best regards,

When I create any plot or drawing in Maple and print to pdf, the program adds a blank space underneath the plots. How can I stop this from happening?

Example: Some code I wrote, before hitting enter

The code I wrote, before plotting the figure

After hitting enter
BTW if somebody knows how to avoid getting the extra [> I'm much obliged


And now a screenshot from the print to pdf

See the blank space which is suddenly added?! It really destroys my lay-out for my report. I think the solution must be an easy change in the settings, but I can't figure it out.


Thanks in advance

I'm trying to execute the program, which can be found here , but it does not work. I copied exactly what is written there:

restart; with(PDEtools):
U := diff_table(u(x,t)):
pde[1] := U[t]+c*U[x]=-lambda*U[];
bc[1] := eval(U[], t=0) = phi(x);
sys[1] := [pde[1], bc[1]];

But after last command it just sais that

Error, (in pdsolve/sys/info) found functions with same name but depending on different arguments in the given DE system: [u(x,t), u(x,0)]

What's wrong?

Hello All,

I have 6 equations that are similair in size to the one listed below. I am trying to find a single equation in terms of only 1 of the variables (s11). After finding this equation I want to solve it for that single variable. When I start plugging all these equations into eachother I get to about the last one then maple seems to get stuck evaluating. I left it on overnight thinking that if I gave it time it would eventually solve, but this didn't seem to work. My questions is, If I gave it enough time would it solve this? Is there another way to do this? Any help you guys could offer would be a great help. Thanks!


Sample Equation

In another experiment with pdsolve, I am solving a PDE with two sets of boundary conditions. Unfortunately, after invoking pdsolve, I get no result at all. What can be wrong here?

Hi there! My name is Filippo, I'm a university student in Strategic Sciences in Turin, Italy.

I've recently started a course about Maple, how to use it, and now my task is to find examples in architectural buildings that are made using quadratic equations..I've found that the Beijin National Theatre is an Ellipsoid as well as the rugby ball...I've got troubles with model proportions,I mean which numbers should I put into my equation to get a nice Ellipsoid...this is what I've done (see pic).

Could you help me to find the right proportions for this model?



[animate, animate3d, animatecurve, arrow, changecoords, complexplot, complexplot3d, conformal, conformal3d, contourplot, contourplot3d, coordplot, coordplot3d, densityplot, display, dualaxisplot, fieldplot, fieldplot3d, gradplot, gradplot3d, implicitplot, implicitplot3d, inequal, interactive, interactiveparams, intersectplot, listcontplot, listcontplot3d, listdensityplot, listplot, listplot3d, loglogplot, logplot, matrixplot, multiple, odeplot, pareto, plotcompare, pointplot, pointplot3d, polarplot, polygonplot, polygonplot3d, polyhedra_supported, polyhedraplot, rootlocus, semilogplot, setcolors, setoptions, setoptions3d, shadebetween, spacecurve, sparsematrixplot, surfdata, textplot, textplot3d, tubeplot]



Ellissoide reale

plots:-implicitplot3d(x^2/100^2+y^2/30^2+z^2/30^2 = 1, x = -100 .. 100, y = -65 .. 65, z = -65 .. 65)








Thank you so much!


Can someone help me figure out what's going on? Here's the PDE I'm trying to solve, and I'm clearly getting the wrong answer.




If i have to solve the eq. i have to guess what U2 is  until i get close to U1 that the error is ok. can i do this in maple. or du i have to make program.




Does the installation of Maple toolbox for matlab removes MuPad in matlab? 

Now when I type in mupad in matlab, it says undefined function.

Is there a way to keep both?

Hello Everyone,


I would like  to write a code to calculate the riemann sum approximation of the curve sin(sqrt(x^2+y^2)+1 

calculate the actual volume using integration

use the ranges x=[-2pi to 2pi]=y, and 20 subdivisions.

also display the curve and the parallelepiped approximations on the same plot.

 my code give me  an error..please someone can advise me which part of my code is not correct..

Thanks very much in advance!

> g := proc (x, y) options operator, arrow; sin(sqrt(x^2+y^2))+1 end proc;

 Z := g(x, y);


 X := Array(0 .. n); Y := Array(0 .. n); Z := Array(0 .. n);


c := -2*Pi; d := 2*Pi;

a := -2*Pi; b := 2*Pi;

n := 15;

s := 0;

X[0] := a; Y[0] := c; Z := g[X[0], Y[0]]; s := 0;

dX := (b-a)/N;dY := (d-c)/N;

    for i from 0 to N do      for j from o to N do     s:=s+Z[i]*dX*dY     X[i]:=X[i-1]+dX: Y[i]:=Y[i-1]+dY: Z[i]:=g([Xi],[Yi])  end do;

This the error message i am getting (Error, unterminated loop)










Recently a a simple problem which i can not handle by myself, made me confused.

I have simple code of maple which is not stable at all. Everytime I run the code, the final result which is the determinant of a matrix, changes and I can not see the problem with the code. In fact i noticed that problem occures when the matrix is being build by culculating the coefficients of some constant values.  I have attached the code. Could you see what is wrong here?

Thanks by the way.



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