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'd like to see the following examples in the help page for sqrt,

    sqrt(149^3);
    

                            149*sqrt(149);

    sqrt(151^3);
    

                            sqrt(3442951);

    Alec

    If you go the Help in Maple 12 Standard for "page numbers" you find directions to go to Format and look for Page Numbers, but there is no Page Numbers under Format in Maple 12 Standard (there is in Maple 12 Classic).

     

    So, how come in command line, if I enter a/(b*c), I am returned with a/b/c?  Is there anyway to preserve 'intelligent' denominator groupings?

    I have a problem in cpu usage.
    My PC: X86- Intel Core 2 duo 2.2GHz - WinXP-SP2-RAM 2GB FSB 1066

    So, after many years in the making, version 1.0 of wine is released.

    Can anyone say, whether it'll run Maple 12?

    acer

    The following appears to give two different answers.

    Any suggestions?

     

    > restart:
    > Re(z);
    > Re(a);
    > Re(b);
    > assume(a>0,b>0,z>0);
    > H:=sqrt(b*(1+z)^3+a);
    > bot:=int(1/H,z=0..infinity);
    > evalf(subs(a=3/4,b=1/4,bot));
    > H1:=sqrt((1/4)*(1+z)^3+3/4);
    > int(1/H1,z=0..infinity);
    > evalf(%);

    This isn't strictly a Maple question, however, it arises because I'm trying to convert a Maple postscript plot to a png and it is not working; the result has no background color so is essentially impossible to view.  I use ImageMagick's convert to convert from eps to png.  Previously I hadn't had a problem with that, probaby one of my upgrades has changed something (ImageMagick).  Any ideas?  Presumably there is a way to force a background color with the ImageMagick convert command, but the obvious guesses haven't worked. 

    I have been trying to get Maple12 to generate C code to implement the
    quadratic formula (to produce a root of a second degree polynomial).

    My failure to make any progress leads me to conjecture that even
    though C is Turing complete as a programming language, Maple12
    believes C is incapable of dealing with complex numbers.

    * Is that conjecture correct?

    I subsequently attempted to use "Re(x)" and "Im(x)" in two procedures
    (the first procedure to return the real part, and the second procedure

    In the recent discussion about patching, a question about patching a function f including local variables of a module or another function was discussed. For example, let it be defined as

    A:=proc() global f,t; local x,y,z;
    f:=()->x+y();
    y:=()->z;
    t:=()->x+z;
    x,z:=0,1;
    NULL end:
    A();
    

    Now,

    op(f);
                                () -> x + y()
    f();
                                      1
    

    How to change it so that it would return 2 instead of 1, without reassigning it?

    Everybody is invited to Maple Wiki .

    It is hosted on Maple Advisor, a Maple community site independent of Maplesoft and/or Mapleprimes.

    The site has started just a couple of days ago and doesn't have much of a content yet.

    How about making it so that if I copy and paste the following lines from any common word processor (Word, Wordpad, Notepad,etc)

    f:=proc(x::list)
    local i;
    add(i,i=x);
    end proc;

    into a Standard Maple 12 worksheet I dont get  > at the beginning of every line.

    Not that if I copy and paste the lines into Classic I don't get the extra >'s.

    I am trying to develop a solution to a problem which consists of taking a given vector field (force) and converting that field from one domain to another while maintaining an equivalent system of forces. The real world problem occurs in posttensioning design where steel tendons are place in concrete members and then a tensile force is applied to the tendon, which is then restrained at the end points, creating a compressive vector field in the concrete.

    If I evaluate :

    assume(0 <= a); full := integrate((sin(t)-t*cos(t))^2*cos(a*t)/t^5, t = 0 .. infinity)

    I seem to be getting the wrong result. Not only does the expression look strange (imaginary parts for a real integrand), but it seems also to give wrong results e.g.:

    This is one sort of Maple inconsistency that interests me. Why should the first example behave like evalf(Int(...)) and call `evalf/int` while the second example does not?

    First 196 197 198 199 200 201 202 Last Page 198 of 307