Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I use Optimization package and I obtain a warning

"Warning, no iterations performed as initial point satisfies first-order conditions"

What is the first-order condition?

Thanks,    Sandor


I was playing with a problem from the Maple NG, one can state it as
  Int( arccos(x) / ( 1+x^4) , x=0 .. 1)

Maple 11.02 gives a result, which numerical can not be valid.

Using real (!) partial fractions (Maple uses decomposition over the
complex, no?) I got a similar problem with denominator = parabola
(and continuity over the integration interval):

  Int( arccos(x) / (x^2 - x * 2^(1/2) + 1), x = 0 .. 1)

Some more and time-consuming consuming experiments reduces troubles
to the following example, where symbolics are disproven by numerics:


First of all, I am wondering if this is even possible or even generally used... Maybe what I'm trying to do is not defined or whatever... I dunno.. But I'm gonna ask anyway.

What I want is to make a polar plot, with a different range.

I have a function r(a) which obviously calculates some radial distance as a function of the angle a.

I have so far found 2 ways to plot this in a polar graph:
plot(r(a), a=0..Pi, coords=polar)

hi, if generate 10 random 0 and 1's by using the following maple code > restart: > coin:=rand(0..1): > coin_1:=proc(n) seq(coin(),i=1..n) end: > data1:=coin_1(10); How can I count the number of sequences that have a lenght equal to 1 zero, 2 zero, 3 zero, 1 one, 2 one, 3 one etc etc and how can I plot it in a histogram to illustrate the law of large numbers alex

When I use maple in the shell of Linux, I  always get this kind of output of polynomials:

  2       2        
a  - 2 y  + b y.

My question is could I get them in more regular form,

a ^2 - 2 *y^2  + b* y.

Any idea?




Using maplets, how can i get a button on the form to point to another form with a picture. So i am hoping to have 3 forms A1,A2,A3, each have 3 buttons, one to point to the next form, one the previous and one to shutdown. I can create the buttons on the form, the problem is having one point to another, thanks.


I've problem to make the plot to animate [plot]. Please help. Thanks. Below are the commands

As many of you have experienced, the maplet MathMLEditor, has some problem when it comes to interpret correctly the typing functions, even some functions with the help of the palette.

I was trying to input this function : sin(4*x)+cos(2*x) but after moving form the unknown tag _XML_ error, I end up with misinterpretations of this function, to things like  4*sin(x)+cos(2*x).

So, the comments in this blog tells that the better solution is to use a TextField to get the input function, but now I face this problem

f := Get('txtFunction');

Is there any command or Maple package for computing subresultant sequences of two polynomials? It is hard to believe that Maple doesn't include this basic facility but I can't find it anywhere.



Why lhs cannot be resolved? Well, it can be, in fact, if the interval is t=0..0.03, say, but I need to use t=0..infinity, or t=0..smthbigenough. Thanks.

fsolve(1-erfc((1/2)*sqrt(2)*sqrt(t)) = 0.5e-1, t, t = 0 .. infinity) = fsolve(1-erfc((1/2)*sqrt(2)*sqrt(t)) = 0.5e-1)


It is very stranger that these two statements are not equative:





I think the first one is correct. In fact, the exact result is

 2*hypergeom([1/4, 1/2, 1, 1], [3/4, 5/4, 5/4], -1);

u can evalf the above answer to check it. In fact, Maple cannot get this analytic answer, how do I get it?


      i have a presentation in recent days.  in this presentation i need copy some formula result in maple to Powerponit. But when i copy formula directly, it shows discorder code in Powerpoint.

    so does anyone has good method?

   thanks very much!                             

Solve differential equations using type=series option. How can I judge the series is convergent? Can I obtain the expression of general term?


If I try this



solve({1*x+(1/2)*y+(1/6)*z =1,(1/2)*x+(1/6)*y+(1/24)*z =0,(1/6)*x+(1/24)*y+(1/120)*z =1}, {x,y,z} );

Maple 11 gives me the answer {x=63, y=-384, z=780}

However the book mathematical problem solving with computers (2002) maple 5.3 gives an answer of

{x=39, y=-216, z=420}

My algorithm counting the number of data points between consequitive positive integers in a list seems to be very slow. I suspect there may be a considerable improvement - please help see how to achieve it. If it can be done faster with zeros only, let it be so. See Thanks.


First 1523 1524 1525 1526 1527 1528 1529 Last Page 1525 of 1693