MaplePrimes Questions

Search Questions:

Latest Questions Latest Questions Feed

Hello,

How to building a wall, I want to use the wall with something (ex:ball) make a elastic collision.

Thank you all.

Hi EveryOne!

In the the answer of the question "How to find roót of polynomial in finite field and extension finite field (at URL: http://www.mapleprimes.com/questions/203977-How-To-Find-Roots-Of-Polynomial-In-Finite#answer215097). Carl Love helped compute eigenvalues (x1,x2,...,xn)and eigenvectors of the given matrix M over GF(28)/(y^8+y^4+y^3+y+1).

I need to do:

1. Get matrix D from these eigenvalues (x1,x2,...,xn), with D[i,i] = xi and D[i,j≠i] = 0 (D will be diagonalizable matrix. Some xi may be in extension finite field  GF((28)2))

2. Get matrix P from eigenvectors corresponding to the above eigenvalues, compute P-1

3. Compute matrix B = P x D1/4 x P-1 in  extension finite field  GF((28)2).

Please help me!!! 

During a lengthy computation of mine - done using a well established and scientifically sensible external package - I get a Too many level of recursion error in PDEtools/NumerDenom.

Since it has always worked fine for simpler computation with the exact same code, I am wondering whether, with a bigger bound of the level of recursion, the computation could be succesful.

Which is the max level of recursion than maple allows?

