Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Please help me BFS Code. Why am I wrong?

I tried the following:

restart;
with(Statistics):
Y9 := RandomVariable(LogNormal(a, b)):
assume(a::real, 0 < b):
c9:=solve({mu = Mean(Y9), sigma^2 = Variance(Y9)},{a,b}, UseAssumptions);

 

And received the following warning:

Warning, solve may not respect assumed property 'real' on 'a'.

 

How do I force Maple to account for property 'real' on 'a'?
 

Hi, Very new to Maple and am struggling with the basics, despite having read the manual(s). :-/ I want to enter the following expression in 2D Math: (a+b)*(b+c) and get back the following result from Maple: ab+b^2+ac+bc Instead, Maple gives me several different permutations of distributing a and b. I've tried all the "simplify" commands and none of them gives me the b^2. Ideas? Thanks in advance, n

I want to solve several systems of equations and force Maple to account for the assumptions which were made for the used parameters.

For example I tried the following:

restart;
with(Statistics):
Y1 := RandomVariable(Beta(nu, omega)):
assume(0 < nu, 0 < omega):
c1:=solve({mu = Mean(Y1), sigma^2 = Variance(Y1)},{nu,omega}, UseAssumptions);

Now the problem is, that UseAssumptions makes a distinction of cases, even if -like in this case- the results do not differ from each other.

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).

Could the Student:-Calculus1:-Hint routine detect that its answer(s) will result in an endless cycle (even if only cycles of length 2)? Maybe it could check, and not make such hints?

Below is just one example. Sure, its hint is not great here, due to which this is not a fantastic example. But I'm still wondering about cycling prevention for Rule&Hint in general.

This is Maple 13.01.

> restart:
> with(Student:-Calculus1):

> Int((x^2+a...
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

First 1806 1807 1808 1809 1810 1811 1812 Last Page 1808 of 2224