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 would like to use OpenMaple from VBA. I seem to have no trouble starting Maple from VBA, but I cannot sucessfully make any other function call - the application hosting VBA will immediately crash on the call. My hunch is that there is some sort of memory violation issue with the callbacks, but I'm not sure. Should I make modifications to the header files? Has anyone sucessfully used OpenMaple from VBA, for example with excel? Thanks in advance
    I had a question regarding importing NURBS geometry into Maple with a complete R^2 -> R^3 definition of the underlying surface function. Im currently modeling in some CAD software and would like to use Maple for some surface analysis. I can save the surfaces as STEP or IGES, for example. As far as I know there is not a STEP or IGES import for maple, so I have been writing one of my own. However, this also requires getting some NURBS libs for Maple (which I have found), and in general it is a little complex. Is there a better way to get NURBS geometry into maple? Thanks in advance
    The fact that animate uses subs when replacing the animation parameter with a number in the animation range can cause problems when the expression to be animated is only evaluated when the animation parameter is replaced by a numeric value. This is shown in the simple example below My suggestion is that in the procedure `plots/animate` the three subs's are replaced by eval's. Is there any problem with that? Preben Alsholm The following does not work at all, apparently because animate uses subs instead of eval in 3 places, lines 29, 43, and 64 (using showstat(`plots/animate`).
    Should this post be allowed in this forum?
    There has been quite a number of complaints about new version of Maple being somehow inferior to previous versions in various ways. Lest people think that this is special to Maplesoft, PC World is running a story titled Before they Spoiled the Software, on various multimedia software that used to be better before it got seriously bloated. They also draw the reader's attention to sites like oldversion.com which specialize in archiving older versions of ``free'' software.
    Students do the craziest things. This was an interesting bug to run into. The following lines all cause Maple 11 to lose connection with its kernel: solve( x-x = 0 ); solve( x-x = 1 ); solve( x-x = -1 ); Whereas, the following lines do not cause Maple 11 to lose connection with its kernel: solve( 1=0 ); solve( x-x+1 = 0 ); solve( x-x-1 = 0 ); solve( x=x+1 ); solve( (x-x)^2 = 0 ); solve( x-x = x ); This message has also been sent to support@maplesoft.com
    What shall I do when I recieve an error message in Maple10 saying Maple was unable to allocate enough memory(for example as a result of computing a large determinant of 3 parameters(13*13 or even more)). Can Maple11 compute such a det?
    Is there any any algorithm for computing large determinants of polynomials?
    I'm trying to do symbiolic manipulations to define new procedures but I have trouble figuring out how to achieve my goal. The context is as follows: We have a set of ODEs df/dt = R(f(t)) where f(0) = x. Here f and x are n-dimensional vectors with components f[i], x[i], and R is a vector valued function with components R[i]; t is time. Example: R[1] := proc (x::Vector) x[2] end proc; R[2] := proc (x::Vector) -x[1]*(1+x[3]^2) end proc; R[3] := proc (x::Vector) x[4] end proc; R[4] := proc (x::Vector) -x[3]*(1+x[1]^2) end proc; Now, the Liouville operator is defined as L := proc(F::algebraic,a::list(algebraic))
    How do I get maple 11 to graph the surface and the horizontal tangent plane (same graph). The function I am working with is z=3x^2+2y^2-3x+4y-5 the point would be (1/2,-1,-31/4) I am a new user, so if you could take it step by step, that would be very helpful. Thank you, Jerry
    A quick question about sending a blog entry to someone by e-mail via the "Email this blog" button: I almost missed the box to enter the e-mail addresses. I never expected this box to have all of the buttons for typesetting HTML or to upload/use file or worksheet. Shouldn't this field should just be a simple textbox? Doug
    As new features are being built into upcoming releases of Maple, here is one request that would be very helpful for those of us who use Maple to teach lower-level (Calculus) students. Maple can work nicely with functions, but students are not always so comfortable with this language. Here's a current example. Suppose you want to find the tangent line to a function. We might work as follows.
    > f := x -> sqrt(4-x^2);
                                          /     2\
                                 x -> sqrt\4 - x /
    > df := D( f );           # typed, or from context-menu
                                             x      
                                x -> - ------------
                                           /     2\
                                       sqrt\4 - x /
    > TL := f(1)+df(1)*(x-1); # tangent line at (1,sqrt(3))
                               (1/2)   1  (1/2)        
                              3      - - 3      (x - 1)
                                       3               
    
    
    This works nicely and looks fine. Now change the function.
    f := x -> sin(x);
                                     x -> sin(x)
    df := D( f );           # typed, or from context-menu
                                         cos
    TL := f(1)+df(1)*(x-1); # tangent line at (1,sin(1))
                               sin(1) + cos(1) (x - 1)
    
    This works fine, but does not LOOK good. The problem is that Maple is TOO SMART. It knows that the derivative function (x->cos(x)) is simply the cosine FUNCTION. Instead of the abbreviation (cos) I want to be able to tell Maple to show this result as (x->cos(x)).
    Hi all, My question is: WHY is underscore (_) used to represent subscripts of parameters in equations? This is what i observe in most of the maple documents/worksheets from the application center. Why isn't the math form (Shift + _) used? The subscript can also be represented as, for example, k[1] in the text form. Any particular reasons? AKS.
    I installed Maple 11 a while back without any problems and have used it without any problems for a while as well. Recently I started using it again after a short hiatus and it does not boot. I get a message that tells me that the jvm.dll file found in <maple>\bin.win is not a valid Windows image and then another error message telling me that there was an error loading it. I can still use Classic Worksheet Maple but when I try to use the preferences option the same message appears. Any idea how to fix it? I don't have an installation disk as I downloaded it directly from MapleSoft. Thanks for a
    Is it true that we cannot embed a for loop within another for loop? I was trying this simple code - for a reason to be mentioned below- and I've got an error message. What am I doing wrong? Is there a way to embed for loops and to have them work correctly? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ L:=[0,1,2]: for i in L do print(i) for j in L do print(j) end do; end do; print(Typesetting:-ASM, "assembled object is invalid"); # input placeholder Error, unterminated loop ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ What I was trying to do was to generate a list of lists as follows. For a given list, let's say L:= [0,1,2], create the list of all possible pairs [i,j]
    First 224 225 226 227 228 229 230 Last Page 226 of 306