Items tagged with error error Tagged Items Feed

Hi everyone!

I wrote simple program which fits experimental result. I know that experimental points should be fitted with this function — Te=exp(a*X+b), where "a" and "b" are parameters. "X" — vector of independent variable, "Te" — vector of dependent variable.

My question is: can maple estimate error of my fitting? I want to obtain "a±Δa" and "b±Δb".

My program:

P.S. Excuse me, for my english. It isn't my native language.

So this is the errorcode I get and my code is

> r := (x1, y1, x2, y2) options operator, arrow; (sqrt((x2-x1)^2+(y2-y1)^2))^2
> hreg := (A, C, x) options operator, arrow; A*x+C
> hpconf := (Q, x1, y1, x2, y2) options operator, arrow; Q*(1/4)*ln(2.25*b*K*t/(S*r(x1, y1, x2, y2)))/(3.14*K*b)

> he1 := (x, y, C) options operator, arrow; hreg(A1, C, x)+hpconf(Q1, x, y, xp1, yp1)+hpconf(Q2, x, y, xp2, yp2)+hpconf(Q3, x, y, xp3, yp3)+hpconf(Q4, x, y, xp4, yp4)
> C1 := solve(he1(-75, 0, C) = 20, C);

> plot3d(he1(x, y, C1), x = -75 .. 75, y = -75 .. 75, style = surfacecontour, axes = box);

I have defined all the constants, and squareboxes shouldn't be needed for the plot, right?


So I'm trying to make a procedure to tell is a sequence is graphical or not.
seqgraph:= proc (L::list)

local k::integer, i::integer, n::integer, a::integer, S;

n := numelems(L);

S := convert(L, `+`);

a := 0;

if type(S, odd) then print("not graphical")

else for k to n do

if add(L[i], i = 1 .. k) <= k(k-1)+add(min(k, L[i]), i = k+1 .. n) then a := a+1

else a := a+2

end if;

end do;

end if;
if n = a then print(graphical)

else print("not graphical")

end if;

end proc;


 I'm trying to say that if that equality (which is part of the erdos gallai theorem) holds for that value of k then we'll add one to a value (a). Thus, if a=n at the end then the ineuqality was true for each k and thus it would it should print "graphical" but every list I test it one prints 'not graphical'. Where is my mistake? I get an error saying it can't execute add?

> with(DEtools);
> with(plots);
> a := diff(y(x), x) = e(x)^(-0.1e-1*xy^2);

> g := dfieldplot(a, y(x), x = -8 .. 8, y(x) = -8 .. 8, color = e(x)^(-0.1e-1*xy^2));
Error, (in DEtools/dfieldplot) extra unknowns found: xy


how to solve this?

Hello,In short: I try to get the eigenvalues of a 16x16 complex matrix with one variable B__z. I know, the vales are very small (~10^-24), so I multiply with 10^24 and collect B__z. Now, when I use Eigenvalues(H) [H is the matrix] the result is just wrong:

(same with original values) - compared to Mathematica which solves and plots in about 1 sec:

Where is the problem? What should I do? Any suggestions?

Hi everyone,

I have to create a double wishbone suspesione model that can be edited by different users, only introducing some reference point values (called Hard Points). So I need some tool that, in some way, passes from the entered reference point values to the actual values of the bodyframes link. 

I found an already done model (from this link) that seems to be perfect to me because contains an attached Maple document that does exactly what I need working on the base of symbolic parameters applied to the MapleSim model. Now my problem is that I need to deeply change the model and so having the possibility to change the parameter set and insert for example nex parameters. But when I try to do that some problems come out with the Maple document: the syntax of the nex parameter set is different from the default (in the sense of already built in the model I downloaded) one and there are some syntax errors. Below I'll put a screenshot of the error.


under the XData code line, you can also see the syntax of one of the parameters that is very long and complicated: below I'll insert another image from which it can be seen the syntax with the original parameter set.

Now if you another idea for solving the initial problem, that would be great! Instead do you have an idea on how to fix the problem with the downloaded model? In my opinion there is a different MapleSim version problem, in the sense that could be thatn the model I downloaded has been done in another MapleSim version in which the parameter set syntax was different.

Dear all,


Let me first explain a problem I've encountered when working with Maple 18 64 bit in Linux (Ubuntu 12.04). I've tried some things to solve it, but unfortunately without succes

When working with the DifferentialAlgebra package I'm encountering a problem concerning memory. Without going into details, I'm using the RosenfeldGroebner function (DifferentialAlgebra/RosenfeldGroebner) . After about 10 minutes of calculation or so, the computation stops with the error message

>> Error, (in DifferentialAlgebra:-RosenfeldGroebner) out of memory error

This particular error does not have a *help*-file, so no help there.

