For each of the definitions
p := proc( x :: float ) :: float; x^(2/3) end proc:
p := proc( x :: float ) :: float; x^evalf((2/3)) end proc:
i get an error by calling Compiler:-Compile( p ):
"Error, (in printtab[CodeGeneration:-Names:-Rational])
rational numbers and arithmetic are not yet supported"
Any suggestions what to do (except manually converting
all exponents to floats)?
Edited to add: for example the following does not work:
c := proc (S::float,...

What's wrong with my "asympt"?
Hi all,
I want to find out the order of growth/decay of expression CCP1(attached below). CCP1 is a sub-expression of my huge expression(which Maple couldn't handle).
The goal is to find the functional form for my expression as "v" and "t" approaches +infinity, so that I can bound the error after truncating it,
because I am using this as an integrand.
The original huge expression is known to be fast decay in "v" -- I suspect the asympotic order is of exp(-a*v)/(v+b)^n.
But this sub-expression might be decay, it may grow at +infinity.
The goal is to find out the asymptotic order of growth/decay so that when I combine with the results from other expressions I can get the overall decay order.

I have been trying to solve the following differential equation with 2 starting conditions.
(It's the equation of a mechanical vibration).
>diff(x(t), t, t)+4*Pi^2*x(t) = 200*sin(hoekvers*t)
beginvw:=x(0)=5,D(x)(0)=0;
The result:
>Opl:=dsolve({DV,beginvw},x(t));
>Opl:=x(t) = -100*sin(2*Pi*t)*hoekvers/(Pi*(4*Pi^2-hoekvers^2))+5*cos(2*Pi*t)+200*sin(hoekvers*t)/(4*Pi^2-hoekvers^2)
Now I want to plot the graphic of this vibration when hoekvers=2*Pi.
(In that case there is resonance)
I get the error dived by zero. As you see the numer is zero when I fill in 2*Pi.
For 2*Pi+0.000000000001 I get no error and a good graphic but this is not a good and exact method according to me.

Is there any way that I can get MAPLE to check through an ordered set and return the first integer value? So if the set were;
{2,x,h} it would return 2
{r,h,x} it would return ()
{3,4,5} it would return 3

Waterloo Region, where our head office is located, has been called "The Quilt Capital of Canada". So a couple of years ago, I'd created a worksheet to generate a traditional "Log Cabin" quilt. I've made some minor updates to the example and added a "Trip Around the World Quilt". Having made a few quilts by hand myself, I can definitely say that it's easier to create a Maple one!

Is there a way to save results to file instead of the console/display?
My expressions got too long and they occupy huge space on screen and scrolling is horrible now. Of course I can hide the content of the display by using ":".
However, I do need to use(copy & paste to other applications) the very last output of results(it is very long).
Is there a way to specify or redirect the output to file so after a while I just need to open the output file to use that long expression?
Thanks a lot!

Is there a way to find out the rate of decay of function f(x) when x-> +infinity?
Hi all,
I just wanted to use this real-world engineering problem to practice problem-solving using Maple.
Suppose I have a function f(x) (probably complex valued),
how to find out its rate of decay as x approaches +infinity?
I used "limit" but it will give me a value, not a functional form.
I already knew my function has a limit =0 at x=+infinity.
And it is of fast decay.
I would like to bound the limiting behavior of f(x) by exp(-alpha*x) for some suitable constant alpha.
Is there a way to handle this in Maple?

I would like to set up library(s) of routines that can be accessed as part of MapleNet applications. MapleNet applications are prevented from doing file i/o unless you specifically "unprotect" your server.
Is there a way to set up libraries on my web server to safely get around it?
Or is there a way to include my library routines while I'm building my maplet application, without copying and pasting in the source?

I am using Maple since a year and I am used to work in the classic worksheet.
Now I wanted to try out the regular worksheet (you also have document mode). This worksheet is completly different from the classic one. By example I can not find a way to insert text in that worksheet. I click 'text' (F5) then 'Maple Input' is highlighted. I change it to 'text' and type some text. I press enter and ' ";" is missing ' is displayed. This is just text not a Maple command... How can I let this sheet now I only want to insert text?
Thanks in advance,
Pieter

Is it possible to stop a section in maple 10 classic worksheet expanding on execution? I see from past postings that you cannot lock the section but I just want to keep it closed.
I only want to see the final results on execution and I have to scroll past all the expanded sections all or click on all the sections to close them
thanks

Hi,
I am new to Maple and am having trouble with what should be a simple task. I have a series of simultaneoous equations of the form a*x+b*y=c etc. I have found an initial equilibrium by choosing values of x and y which give me reasonable values of a and b (using the Solve command I have output of a,b,c,x,y which satisfy my equations).
Now, I need to use the parameters I have, my a,b,c, to try and retrieve my x and y (my real aim in this is to see the effect on the x,y when I change the a,b,c). When I try and put the equations plus parameter values into Solve it takes a very long time to solve (I stop after 20mins). What I want to do is use the equilibrium values I obtained before to give Maple a starting point to search for a solution.

Hi Folks,
Here is a numerical integration program:
http://people.scs.fsu.edu/~burkardt/f_src/quadpack/quadpack.f90
In evaluating the integrand functions, it is good to do two function
evaluations at the same time simultaneously.
I just found that I have two CPUs Pentium Xeon 2.4GHz, each supporing
only up to SSE2.
Although the CPUs are slow, but if I can utilize them to do parallel
computing of the numerical integration. It would be great!
But I am not a Fortran expert, nor am I a CS major...
Could anybody give some easy-to-follow advice on how to make that code
parallel on two CPUs?

Documentation on how to reference or assign values to elements in Table is limited. I uploaded a copy of a simple code (690_MTable) which tries to assign values to the elements the table. Code does not give and error message but does not do what I wanted to do.
Please replace this text with the link to your file.
The link can be found in the

View 690_MTable.mw on MapleNet or

Download 690_MTable.mw
I can plot this fine in Mathcad so I know it should work. But in Maple I am only getting a single point at 0 and another at 10.
plot( (-1)^x, x=0..10,y=-3..3, color=blue, style=point);
Thanks for any help,
glenn

I want to write the function into the proc.
test:=proc(h)
h(1.1);
end;
proc(h) ... end;
It doesn't gives what I want:
test(x^3);
3
x(1.1)
I would like to obtain 1.331 .
More explicitly, how can I write into a proc
a function directly, say x^3?
(Not defining earlier h:=x->x^3 .)