MaplePrimes Questions

How to find all Hamiltonian cycles of >G:=CartesianProduct(CycleGraph(k),PathGraph(n));? The command >IsHamiltonian(G);  finds only one such a cycle and this is enough in the most cases. There is a command HamiltonianCycles[G, All] in Mathematica 7 , but I don't find any single command to consruct the Cartesian product of graphs there ( k and n may be large numbers).

I want to ask it is possible to force Maple to show step by step solution but not use l'hopital's rule at all. Thanks

Hi,

sorry for this question that it is surely for moron's level, but I am absolutely new to Maple, have read the manual, have checked internet and I cannot find a clear answer to the not-clear-to-me probably obvious.

for

isolate(y=a*cos(theta)-tan(b)*a*sin(theta),theta)

I get

Hi, i must  write a programme but i have to prepare  this programme without sort and identify codes.the aim of this programme is to sort all the  entered irrational and rational number from the big to the little?

Hi.

I have a loop that performs about 100 calculations, every calculation lasts about 2 minutes on my computer.

The machine is very slow, and often hangs despite Maple is the only actively running program. For example, after 5 successful calculations, nothing happens for 20 minutes (the computer almost doesn´t respond), then it starts working for a while, then hangs again.

Even after a night of counting much less than half of needed work is done.

Is it possible to do something here?

Is it possible to export a picture (plot) in a file?

If it may be important, I get hundreds of plots (in a loop) and would like to export all of them, for example as .jpg files.

Thanks!

Hi,

I'm trying to simplify the following:

simplify((x^3)^(2/3));

I'm expecting x^2 but Maple doesn't simplify anything. Why not? I'm clueless.

When I solve a determined linear system of equations with two equations and two parameters I receive a set of equations.

E.g.

s1:=solve({mu = n*p, sigma^2 = n*p*(1-p)},{n,p});

                              2                 2
                            mu            -sigma  + mu
              s1 := {n = ------------, p = ------------}
                              2                mu
                        -sigma  + mu

BUT when I like to solve an overdetermined system of equations, solve is not applicable in the same way, i.e.

How do we add matrices?  I have maple 12 student edition, shortly to be Maple 13 student.  Thank you!

I want to use the NonIsomorphicGraphs command in the GraphTheory package to find all nonisomorphic graphs on n vertices where all vertices have degree at least 1. I believe that I should be able to do this using the select=procedure option, but the Maple Help Files don't seem to give me enough information as to how I code the procedure. In particular, I don't know precisely how to pass the candidate graphs from NonIsomorphicGraphs to my procedure and what to call the graphs once they are in my procedure. I suspect that the ouput of the procedure should be true or false

Hello, I have a set of two ODE's with a parameter H, so the solutions should look like: p(t,H) and g(t,H). How should i solve them (numerically) to produce a plot p(t,H). (H is just a constant not a variable) Cheers, Stanisław
Hello, It is possible in Maple to change the values of the arguments passed to a procedure. For example, look at the following procedure: f := proc(x) x := 7; print(x); end; Now you can say f(y); which would print "y" and set the value of y to 7. But then subsequently executing f(y); would give an "illegal use of a formal parameter", since y evaluates to 7 (so the assignment would result in an "invalid left hand side of assignment"). Two questions:

Hello,

Hello everyone,

I am trying to figure out how to factor expressions like:

1+2*exp(x)+exp(2*x)

Simply trying factor does not work.

factor(1+2*exp(x)+exp(2*x)) => 1+2*exp(x)+exp(2*x)

Of course, I can force a substitution and make it work:

factor(subs(exp(2*x)=exp(x)^2,1+2*exp(x)+exp(2*x))) => (exp(x)+1)^2

In general however, I would like to not have to specify a substitution or even what is in the exponent!

Any help would be appreciated.

Thanks.

First 1993 1994 1995 1996 1997 1998 1999 Last Page 1995 of 2431