MaplePrimes Questions

Hi All, I have the following procedure to compute the gcd between two integers:

Egcd := proc(a, b)
while b != 0 do
temp := b;
b := a mod b;
a := temp;
od;
return a;  
end proc;

Why does it simply return the value of a when the function was called? (i.e my statements inside the procedure do nothing

How can I persuade Maple 16 to simplify such double sums to zero?  (The competition does it in a snap).

sum(sum( m[i]*m[j]*(x[i] - x[j]), i=1..N), j=1..N);

sum(sum( m[i]*m[j]*(x[i] - x[j])*(y[i] - y[j])*(z[i] - z[j]), i=1..N), j=1..N);

The sum elements are antisymmetric in the (i,j) indices so for every element there is another one cancelling it.

 

Dear Mapleprimes,

 

I have two equations:

 

x-lambda*p=0

 

and

 

y-lambda=0

 

I would like to divide them such that I have:

 

(x/y)=p

 

Is there any way of doing that without doing it manually?

 

Many thanks,

 

Christian

restart:with(plots): a := 1; b := .5; d := 1; omega := .4; h1 := 1+a*cos(x); h2 := -d-b*cos(x+omega); F := Q-1-d; de:={alpha*(diff(f(y), y, y, y, y))+G*(diff(theta(y), y, y))+B*(diff(phi(y), y, y)) +6*beta*(diff(f(y), y, y))*(diff(f(y), y, y, y))^2+3*beta*(diff(f(y), y, y, y, y))* (diff(f(y), y, y))^2 = 0, diff(theta(y), y, y)+Nb*(diff(theta(y), y))*(diff(phi(y), y))+Nt*(diff(theta(y), y))^2 = 0' diff(phi(y), y, y)+Nb*(diff(theta(y), y, y))/Nt = 0, f(1+cos(x)) = (1/2)*Q-1, f(-1-.5*cos(x+.4...

With a given set of pairs S:={[1, 1], [2, 1], [2, 2], [3, 1]...} and a procedure f:=proc(x,y) that has two input variables how can I execute the procedure for each pair in S? Thanks,

How to plot           f(n)=1/6                          if n=0

                                 =f(0).(1-a).a^{n-1}   if n=1,2,...  where 'a' is a given constant...

i have a differencial equation and use DEplot but it does't plot anything.

i have uploaded an image of what im doing

thanks

I found some old Maple 6 worksheets that I wrote in 2003 and I want to see what's in them and probably transfer at least some of the content to new worksheets.  Most of them I can view just fine with Maple 16 standard interface but at least one of them comes out looking like all of the lines have been printed on top of each other --- completely illegible.  Now I can read the worksheet using Maple classic interface on my machine at home, but both of my machines at...

Hello all,

 

I just recently got Maple 15 re-installed for my Chaos Theory class, and am having a bit of difficulty remembering how to plot iteration functions..

 

An iteration function, obviously, is one where the calculated values depend on the previous (or initial if it is the first plotted) values.

 

Where the general form of the equation I want takes:

 

Xn+1 = k - (X

Hi All,

Im solving a system of five second order differential equations, dsys, with five degrees of freedom, using the command:

> Sol := dsolve({dsys, ini}, {phix(t), phiy(t), phiz(t), thetax(t), thetay(t)}, numeric, output = listprocedure, range = 0 .. ts)

This solves the system with initial conditions ini from t=0..ts. 

With the command: > odeplot(Eq75, [t, Z2], 0 .. ts, numpoints = 100), I plot Z2, which is a function of the degrees of freedom, form t=0..ts. ...

It appears that Maple will not install on Windows 8. When will this be fixed or can you provide a solution?


Thanks

Why Maple not simplify
simplify((x*ln(x)-ln(1/(1+x))-x*ln(x/(1+x)))/((1+x)*ln(1+x)))
(result = 1) ?

Hi. i just installed Maple 16 on my computer, but i doesnt work. Everytime i try to open it, it just loads forever. i Tried to install maple 16 32 and 64 bit, without any luck. I have tried to run it as administrator, and in combability mode, still nothing.

I have windows 7 home premium 64 bit.
 

This question was asked before but because of the curiosity, I 

bring it in the light again. We have a system of odes

restart:with(plots):

a := 1; b := .5; d := 1; omega := .4; h1 := 1+a*cos(x); h2 := -d-b*cos(x+omega);

F := Q-1-d;

de:={alpha*(diff(f(y), y, y, y, y))+G*(diff(theta(y), y, y))+B*(diff(phi(y), y, y))

+6*beta*(diff(f(y), y, y))*(diff(f(y), y, y, y))^2+3*beta*(diff(f(y), y, y, y, y))*

(diff(f(y), y, y))^2 = 0,

How can i import data from another worksheet (ecept copy and paste method)?

First 1688 1689 1690 1691 1692 1693 1694 Last Page 1690 of 2434