MaplePrimes Questions

In MAPLE one has the next command. > for n from 1 to 3 do n=2 then next; end if; print(n); end do; I was wondering how you could have more than one next. So instead, skip over two numbers, or three.. etc?
Hi all, If I have an expression and it involves computations with extremely large numbers. Double precision is bound to fail in my case. And when I used Matlab 2007a's symbolic toolbox, which I believe uses Maple 10 or Maple 9's engine, it supposedly should always return correct value, because its symbolic, with infinite precision. But it still fails for some parameters which makes the numbers too large. Now if I compute the same expression in Maple 11, it is even worse. The calculation fails for a lot more parameters. The failing parameter set for previous Maple version is now a subset of the failing parameter set for the Maple 11. The difference is huge -- Maple 11 gives wrong values almost all the time, even for very friendly parameters.
Hi all, Did you discover the same mysterious thing about the command execution time in Maple? Here is my observation: If I have been using this session for a long time and then if I issue a long-processing command, such as simplification of a very complicated expression, etc. After a while, Maple will get into "steady state": it keeps running and running, without consuming more memory and showing more activity, the time even counts towards 10000 second, etc. If based on this, I think the expression is really too complicated for it to simplify, then I am wrong. After rebooting the PC, and relaunch Maple, and start the same command to simplify the same expression, it generated a result within 15 minutes, successfully...
How can I make maple read data from file.dat and fit it in a nonlinearfit.thanks.R
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
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?
First 2260 2261 2262 2263 2264 2265 2266 Last Page 2262 of 2375