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
  • f:=proc() args end proc:
    convert(f,CompSeq);

    Error, (in convert/CompSeq) invalid subscript selector

    g:=proc(n) if n=3 then true else false fi end:
    convert(g,CompSeq);

    Error, (in convert/CompSeq) invalid procedure. Can't convert to CompSeq

    maplemint(`convert/CompSeq`);

    I did that for matrix inversion:

    Here is some stuff for doing that by calling Maple from Excel. The reason is that one could care for extreme cases, where a really good precision is needed. I included an example how to switch to rationals, where the inversion can even be done exactly (do not use it for dimensions to high and then it would be better to do it solely in Maple + cut&paste).

    To use it one must have Maple installed (I think at least version 8...

    From time to time people ask on this site or elsewhere whether modules in Maple can be used the same way as objects in object oriented languages. The answer is yes and no. Yes - because OOP behavior can be simulated with modules - certainly not with full blown functionality, but still. No - because that is usually not the best way to do things in Maple. Here is an example of creating a type and an 'object' exploring it, with few 'methods'.
    Is there any way to get an exact solution rather than integration format. I do not know "applyop" command. Please help me for more understanding to use MAPLE. Thanks restart; u(t):=1+sum((-1)^(i)*Heaviside(t-T[i+1]),i=1..n-1)+sum((-1)^(i)*Heaviside(t-T[n+i]),i=1..n): eq:=diff(x(t),t,t)=u(t)/M: ic:=x(0)=0,D(x)(0)=0: dsolve({eq,ic}) assuming T[n+i]>T[i+1]; yoon
    The subject says it. SAGE notebooks implemented in AJAX, work great. The response time is much faster than current MapleNet. __________ Alec Mihailovs http://mihailovs.com/Alec/

    I just uploaded a small change to the theme of MaplePrimes. Now when you click on any of the tabs on the top right of the page, the red color will stay when you are still visiting a page from that section of the site.

    Also, when you click on a link into a section the appropriate tab will become active: Click on a forum post, the forum tab is active, check out a blog entry, the blog tab will be active.

    A small change, but it makes the site a bit more attractive.

    Maplesoft has just created a new promotion Tell Us Your Story. If you submit a story about how Maple and other products have helped you out, you can win an iPod. Free iPods will be given to three randomly selected people who submit their story here. http://www.maplesoft.com/community/user_experience/ Here is the text from the page: Has any Maplesoft product helped you? Tell us about it! You could win an iPod! Maplesoft is always looking for great ideas and techniques from our user base. If Maple or any of our other products has helped you work more efficiently, creatively, or just simply better with your mathematics, we want to hear from you.

     

    Update: The contest has ended. Thank you for your submissions.

    http://maplesoft.com/applications/app_center_view.aspx?AID=2017
    I like to copy math output to a Maple input line and frequently get something like this (∫)[0.1010108897]^0.0280000000011.71364529/(sqrt(1-137.2094860 ll^2 (1-2.828427124 ll))) ⅆll, instead of something like 1.158697057+Int(9.412159410/sqrt(1-88.58874480*ll^2*(1-2.828427124*ll)), ll = .1351916891 .. 0.2100000000e-1) Why is this happening?
    Answering to Definite Integral post, I tried to do the first example in ?inttrans[fourier],
    assume(a>0):
    inttrans[fourier](3/(a^2 + t^2),t,w);
    
             Pi (exp(a~ w) Heaviside(-w) + exp(-a~ w) Heaviside(w))
           3 ------------------------------------------------------
                                       a~
    using int,
    int(3/(a^2+t^2)*exp(-I*w*t),t=-infinity..infinity);
    
                                      0
    No comment. Well, I tried another example from the same help page,
    inttrans[fourier](1/(4 - I*t)^(1/3),t,2+w);
    
    Recently, working on Nested Verification, I took a look at the whattype procedure. First, I couldn't find any use of local variables t1, t2, L, k1, k2 declared in it. That seems odd. Second, the order of types in it seems to be not exactly right. In particular, symbol is located earlier than `module`. Also, some types are missing, record for example. That leads to not recognizing modules and records,
    r := Record( 'a', 'b' ):
    m := module() end:
    whattype(r);
                                    symbol
    whattype(m);
                                    symbol
    Similarly to the compact and efficient version of Nested Verification, I wrote a "compact and efficient" version of whattype,
    Hi all, Can anybody tell me what algorithm has been used in the algorithm for gsolve command in the Groebner Basis? Any help/links/tips are highly appreciated. Thanks!
    I had a kernel panic using Maple 10.06 on my MacBook and now Help can't find anything when I just open Help > Maple Help. Turns out this seems to be a 10.06 problem. I went back to a clone of my system that had 10.05 and ran the updater and the new 10.06 had no help. So not the kernel panic -- guess I hadn't run help since the update. Any ideas no how to fix this ? Thanks - Michael

    Nested verification can be done in Maple using the following command,

    VerifyTools:-AddVerification('nested'=proc(x,y,ver::verification)
    if whattype(x)=whattype(y) then 
    if x::Vector then verify(x,y,'Vector'('nested'(args[3..-1])))
    elif x::Matrix then verify(x,y,'Matrix'('nested'(args[3..-1])))
    elif x::Array then verify(x,y,'Array'('nested'(args[3..-1])))
    elif x::array then verify(x,y,'array'('nested'(args[3..-1])))
    elif x::set then verify(x,y,'set'('nested'(args[3..-1])))
    elif x::list then verify(x,y,'list'('nested'(args[3..-1])))
    elif x::relation then verify(x,y,'relation'('nested'(args[3..-1]))) 
    elif x::range then verify(x,y,'range'('nested'(args[3..-1]))) 
    else verify(x,y,args[3..-1]) fi 
    else verify(x,y,args[3..-1])
    fi end);
    Few hours before I post a blog post to MaplePrimes. I remember that some text appeared that posting was successful. But I can't see it in "my blog". Can you help me?
    First 259 260 261 262 263 264 265 Last Page 261 of 306