Maple Questions and Posts

These are Posts and Questions associated with the product, Maple
Hello! Sorry for my bad english. I have question: How do I solve non-linear otimal control problem in Maple (my version of program is 11)? I interesting in numeric result, non symbolyc. Standart tools didn't solve my problem. Please give my link for maple worksheets or other information on this topic. Thank you!

Hi my dear friends,

I’ve developed a simple procedure as follows:

I can simulate first order autocorrelation as

n := 1000;
p := 0.9;
r := Sample(RandomVariable(Normal(0, 1)), n);
for i from 2 to n do
x[1] := 0;
x[i] := p*x[i-1]+r[i] end do;
rr := [seq(x[i], i = 1 .. n)];
Correlation(rr[1 .. nops(rr)-1], rr[2 .. nops(rr)])


I can simulate second order autocorrelation as

<p>I'm a beginner and I need to implement this recursive function with Maple:</p>
<p>$$\left\{\begin{array}{c}<br />
Z(1)=(1-p_a)(1-p_b)\\<br />
Z(i)=((1-p_a)(1-p_b))^{\left(\frac{p_a}{1-p_a}+\frac{p_b}{1-p_b}\right)^i}\prod_{k=1}^{i-1}(1-Z(k))<br />
<p>where 0<p_a<1 and 0<p_b<1</p>
<p>So I write in Maple:</p>
<p>Z:=(i, pa, pb)->if i=1 then (1-pa)*(1-pb) else (((1-pa)*(1-pb))^((pa/(1-pa)+pb/(1-pb))^i))*product(1-Z(k, pa, pb),k=1..i-1) end if;</p>
<p>When i=1 the function works</p>

If i had a matrix such as:

        3        3        3

M:=  3        3        3

        3        3        3

How would i sum each element in a row to get a column vector such as


V:=   9

I am a newbie and this is the second post I am making. The previous follow-ups I received was very helpful and I appreciate it.

I am interested in using maple to derive derivatives of implicit functions. I have a function f(x,y) which I want to compute the gradients of it agaist r and theta. x and y are both functions of r and theta. I don't have a explicit form of f(x,y). My goal is to use this kind of operation to compute complicated higher order gradients of implicit functions so that I don't need to derive them by hand.

What is the best way to do this?



I am new to Maple. I am trying to solve a big integral, but I cannot solve it using Maple.


The problem boils down to this integral:

int(exp(x*cos(theta)+y*sin(theta)), theta=0..2*Pi)


The solution of this integral is:

2*Pi*BesselI(0, sqrt(x*x+y*y))


How can I get Maple to solve these integrals?

Hi my friends,

I want to write a command that applies the solutions of an equation in the same name in a procedure, for example the Maple solves the following equation

hi , i just downloaded maple12 student edition and the mathematics survival kit and installed both. everything worked fine-no problems with the activations. maple starts correctly but how do i use the msk ?

thanks and greetings

I am wondering if it is possible to exectute the "Action when Clicked" of a button component from other components.  Essentially what I want is a virtual button press.  I realize that I could just put all of the commands for my update button in every component I am using, but for my particular code, that is very tedious.  My update button has several hundred lines of code and I would like to rerun the whole code in that button when any of about 20 other combo boxes or text boxes are changed.  I'd prefer not to cut and past a whole block of stuff 20 times every

Not sure why I'm getting this error.  2^56^89 = Error, numeric exception: overflow.

If I include brackets (2^56)^89 it works fine. 

I suppose it has something to do with some of the quirks that maple has. 


Hello, I need make procedure for following instance. I want enter only: v, phi, sirka, k

Thank you...



v := 4;

phi := 1/3*Pi;

sirka := 10;

k := .2;

eq1 := diff(x(t), t) = v*cos(phi):

eq2 := diff(y(t), t) = -v*sin(phi)+k*x(t)*(sirka-x(t)):

sys := [eq1, eq2]:

Can anyone please help a novice?

I am trying to acquire eigenvalues from a matrix over a range of values of "k" and then plot the eigenvalue points on a graph. Can any one help with the code? Especially for the do loop and plotting the graph.

Here is my matrix:

C:=linalg[matrix](2, 2, [9*(1-k), 4*k, -4*k, 2*(1-k)]);

I am a fan of using dot charts as opposed to bar charts (R and S users are familiar with these - it is like a horizontal bar chart only there is a dot plotted where the end of the bar would be,  for an example see  I figure Maple is flexible enough so that I could program a function to do this but maybe it is already there or someone else has already done this and I just don't know how to find it.


I got the space curve r=cos(t)i+2tj+sint(t)k and t =(3pi/4)

and i should show the space curve and derivative of r and osculating sphere and osculating plane and osculating circle in

one graph. I know about derivative and display method in maple 11 and knows how to compute into graph

but i am now sure about oscualting sphere, plane, and circle.

Please some one show me how to plot and graph osculating sphere, plane and circle in one graph!


First 1866 1867 1868 1869 1870 1871 1872 Last Page 1868 of 2105