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
  • In the book Introduction to Maple by Andre Heck books.google.co.uk/books  the author manage to plot the canadian flag
    in maple by using the following code:
     

    restart:
    with(plots):
    with(plottools):

    X := proc (cc) local S, R, mapleleaf, rectangles, border:

    S := proc (t) options operator, arrow; 100/(100+(t-(1/2)*Pi)^8) end proc:
    R := proc (t) options operator, arrow; S(t)*(2-sin(7*t)-(1/2)*cos(30*t)) end proc:
    mapleleaf := plot([R, proc (t) options operator, arrow; t end proc, -(1/2)*Pi .. (3/2)*Pi], coords = polar, axes = none, color = cc, numpoints = 1000):
    mapleleaf := subs(CURVES = POLYGONS, mapleleaf):
    rectangles := rectangle([-5, -1], [-3, 4], color = cc), rectangle([3, -1], [5, 4], color = cc); border := plot({-1, 4}, -3 .. 3, color = black):

    display([mapleleaf, rectangles, border], view = [-5 .. 5, -1 .. 4]) ;

    end proc:

    Ap := Array(1 .. 2, 1 .. 2):   

    Ap[1, 1] := X(red):         Ap[1, 2] := X(blue):    
    Ap[2, 1] := X("green"):    Ap[2, 2] := X("Orchid"):

    display(Ap);

     



    In this blog we will consider what happens when the formula for the MRB constant is iterated infinitely. This will invoke divergent series, but we will use an analytic extension of the formula to continue our iterating. We will also find a new use for MRB2=1-2*MRB constant.( Sloane's A173273 )

    I think Maple should emphasize occupational and problem specific packages, like its TA software for teachers. Maple should have a package or set of packages for each type of engineer: electrical,hydrological, etc. Actually, Maple should promote packages for all professions that tend to need it. An abundance of packages would enable many new users to benefit from the power of maple with the experience of the advanced users who helped develop the packages.

    Dear Moderator,

    What is the reason that I have to request one-time password again and again?

    This annoying behaviour started a few months ago.

    Thanks,   Sandor

     

    Zooming in on plots is rather annoying.  Always zooming and then having to pan the plot back into view.

    Rather it would be much nicer to zoom in on a plot from the position of the pointer and not from the center of the plot.

    Recently, I had to write a brief introduction to the precalculus topic "Vertical Translation of Graphs." Figure 1 ( in black, in red) says just about everything. 

     

    Plot_2d 

    Figure 1   The red curve () is the black curve () vertically translated upward by one unit. 

     

    But is the issue all that trivial? Although the curves are vertically separated by one unit, they don't look uniformly spaced. The animation in Figure 2 helps overcome the optical illusion that makes it seem like the black curve bends towards the red curve, even though the curves are congruent.

    This is an update to my earlier post on the Rossler system, one of the simplest examples of a dynamical system in 3 dimensions that can exhibit deterministic chaos.



    restart;


    interface(displayprecision=10):


    PDEtools:-declare(prime=t,quiet):


    ross_x:=diff(x(t),t)=-y(t)-z(t):


    ross_y:=diff(y(t),t)=x(t)+a*y(t):


    ross_z:=diff(z(t),t)=b+x(t)*z(t)-c*z(t):


    rossler_sys:=ross_x,ross_y,ross_z;




    #Find fixed points:

     Consider the sequence of divergent series in part evaluated by the following maple input.

     

    f1 := seq((1-a)*(1/2)+sum((-1)^n*(n^(1/n)-a), n = 1 .. infinity), a = 1/10 .. 9*(1/10), 1/10): evalf(f1);

     

    and

     

    f2 := `$`((1-a)*(1/2)+sum((-1)^n*(n^(1/n)-a), n = 1 .. infinity), a = 2 .. 10): evalf(f2);

    The Maple output, which is the MRB constant

    I'm not sure why maple opted not to include the color option in the colormap when browsing an array?

    The only available options are Grayscale, Hue, Hot and Cool.  Does anyone know why color was not included as an option?

     

     

    Consider the following situation.  A thread acquires a mutex, then enters a critical section.  However when executing in the critical section, the thread access a memory location.  If that memory location is not in cache, the thread will wait for a few hundred cycles.  If accessing the memory location causes a page fault (the memory was swapped out to disk), the thread may need to wait a few million cycles.  However while this thread is waiting, it is still holding the mutex.  This means that other threads will not be able to enter the critical section, and may

    A MaplePrimes member recently asked me how to sort two sets, using the permutation of one to sort the other.  For example, given the list

    L1 := [3+I, I, 2, -1, 5, 4]:
    

    sort it according to its magnitude and then permute the second list

    L2 := [a, b, c, d, e, f]:
    

    in the same manner.

    hmm, unless I've missed something.  In any of the forums here, the first welcome post, sticky, just says hi welcome.  No explanation as to how to use the forum.  Unless one knows to navigate to books -> mapleprimes help there is no link in the first sticky post to go there and no rhym or reason why someone would go under books to find the mapleprimes help page.  I believe it should be a link available in the first sticky post of any forum.  Just my two cents.

    I'm having a ton of trouble trying to insert a picture into a post.  I got it to work the other night however it's not a simple 1 step procedure.  First I upload the jpg file using the file manager which inserts a red x on the body of text then I have to click on the red x and click the insert edit image button for the picture to actually appear in the post before I post the message. 

    The following interaction with Maple's Excel link came to my attention today.  I thought it had many interesting points that lead to insights about Excel and Maple that are worth sharing. 

    So it appears that using subscripts in Maple is not a good idea. I ran into this problem for the first time yesterday, and is documented here: http://www.mapleprimes.com/forum/drivenharmonicoscillatoramplitudephaseangle#comment-32780 And now it seems I've run into it again. Or possibly I have made a mistake ;) This is part of an implementation of Newton-Cotes method of numerical integration: restart: NCcoef := proc(N::integer) # procedure returns the Newton-Cotes coefficients for an # appoximation with N+1 points local a,c,p,h,B,LH,RH,eq,seqeq,seqco: h := B/N:
    First 139 140 141 142 143 144 145 Last Page 141 of 297