MaplePrimes Posts

MaplePrimes Posts are for sharing your experiences, techniques and opinions about Maple, MapleSim and related products, as well as general interests in math and computing.

Latest Post
  • Latest Posts Feed
  • Here is the article. I wrote this as a blog entry, and felt it was better to leave it one place rather than duplicating it. Besides, I don't know how to delete a blog entry. A cheap way to earn five points; however, my next page addition—in the works—to this book will be recompense.
    I have a Maple program (involves 20 or 30 procedures) that frequently results in "Cannot allocate memory". I assume the remember table for one of the procs is balooning. Is there a good way to find out which one it is? Something like... get a list of all the user-defined procs, then show their sizes (including remember table) ... ?
    Occasionally it is necessary to temporarily assign a global flag to perform an action. Consider, for illustration, a procedure that returns the inert form of a procedure. We want it to be able to work with procedures that are local to modules. To do that, we need to temporarily assign the kernel flag opaquemodules to false.
    GetInert1 := proc(p::uneval)
    local opacity,inert;
        opacity := kernelopts('opaquemodules'=false);
        inert := ToInert(eval(p));
        kernelopts('opaquemodules'=opacity);
        inert;
    end proc:
    
    Here is a small module to test this on:
    I have been attempting to use Maple 8 to compute the limit of a function defined by a procedure (rather than as a piecewise function). I can define the function using the piecewise construct but I would rather have my students define functions by writing procedures. Any ideas/suggestions would be appreciated. Please see the attached worksheet. Thank you, Chris de Castro cdecastro@bellsouth.net Download 2060_LimitOfProcedure.mws
    View file details
    Statistics:-ScatterPlot provides a mechanism to plot a lowess curve, and the implementation seems to be flexible and convenient. There is, though, a problem with using ScatterPlot. ScatterPlot only plots the curve. I would like to be able to do computations with the curve; for example, I would like to compute the sum of squared residuals. So I suggest that Statistics[DataSmoothing] include a separate procedure for generating a lowess curve (the same curve that ScatterPlot plots). Note: I have posted about using lowe
    I have been trying out Maple 11 on a Mac. I am having trouble with writing to postscript files - the output is not nearly as smooth as it would be using, e.g., maple 10 using the classic worksheet on windows (eg, try sin(x) with numpoints=1000 - it looks really bad close-up) . In fact, it looks like the pictures are either bit-mapped before being exported, or the resolution of the ps writer is not high enough. In fact, looking at the text in the ps file, I think it's the latter. Is there a way I can get round this? Is the old ps-interpreter available? Why did they change it from 10->11, or is it just another classic -> standard interface problem?
    Qualifying exams are rapidly turning my brain to mush, so I offer this problem for y'all to figure out: I've grabbed some encoded text from a pre-existing worksheet. I've decoded the text, so now I am left with the typeset version of what the text represents. The command Typesetting:-Parse() should work on this text, and yet it does not. For a concrete example: getstr := "LUklbXJvd0c2Iy9JK21vZHVsZW5hbWVHNiJJLFR5cGVzZXR0aW5nR0koX3N5c2xpYkdGJzYqLUkjbWlHRiQ2JVEiYUYnLyUnaXRhbGljR1EldHJ1ZUYnLyUsbWF0aHZhcmlhbnRHUSdpdGFsaWNGJy1JI21vR0YkNi1RKiZjb2xvbmVxO0YnL0YzUSdub3JtYWxGJy8lJmZlbmNlR1EmZmFsc2VGJy8lKnNlcGFyYXRvckdGPS8lKXN0cmV0Y2h5R0Y9LyUqc3ltbWV0cmljR0Y9LyUobGFyZ2VvcEdGPS8lLm1vdmFibGVsaW1pdHNHRj0vJSdhY2NlbnRHRj0vJSdsc3BhY2VHUSwwLjI3Nzc3NzhlbUYnLyUncnNwYWNlR0ZMLUYsNiVRInFGJ0YvRjItRjY2LVEifkYnRjlGO0Y+RkBGQkZERkZGSC9GS1EmMC4wZW1GJy9GTkZWLUkobWZlbmNlZEdGJDYkLUYjNictRiw2JVEickYnRi9GMi1GNjYtUSIrRidGOUY7Rj5GQEZCRkRGRkZIL0ZLUSwwLjIyMjIyMjJlbUYnL0ZORl5vLUYsNiVRInNGJ0YvRjIvJStleGVjdXRhYmxlR0Y9RjlGOS1GNjYtUSI7RidGOUY7L0Y/RjFGQEZCRkRGRkZIRlVGTUZjb0Y5";
    Hello, I need to find relative extrema of an expression with inequalities. e.g. extrema(xi^2-x1^2-x2^2-xp^2-y^2,{xi-x1-x2+xp^2<=y^2},y); extrema command is not able to compute with inequalities constraints. Could you help me please? Thank you. Vladimir
    It's unfortunate, how the "Recent Comments" summary is now so far down the right hand side column that it isn't visible without scrolling down.

    Is there any way to customize it (when logged in, say), to get the more interesting content right up at the top where one can see the summaries without having to scroll down?

    acer
    Hello all ... FYI, we will be creating new forums specifically for Q&A geared towards undergraduate students. Our goal is to have a section of the forums that are more suited to the kinds of issues that younger users who have neither the computing or math experience, may have. We'll be uploading the test groups this week and the forums should be live by the end of the week. We'll also do subsequent refinements in the autumn once Will gets back. Tom 4.
    Hello all ... FYI, our site master Will Spaetzel is getting married this weekend. Please join me in congratulating him and his new bride Laura-Lee on their new life together! Many happy wishes to you two! The bad news is, during his absence (for a couple of weeks), some technical issues with this site may be a bit slower in resolving. We have back-up editors for Will but Will has special talents that are hard to match. Thanks for your patience. Tom 4.
    Hello all, I'm new here and I don't know if it is the right place to report a bug. I do not own Maple by myself, I'm just using our campus-net installation of Maple 9. I have no access to more recent versions right now. I was typing a functioning old Maple 4 sheet, but got a different result with Maple 9 (see below)! However, I found to introduce a simplify() before the int()-call fixes the problem (see last command). Do higher versions of Maple have the same problem with this code? Thanks, Klaus > restart: with(linalg): Warning, the protected names norm and trace have been redefined and
    I have just released the new version of the FourierTrigSeries package. Some bugs were fixed and new procedures were added. This package provides new data structure for the representation of trigonometric series and also several procedures to manipulate with trigonometric series and to compute Fourier series. Previous package name FourierSeries was changed to FourierTrigSeries to be distinguished from the FourierSeries package made by Wilhelm Werner.
    I have the following:
    >                 /             /         2          \\    
    >              1  | 2    2      |/ 2    2\       2  2||    
    >       eqn := - +\b  + a , sqrt\\b  + a /  - 4 a  c // - c
    >              2                                           
                                                         (1/2)    
            1  2   1  2   1 / 4      2  2    4      2  2\         
     eqn := - b  + - a  + - \b  + 2 b  a  + a  - 4 a  c /      - c
            2      2      2                                       
    >                          solve(eqn, c)
                                   2    2
    
    Here are some possible bugs or limitations that I have come across while working with Tensors in the new physics package. I have done best of my efforts looking into the documentation, but it is still possible that the bugs I am listing are not bugs at all but outcome of lack of my knowledge in using Maple. My intention of creating this blog is to not to criticize but to help the Physics package development team in making updates. I appreciate their efforts for developing a much needed package for areas like fluid mechanics, continuum mechanics, theory relativity etc. Platform I am using: Maple Ver 11.01 on Mac OS X 10.4.10
    First 229 230 231 232 233 234 235 Last Page 231 of 306