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
  • What could be done with a module whose ModuleLoad routine redefined itself?

    Could such a routine do some action, and then cover its tracks effectively by overwriting itself?

    Would there be any way to use march() to examine the .mla archive member, in which that ModuleLoad routine is stored, without accessing the name of the module? Presumably any invocation of the actual module name would result in its being accessed from the library and hence trigger its ModuleLoad routine.

    This new MaplePrimes editor is not so bad as I feared. It has some quirks, to be sure. Would it be possible to add a toggle between normal and monospace text?  That would simplify the task of writing readable Maple input code, that is, it would eliminate the need to scroll the Format box.

    Maple's foldl and foldr procedures provide a convenient means to generate an n-ary function from a binary operator. For example, from another thread, one can use foldl to create an n-ary and procedure from Maple's binary `and` function:

    In his book UNKNOWN QUANTITY, on page 257, John Derbyshire presents the 4th degree polynomial

    4*(x^2+y^2-2*x)^2+((x^2-y^2)(x-1))(2*x-3) = 0

    which plots as the beautiful "Ampersand Curve"

    When I tried to do this in Maple 11, with a 2D Implicit Plot, the plot was broken, discontinuous, and different when I tried again.

     

    Is this beyond Maple's capability, or can someone suggest what I may have done inadvertantly incorrect?

    In working out the procedure isDeeplyAlgebraic in the post Deeply algebraic, I was trying to use something like `and` and `or`, analogously to `+`, `*`, `.`, etc.

    There are some routines in Maple's library which, when called the first time, redefine themselves.

    One plausible explanation for this is that the new versions are session dependent (external calls, say) while also more efficient to call (repeatedly).

    For example, consider StringTools:-Join which seems typical of that package. First, consider it before it's been called at all.

    > restart:
    > showstat(StringTools:-Join);
     
    StringTools:-Join := proc(...

    In the thread An easy way to plot the region between two curves there are several pictures which are externally stored, i.e., they have not been uploaded to mapleprimes, but instead the sources of the images point to some outside site.

    That should work, I think, but it does not, at least not where I am sitting. I see some Chinese looking art with http://blog.163.com/ (the external site at which they are stored, I assume) at the bottom of each picture.

    In Maple we can easily plot a space curve if it is given by a parametric form:

    x=x(t), y=y(t), z=z(t) (t=a..b).

    However, Maple does not give a easy way to plot a space curve if it is given by the intersection of two surfaces:
    F(x,y,z)=0, G(x,y,z)=0.

     So, I wonder if there are easy ways to solve this plotting problem?

    For example, I'd like to know how to plot the following space curve In Maple :
    x^2+y^2+3*z^2=1, 2*x+3*y+z=0.

    BUG 1:

    Severity: Medium-High

    Reproduction #1:
    >with(Student([Calculus1]));

    IntTutor;

    Try to enter "csc(x)^3" in "function", and let variable to be "x"

    Click all steps, and watch the system freezes.
    Or yo can click "Next Step", which won't change the integrand at all, you may click 100000000 times -- the program is in an infinite loop.

    Hi! I'm a Maple Newbie trying to use the Maple Training Videos.

    They all work fine except for two, under Algebra: "Solving Equations" and "Working with Matrices". Both start OK, then die a few seconds in.

    I'm using Kubuntu Linux, but I really don't think that that is the problem, since all the other videos work fine.

    Could someone try these for me to verify if they work for you?

    Thanks in advance for any help.

     

    Example 1  The region between y=x and y=x^2.

     

    with(plots):

    f:=x->x: g:=x->x^2:

    F:=spacecurve([x,f(x),0],x=-0.2..1.2,color=blue, thickness=3):

    G:=spacecurve([x,g(x),0],x=-0.2..1.2,color=red, thickness=3):

    region:=plot3d([x,y,0],x=0..1,y=g(x)..f(x),color=grey, style=patchnogrid):

    display(region,F,G,axes=normal,orientation=[270,0], scaling=constrained);

     

     

    Example 2 The region between y=sin(x) and y=cos(x).

    with(plots):

    f:=x->sin(x): g:=x->cos(x):

    F:=spacecurve([x,f(x),0], x=-0.5..6.5,color=blue,thickness=3):

    G:=spacecurve([x,g(x),0], x=-0.5..6.5,color=red,thickness=3):

    Region:=plot3d([x,y,0], x=0..6, y=g(x)..f(x), color=green,style=contour):

    display(Region, F, G, axes=normal, orientation=[270,0],scaling=constrained);

     

    Example 3  The region between x=y^2/2 and x=y^4/4-y^2/2.

    with(plots):

    f:=y->y^2/2: g:=y->y^4/4-y^2/2:

    F:=spacecurve([f(y), y, 0], y=-0.1..2.1, color=blue, thickness=3):

    G:=spacecurve([g(y), y, 0], y=-0.2..2.1, color=red, thickness=3):

    Region:=plot3d([x, y, 0], y=0..2, x=g(y)..f(y), color=gray, style=patch,grid=[10,10]):

    display(Region, F, G, axes=normal, orientation=[270,0], scaling=constrained);

     




    Example 4  Bird’s eye view of Example 3 (Just change the orientation.)
    with(plots):

    f:=y->y^2/2: g:=y->y^4/4-y^2/2:

    F:=spacecurve([f(y), y, 0], y=-0.1..2.1, color=blue, thickness=3):

    G:=spacecurve([g(y), y, 0], y=-0.2..2.1, color=red, thickness=3):

    Region:=plot3d([x, y, 0], y=0..2, x=g(y)..f(y), color=gray, style=patch,grid=[10,10]):

    display(Region, F, G, axes=normal, orientation=[300,55], scaling=constrained);

     

     

     

     

     

    Example: http://www.mapleprimes.com/blog/jacquesc/maple-12-wish-list

    Currently, with "Comment viewing options" set to 50 (the default), I see 6 comments in the 2nd page, but clicking on their links on the block "Recent Coments" send the browser (Firefox) to the top of the first page. 

    Could you solve this problem?

     

     

    Hey.

    If you go to url, http://www.fcet.staffs.ac.uk/blb1/FirstYearEng.html, you shall see four maple worksheets in XML format.

    My issues is that i can open them all but the last one, Geometry?

    Can any one suggest a reason why i keep getting an error when trying to open this sheet? Does it do if for you?

    If i can be cheaky, If some one can open it, can they save it in a Maple worksheet and send it over to me please?

    Thanks for any help

     

    What is the following equation about?

    (a+b^n)/n = x

    It has too many unknowns.  There seem to be too many trivial solutions: a=b=n=1, x=2 or a=1, b=2, n=3, x=3 or a=2, b=2, n=2, x=3 and on and on.  Why would anyone think that this has anything to do with the existance of God?

    The following is from en.wikipedia.org/wiki/Leonhard_Euler

    There is a famous anecdote inspired by Euler's...

    I use Maple primarily in a Unix text window (TTY or "command-line" Maple), so I am used to seeing common subexpression labeling in the output of my computations. However, in Maple 11, GUI users don't see subexpression labeling by default.  I'll begin by talking about subexpression labeling as it appears in TTY Maple, then I'll talk about it in the GUI.

    For starters lets look at an example in which a single subexpression is labeled:

    First 210 211 212 213 214 215 216 Last Page 212 of 308