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
  • I am using dsolve for one system from MapleSim which is five big equations by five variables after using some rifsim(it was 65 by 65), it goes for ever and after long time I see this error which is :"Kernel connection lost".

     

    so I do not have any result by dsolve.

     

    thanks

    There are a few useful commands in the MmaTranslator:-Mma. The help pages are rather confusing and don't seem to provide enough examples though. For example, take a look at the WriteString help page.

    The calling sequence is WriteString(arguments) - and the Parameters section says that "arguments - Maple translation of the Mathematica command arguments", which assumes that the user knows the Mathematica arguments of that command.

    Huffman coding can be implemented in Maple similarly to Python.

    First, we need a set of character frequencies. It can be created from a string using the following procedure,

    Freq:=s->map(x->rhs(x)=lhs(x),
        {StringTools:-CharacterFrequencies(s)});
    

    For example (used in the wikipedia article),

    When I upload a file, say Dynamics1.mws, it is stored in the following location:

    http://www.mapleprimes.com/files/9249_Dynamics1.mws

    However, the link associated with the file name -- on the left-hand side in the Filename column -- is incorrect:

    http://www.mapleprimes.com/9249_Dynamics1.mws

    Rather silly and surely easy to fix.

    Hi,

    I wonder how it is possible to copy a text from Maple (version 11) to another application. I can highlight the text in Maple and press ctrl+c. But for example in word the only thing I get by pressing ctrl+v is an image of the text :(

    I tried scan the image with an OCR but I assume that the resolution is too bad...there are tons of recognition mistakes..

     

    Please give me advice :)

    Martin

    Hi folks. I have several applications that require multivariate (usually three variable) polynomials of degree at most n in order to fit data. Is there an easy way to generate these? I have in the past just written them out, but it seems inelegant, and one could easily mistakenly leave out a term when constructing a trivariate poly of degree 7, for instance.

    Thanks in advance,

    John Starrett

    Hi,

     

    I was reading the manual for Maple 13 and playing with some commands.

    There is an equation: sin(x)=cos(x) and you can solve it by the solve command.

    If you want all solutions, you just put there AllSolutions attribute and you get

     

    (1/4)*Pi+Pi*_Z1~

     

    I wonder why there is a tilde (~) behind "_Z1", because each integer satisfies

    the equation (there is no need for an assumption).

     

    Given the initial shape of the longitudinal axis of a curved bar is given by
    y0(x) = a*sin(Pi*x/L)

    where a is a constant and L is the length of the bar

    and proceeding to calculate the deflections due to deformation from the diff. eq.

    EI (dy1/dx) = -P(y0+y1)

    the ode for deflections is obtained

    dy1/dx + k*y1 = -k*a* sin(Pi*x/L)

    where k is a constant = sqrt (P/EI)

    Can anyone known of or recommend a program fro converting Mathematica notebooks or files etc., into Maple worksheets

    Hi, Can anybody explain why Maple is crashing? Does it happen with Maple 13? > c:=alpha->solve(-alpha*(alpha+1)+x^(2/alpha),x); # I am too lazy to solve the eq by hand. > c(a); # Maple returns the correct value although that is difficult to see from the text version of the output /1 / 2 \ \ exp|- ln\a + a/ a| \2 / > c(1.5); # This always crashes Maple 12 on my Mac OS 10.5. Maple announces tha the connection to the kernel has been lost and I must restart. thanks,

    If I have autosave on and I'm working on a worksheet and then if I change the name of the directory in the middle of my worksheet.  Autosave re-generates the old file name and saves it there.  Not really a major bug - not many people change the names of their directories in the middle of working on a worksheet anyways.  Never-the-less I managed to stumble across it. 

    Did I do something wrong here... I want isolve to find at least one solution ... > restart; > isolve(5*x^2+11*x*y-5*y^2=11); > subs({x=1,y=1},5*x^2+11*x*y-5*y^2); 11

    Try following,

    Factor(a^4 + a^2*b^2 + b^4 + a^2*b*c + a*b^2*c + a^2*c^2 + a*b*c^2 + 
        b^2*c^2 + c^4) mod 2;
    

    I couldn't get an answer in a reasonable time and interrupted calculations.

    Alec

    Hello,

    I am maintaining a C++ application that requires Maple code generation features to produce C code.

    This application uses the EvalMapleStatement (kv, statement) function, where 'statement' is actually a CodeGeneration[C](...); command.

    The application has worked correctly before, and the generated code has been incorporated as modules into other applications that make use of it.

    First 154 155 156 157 158 159 160 Last Page 156 of 297