Is it possibile to manually (at one's own risk) raise it, in the same line as raising, for instance, stacklimits kernel option?

I am doing some lengthy computation using the externally developed (and published in academic journals) package 'Janet' to compute the compatibility conditions of an overdetermined set of linear PDEs.

At some point in the process (for a set of equations rather, but not SO, complicated) the procedure gives the error

in (PDEtools/NumerDenom) too many level of recursion

 

I have contacted the developer of the packages and he told me that he never directly calls PDEtools functions, so he deems that that call is made by some more standard maple command (such as simplify).

I could not find any documentation of NumerDenom function, to try and understand what might be the problem (my set of equations has some extremely 'bad' fractions, but I hope this is not that naive)

How does NumerDenom works, and where is it called by 'standard' maple command?

Thank you all.

Hello,

 

I want to simulating a mulitibody system, similar circular motion.

schematic diagram:

 

result:

 

Why the ball cannot keep on the circle?

 why_split.msim

Thanks

When I print a Table with graphs in it, the graphs are compressed vertically to an extreme extent. There has to be some compression from the screen, of course, since I have a wide-screen (although the actual worksheet does not use the whole screen width because of the palette and the fact that I don't use full-screen mode. However, the vertical compression  (that is, in a direction where there is plenty of room on the page) is many times more than the horizontal compression. In order to get the printed graph to look normal, I have to stretch the screen graph vertically an extreme amount, which, of course, looks horribly distorted on the screen.

Also when printing a graph as part of a Table, the graph area is clipped so that the title and legend do not print.

I thought that the Table struction would be a good way to display related graphs. But this behavior is making the use of Tables tedious and much less satisfactory because of the missing titles and legends.

None of these things happen when I print a graph in a regular execution group outside a Table structure.

Has anybody else had this problem, and have you found a way to avoid the compression and get the legends?

Hello, Everyone!

I have a big TXT-file (~ 40 Mb). There are 970001 strings in this file. In each string there are 5 float numbers. I use command: readdata to obtain information from my file.

The problem consist in time, which Maple spends to read data.

My question is: how can I accelerate file reading?

My code: "Test read.mw"

My file in zip-archive: "Imp34462 14.zip"

 

 

Hello,

After solving ode I am looking only for the values >=1.5. For example at t=1, y(t)=3.8940.

How can I extract the values >= 1.5 from the solution to use it as data (t,y(t)) and save it ?

restart;
with(DEtools); with(plots);
eqn := diff(y(t), t) = -.25*y(t);

 init := y(0) = 5;

sol := dsolve({eqn, init}, {y(t)}, numeric, output = array([seq(i, i = 0 .. 50)]));
p[1] := plot(1.5, t = 0 .. 50, colour = black);

p[2] := odeplot(sol, [t, y(t)], t = 0 .. .50, colour = red);

display(p[1], p[2]);

 

Thanks

I have an equation

Eq1 := (2*(.2916666667*Mtrailer+.5000000000*M1))*(diff(y1(t), t, t))+MR*(.5*Mtrailer*g+M1*g)+Kspring*MR^2*y1+Cd2*MR*(diff(y1(t), t))

When I use the solve command to solve for diff(y1(t))

ydotdot := solve(Eq1, diff(y1(t), t, t))

I get the following

ydotdot := -2.500000000*10^9*MR*(2.*Kspring*MR*y1+2.*Cd2*(diff(y1(t), t))+2.*M1*g+Mtrailer*g)/(2.916666667*10^9*Mtrailer+5.000000000*10^9*M1)

Why do I get the unwanted factors 10^9, and how can I get rid of them?

I have been trying to fit a function to experimental data. To do this i was using

.

The data is of the type

.

When I use initialvalues, I get a result, that fits the data well, but is clearly not the desired minimum. Maple delivers g always bigger than 10000 which is nowhere near -7, where it has to be for physical reasons. When using parameterranges I get the error

Warning, no iterations performed as initial point satisfies first-order conditions.

He stopps computing and simply prints out my initialvalues or the first value that is in the parameterrange with a huge RSS.

How can I use initialvalues and parameterranges together for my data?

I have been puzzled by a matlab toolbox problem for a long time. How can I get Maple notation in matlab output?

Both "Input display" and "Output display" in Tools-->Options-->Display was changed from "2-D Math notation" into "Maple notation". And the output in Maple is indeed Maple notation like this:maple output

But the output in matlab is also 2-D notation like this:matlab output

when copy it to Matlab or Maple as input, it become the wrong issues like this:wrong style

How can I output Maple notation in matlab? The version is Maple 18 and Matlab 2014b, respectively.

 

 

My task is to develop a mathematical model of time-variant temperature
distribution in a bar with Maple. 
The bar is made of aluminum. The length is 202 mm and the diameter
is 8mm.
Heat is supplied from the kitchen lighter where the flame burns on butane.
The height of the flame is about 4 mm.
Your model should be able to answer how long the time it takes to reach
a certain value of temperature at the distance of 10 cm from the heat source.

 

anyone can help to answer this? im totally new to maple.. hopefully some1 can help me to answer this..

Hey,

I wanted to calculate the eigenvalues and vectors of the following matrix:

A:=Matrix(6, 6, {(1, 2) = k_noho2*NO, (2, 2) = -k_noho2*NO, (2, 5) = k_ipro*O2, (2, 6) = k_hypro*O2, (3, 3) = -k_ro2no*NO, (4, 4) = -k_ro2no*NO, (5, 3) = .991*k_ro2no*NO, (5, 5) = -k_ipro*O2, (6, 4) = .977*k_ro2no*NO, (6, 6) = -k_hypro*O2}, datatype = anything, storage = rectangular, order = Fortran_order, shape = [])

There are no problems with calculating the eigenvalues, but when trying for Eigenvectors(A) it's telling me

Error, (in LinearAlgebra:-Eigenvectors) cannot determine if this expression is true or false: 0 < k_noho2*NO
So what's the problem here?

 

Hello

 

I am new to Maple, and I would like to get some help. Thank you.

I have an assignment where I had to make a power-regression of some numbers. 

 

Now, I did this. I got this  1,18971*x*0,38480

 

 

The next task is to make a prognosis (lol, I don't know how to say that in english), but I had to get to know what x = 17.

Ussualy, you would just put 17 in your function and then calcuate what x=17 is.

 

Now, I want to know if there's a method in maple where you can solve what x=17 is.

 

The reason i ask is because our assignment is a "Maple-assignment" so if there's a solve-function, then please let me know.

 

I appreciate your help.

 

 

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