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:=x->x*sqrt(1-cos(Pi/x));

    > limit(f(x),x=infinity);

    > L:=n->limit(f(x^n),x=infinity);

    This might give you a bit of a laugh: This is the latest comic from XKCD a webcomic that often posts funny, geeky comics. My personal fave is this one.
    Hello all, I hope someone could help me with my problem, assume: Y:= X + sin(theta1 - theta2) where X, theta1, and theta2 are function of time. I know how I could calculate partial defferention of Y for each variable by maple (such as diff(Y,theta2); But how could I obtain the derivative of Y in respect to time? Roozbeh

    The other day I was doing some not so light recreational reading. On page 83 of GAMMA Julian Havil
    discusses the Bernoulli numbers. Evidently there exists a set of numbers B(0), B(1), ... such that

    sum(k^pwr,k=1..n) = (1/(pwr+1)) * sum((n^i) * B(pwr+1-i)* binomial(pwr+1,pwr+1 - i),i=1..pwr+1)

    Havil listed the first 12 Bernoulli numbers B0, B1, ..... = 1 1/2 1/6 0 -1/30 0 1/42 0 -1/30 0 5/66 0, ...

    He also stated that the Bernoulli numbers were part of the coefficients of the expansion of x / [ (exp(x) -1)]

    Occasionally Maple does not make me happy, if I want numerical integrals with more than the 14 digits which are supplied through the NAG libraries - that may be rather slow. So I wrote my own solution using LCC-WIN32 (a (free) compiler system allowing 104 decimal points of precision), where I coded the double exponential integration method. That gives me what I want to have in reasonable time. Details are sketched in the uploaded zip-file (it contains all what is needed to run the stuff). Some draw-back: this is for Windows only and because of OpenMaple at least Maple 9 is need.
    Pari is a C library mainly for Number Theory, but it has excellent numerics, both real and complex case and with arbitrary precision. As it seems not to use much symbolics for that it is quite fast. This can be useful for some special functions or integration, see the appended example worksheets (and may be Linear Algebra a bit later these days).
    Hi *! has anyboddy successfully installed an older version of maple (eg Maple 6,7 or 8) installed on a recent linux system (kernel 2.6.18 and newer)? I would like to run such maples for reference porpose to check calculations against results of maple 9 and maple 10. [Maple 9 and maple 10 run not smoothly on recent linux systems and need patches, still many things seem to be broken, Maplesoft does not provide support for maple versions runing on an OS newer than the release date] Any hint welcome! BF.
    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).
    
    Unforunately, I have had to remove the ability for users to upload HTML files to MaplePrimes. We recently had a user upload 630 HTML files that all had links to their Viagra and Cialis ads. In the 8 months that the File Manager has been available, only one user has uploaded an HTML file, so I doubt that this functionality will be missed. If you need to post HTML to MaplePrimes, you can always just copy and paste its source code into a posting. If you have any comments on this, please add them below.
    First, my profile got erased and replaced with some outdated information - like I am working at Tennessee Tech etc. I don't work there anymore (or anywhere else) since June. All my favorite mathematicians/scientists got erased and I have to think again about that and try to recall who was included there. Fortunately, I didn't have this problem with my favorite performance artists etc. - the entry got erased, but I easily restored it. Next, clicking on Dr. produces an empty page titled People who have the title <em>Dr. </em> instead of a list including me and other Drs.
    According to the help page ?RandomTools,integer ,
    • By default, the flavor integer describes a random integer in the range -499999999994 .. 499999999994, inclusive.
    In reality, Maple produces only positive integers, in the range between 1 and 999999999989,
    t:=RandomTools:-Generate(list(integer,20));
    
      t := [395718860534, 193139816415, 22424170465, 800187484459,
    
            427552056869, 842622684442, 412286285840, 996417214180,
    
            386408307450, 694607189265, 773012980023, 730616292946,
    
            106507053657, 396412723003, 944913350029, 210936428922,
    

    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
    First 258 259 260 261 262 263 264 Last Page 260 of 306