Now, I'm pretty bumped out because of this error, because I'm working on 16 GB RAM computer which is imo quite a lot. Moreover, I have the feeling, that Maple is not using the full capacity of memory. This, is because I was monitoring the memory during the computation (via the System monitor). Before I start the calculation: the memory usage is about 3.6 GiB (=22.8%). During the calculation it slowly rises until about 8GiB (50%) at which the computation stops and the above-mentioned error message pops up. So it looks there's a big part (about 7.5-8 GiB) of memory still available, but isn't used.

So my question is: What are the possibilities to solve this problem. What can I try to do to have more memory available to be able to do the calculation.

Of course I was looking into the possibilities myself. In my experience I found the information found on this forum and on the Maple help files confusing or not very helpful. Probably, because I have little knowledge of programming or computer architecture. Nevertheless I would like to know some things about it. So, iI'll  present what I tried to do:

- The command kernelopts('datalimit') returns the total amout of heap memory in kibibtyes that Maple may consume   
  In my aplication this is set to infinity. So I presume that this could not explain why the program stops at only 50% Memory usage

- The command kernelopts('bytesalloc') returns the total amount of bytes allocated by Maple kernel. This value cannot be set.  Does this attribute pose a limit on calculations or is this  the amount of memory used by the Maple 'overhead'?   
In my application the value of this attribute is 8781824 bytes, so that's about 8 MB. I suppose it is not related to the problem I'm having, or is it? 

The command kernelopts('stacklimit') returns The total amount of stack space avilable. In my application this was initially set to 8160 kibityes. I've changed this to 8160000000, wel beyond the availble memory. I would think that this now would not anymore present a limit on the memory usage.

The command kernelopts('jvmheaplimit') returns the maximum amout of heap memory for the Java virtual machine. I presume this is the maximum amout of memory for the visiualisation part of Maple (is this correct) In my application this was initially set to 65536 kiB. I've changed this to 65536000000 kBib which is well above the available memroy. I would think that this now would not anymore present a limit on the memory usage

The command   kernelopts('cacheclearlimit'); returns the memory for maintaining temporary elements in cache. In my application this was initially 524288 kiB, but i changed this to 524288000000. I would think that, again, the limit on the memory usage would be gone.

I tried the calculation again with the mentioned changes in the memory attributes. Unfortunately, the error message *out of memory error* still popped up at about 50% memory usage.

Did I overlook something?? What can I do?? Is there actually that I can do? Where should I look?

Many thanks !!

I have a Text Region (made with T tool) which does contain some math elements. However, as I understand it, such a region should not be executable. When execution is attempted (by using ! with the cursor in the region), the cursor should sinply jump to the next group (executable or not). Instead, I get the following output error line as though it were an execution group and the cursor remains in the region.

Error, "=" unexpected

How is this possible?  Is there s code hidden behind the visible text that causes this?

This happens even after I copy the whole text in the region to a text region in another worklsheet.

Hi there

I've got an 18*18 matrix which almost all of its elements are in parametric form. I Need to export this matrix to MATLAB to do some numerical alnalysis on that But when I click on  " export as MATLAB", the following error appears:

"can not convert matrix elements to float[8] datatype"

I wonder if thre's a solution to that or anyother way to move the matrix(as it is) to MATLAB.

I'll be appreciated your help

I've been instructed to create an animation showing the changing plots of a single square waveform using 5,10,20,40,80,160,320, and 640 terms in my Fourier series. This is my code right now: 


with (plots):
L := [seq(2^i, i = 0 .. 6)];

[1, 2, 4, 8, 16, 32, 64]

animate( plot, [2/((2*n-1)*Pi))*sin((2*n-1)*Pi*x], n=L);
Error, `)` unexpected


It doesn't work. Can anyone explain what I'm doing wrong, or how to solve my question?


I trying to simulate a force sensor on robot arm, but every time I try something, I get nothing from my sensor, can you help me?


Here it's my "design":


Also, if I add a rigid body I get this error:




Hi there

I have have a 18*18 matrix which almost each of its element are in symbolic form. Now I need to have all of its eigenvectors. Unfortunately when I use the "Eigenvalues()" function in maple i got nothing. In fact I got the error which comes below.

Error, (in content/polynom) general case of floats not handled

I need to know if there's a solution to eliminate the error? If not, what can I do to determine the eigenvectors and eigenvalues in symbolic form?

I'll be appreciated your help

Here is my code & the error mesage.  What's wrong?


X := Vector*([0, 5, 10, 15, 20, 25, 30], datatype = float);
Y := Vector*([38.8, 53.8, 82.4, 107.6, 130.7, 152.4, 173.2], datatype = float);
NonlinearFit(av^2+bv+c, X, Y, v);
Error, (in Statistics:-NonlinearFit) invalid input: PostProcessData expects its 1st argument, x, to be of type {array, list, rtable}, but received w

i want to plot a circle with that centered at (0,0),and the radius is the length of Point2 and orgin

but it shows the error

how could i do to solve this









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