Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi all,

I  have problem about translate from maple to C Language. I do project about cryptography, now I can write command in Maple. I don't know how to translate to C language

How should i do?

Anser me please.

Thank you so much.

Hi all,

How can i get a bifurcation diagram and also identify the types of bifurcation that occur for these equations: 1) fa(x) = a + ln(x) , x>0 2) fa(x) = a - ln(x) , x>0 3) fa(x) = a * ln(x) , x>0 4) fa(x) = a + x - exp(x) , x>0

How do I plot the output of the Maximize command?

For example, here's a function that determines the value of x in the range [0,3] at which a particular fuction is maximized:

with(Optimization);

f := (x,t) -> -x^2+3*t*x-1

fmax := t -> rhs(Maximize(f(x,t),x=0..3)[2][1]);

How do I switch the autosaving off?

Hello! I am trying to create a double exponential smoothing model by optimizing the parameters a and b. The model is quite big and Maples needs a very long computation time. Can anyone help me on this one? I'll attach my file: View 9101_double_exponential_smoothing.mw on MapleNet or Download 9101_double_exponential_smoothing.mw

Hi

I am seeking a generalized collect command in Maple to collect a expresion W

W:=mu[1]*mu[3]^3*sin(mu[1]*Pi)*cos(mu[2]*Pi)*sin(mu[3]*Pi)*cos(mu[4]*Pi)+mu[4]^3*mu[3]*cos(mu[1]*Pi)*cos(mu[2]*Pi)*sin(mu[3]*Pi)*sin(mu[4]*Pi)-mu[3]^3*mu[2]*cos(mu[1]*Pi)*sin(mu[2]*Pi)*sin(mu[3]*Pi)*cos(mu[4]*Pi)-mu[4]^3*mu[2]*cos(mu[1]*Pi)*sin(mu[2]*Pi)*cos(mu[3]*Pi)*sin(mu[4]*Pi);  

to two different expresions W1 and W2 as

W1:=mu[3]*cos(mu[2]*Pi)*sin(mu[3]*Pi)-cos(mu[3]*Pi)*sin(mu[2]*Pi)*mu[2];

Hi there,

I'm having a problem when attempting an implicitplot of an expression containing an integral.

Here is a minimal example of what I'm trying to do:

restart: with(plots): with(DEtools):
f:= t-> t^(-2);
F:= x-> Int(f(t), t=x..1);
G:= (x,y) -> evalf(F(x)-y): G(x,y);
implicitplot(G(x,y), x=0..1, y=0..1);
plots[implicitplot](G(x,y), x=0..1, y=0..1, grid=[100,100]);

The above results in the following error message:

Dear All, I'm trying to plot points generated by something called the logistic map by using the following code:

> L:=array(1..30,1..1);
   x:=0.3;
   for i from 1 to 30 do
   x:=4*x*(1-x);
   L[i,1]:=x
   od;
   print(L);
 

>Lpoints:=convert(L,listlist);
>plots[pointplot](Lpoints,symbol=point);

 

Hi.  I'm trying to compute a posterior distribution (Bayesian inference), which requires integration.  I have set up the integral and have attempted to solve it numerically using evalf(Int...) with Maple 12 Worksheet interface and the command-line version.  When executing with Maple 12, I eventually (hours later) get a error - "connection to kernel lost".  When executing with the command-line, eventually the process seems to terminate.  The information about memory used stops updating and nothing happens.  Here is my code:

Hi

I used maple to solve a 4th order ode:

ode:=(h2(x)*diff(eta1IItrans(x),x$4)+diff(h2(x),x)*diff(eta1IItrans(x),x$3)+(1/(g1*h1))*((w^2)*(h1+h2(x))*diff(eta1IItrans(x),x$2)+(w^2)*diff(h2(x),x)*diff(eta1IItrans(x),x)+(w^4/g)*eta1IItrans(x))=0);

avec h2:=x->h2I*exp(d*x):

I have 2 questions:

-I can get a solution only with precise values of parameters (g, h, d etc...) but I would like a literal one.

And again, I've got a problem with drawing graphs with DrawGraph. I've generated some scale-free networks with Barabasi's algorithm (not implemented in Maple 12. I did that myself).
Now, I wanted to display these graphs in a nice way, in which you can clearly distinguish the hubs from the other nodes. I thought that the "style=spring" command would do so, but it puts nodes very near to each other, sometimes even overlapping.
Is there another solution to draw such a scale-free network in a nice way?
Thanks for helping.

I would like to investigate the JCHelpCallBack example using OpenMaple. The sample can be found under the directory,

$MAPLE/samples/OpenMaple/Java/jcmaple/

I've set LD_LIBRARY_PATH. And I can compile and run the jcmaple.java sample. That starts up what appears to be a commandline Maple session. And within that session I can issue the help query ?int OK. I can also issue INTERFACE_HELP(display,topic=int) and that too works, although it dispays as double-lined.

Does the following error message mean that the only way to remove RealDomain is to exit Maple & then start a new session?

 unwith(RealDomain):

hi and thanks for your comment, is it possible to establish some dir as default currentdir (independently of how maple is started)?. How can I know which maple procedures will use currentdir as default directory? Perhaps all of them? If not, what about the others? what does "home directory" mean in maple context? thanks again

First 1990 1991 1992 1993 1994 1995 1996 Last Page 1992 of 2197