Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Does there exist a way in Maple that you can detect a change in a text file without having
to constantly having to call the readdata which keep the command prompt busy in Maple.
For example if you have a txt file that is constantly updating it self with new data
I want the matrix in Maple to be updated dynamically by adding the new data.
Is this possible ?

I am trying to code a naive method for checking if a number is prime. where it checks if a number is prime by checking if a number 'k' divdes into n.

 

Hello, i have attached the file here.

Basically i have an eighth order equation in m. This will produce eight solutions of m. Then i need to substitute each solution of m into a matrix, say M. Thus generating a matrix for each m value. Can someone show me how to do this please...

Greetings Is there a nice way to obtain the jacobian of a system of ODEs ? For example with restart: ross_x:=diff(x(t),t)=-y(t)-z(t): ross_y:=diff(y(t),t)=x(t)+a*y(t): ross_z:=diff(z(t),t)=b+x(t)*z(t)-c*z(t): rossler_sys:=ross_x,ross_y,ross_z; I can't seem to find an easy way to do it, other than re-write the system altogether s_x:=-y-z: s_y:=x + a*y: s_z:=b+z*(x-c): J:=Matrix([[diff(s_x,x),diff(s_x,y),diff(s_x,z)],[diff(s_y,x),diff(s_y,y),diff(s_y,z)],[diff(s_z,x),diff(s_z,y),diff(s_z,z)]]); .....which seems horrible. Thanks LR
Hello! Why does Maple not compute the following residue? residue(((x^7+1)^4/x^30), x=0); Maybe the powers are too high? Are there any parameters I can set so that Maple produces a result? Thanks! Marco

How can I tell Maple to read all txt files in a specified folder ?
The names of each txt files are different ( I dont know the names )

Using maple help: wiht(plots): animate(plot, [Ax^2, x = -4 .. 4], A = -3 .. 3, trace = 5, frames = 50) the above command shows a plot with no animation... What's wrong?

*sigh* Mathematica,

 

how do I plot the bifurcation diagram with Maple of the function:

 

dx/dt = rx - sin(x) ?

My goal: given G(z,w), find the polynomial, P(n), in the partial derivatives of G(z,w) over the integer such that 

d^n z/ dw^n = P(n) / Gz^(2n-1)    where Gz= partial derivative of G with respect to z.

Step 1. Differentiate G(z(w),w) w.r.t w n times. Formulae are known for doing that (Mishkov, Tsoy-Wo Ma),

I came across this issue on my course today, and found it somewhat surprising: restart:Digits:=7: foo:=1/2*sqrt(3): evalf(foo); 0.8660255 evalf[5](%); 0.86603 evalf[5](foo); 0.86605 I suppose this means that whatever algorithm Maple uses to compute the square root also works to the specified level of accuracy and the above is a result of accumulated rounding errors.

question1:

with(Optimization)

Minimize((1-b^2)/a+(1-c^2)/b+(1-a^2)/c, {a^2+b^2+c^2 = 1}, assume = nonnegative)

the result is strange:

[3.46410161513774462, [a = .577350269189626620, b = .577350269189626620, c = .577350269189626620]]

make the datatype not the float form in the results. 3.4641... to 2 sqrt(3)

question2:how to do this.I use sqrt(1-a^2-b^2) to substitute for c.

Minimize((1-b^2)/a+(1-a^2)/sqrt(1-a^2-b^2)+(a^2+b^2)/b, assume = nonnegative)

question3:

Hello, everyone! I would like to find a the unique, reduced grobner basis of a particular ideal. I know that gsolve in the old with(grobner) package would return this, but I can't decipher the documentation of the new with(Groebner) package to figure out how to do it.

If I have a list of polynomials and a given monomial order, I know that I can call:

with(Groebner);

my_gb := Basis(my_I, my_ord)

Hello!

I am solving numerically a non-linear Pde using the command  "pds:=pdsolve(....)"  and all are as they should be...[ pds := module ()...] but when i am trying to plot the outcome i receive: "Error, (in pdsolve/numeric/xprofile) unable to compute solution for t>.188000000000000000:Newton iteration is not converging "

Is there a way to overcome this problem (even if i must lose in accuracy..)???

Thanks!

 

My comp (AMD Athlon 64 Processor 3000+, 1.5 GB RAM) calculates the integral int(1/(x^4+3*x^2+1)^p,x=0..infinity) for p<=545 and the same comp with Maple 10 calculated this integral for p=3000. The answer is of the form k/n*Pi*sqrt(5), where k and m are natural numbers.

How to explain that?

Anyone know how to debug FOR loops in MAPLE? Thanks in advance.

Luciane.

First 1854 1855 1856 1857 1858 1859 1860 Last Page 1856 of 2224