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
  • Since upgrading my OS to OSX 10.5, printing Maple output does not work, at least not well (See attached PDF at Download 513_Maple_Print_Problem.pdf
    View file details). Why is this happening? I have tried printing worksheets on three printers from two different manufacturers with the same results. (I am using a MacBook Pro 2.33GHz, 2GB ram, MAC OSX 10.5) Any help would be appreciated, as I cannot use Maple to generate materials for my classes at this point. Lance N.
    My previous blog entry was a real success. Even though my original idea about multi-part MIME has not gotten anywhere, I do now have a concise way to package a maplet with supplemental files in a single package that can be downloaded via the WWW and automatically extracted and executed. Most of the ideas were presented by acer. acer first suggested that I look at the interactive interface to the InstallerBuilder. The idea here was to embed the maplet in a worksheet saved in a help database (hdb). This did work, but was not suitable for actual use due to the overhead of the installer. In the attempt to reduce this overhead, acer then supplied some code that used march and LibraryTools. To test the product of this interaction, download the file at the URL http://www.math.sc.edu/~meade/TEST/SimpleTest.mla.
    I would like to see solutions to Exercise 7 at the end of Chapter 6 in the 2007 edition of the Maple 11 Introductory Programming Guide. It's on page 255. The exercise reads as follows: “Demonstrate that the BinarySearch procedure always terminates.” “Hint: Suppose the dictionary has n entries. How many words in the dictionary D does BinarySearch look at in the worst case?” My solution (I’m a Maple novice and I’m reading the book.) is: View 4937_Chapter6Exercise7.mw on MapleNet or Download 4937_Chapter6Exercise7.mw
    View file details
    Note added: As correctly pointed out by Joe Riel in his post below, my function fromTree fails doing what it is supposed to do for expressions which contain lists and/or sets. For a version of fromTree which behaves properly (I believe) also for expressions containing lists and/or sets, see my post below. Consider the following two functions:
    toTree   := x -> `if`(op(x) = x,x,[op(0,x),map(toTree,[op(x)])[]]):
    
    It's nice that the plot command tries to warn the users about incorrect inputs: [> plot(sin, x=4..6); Error, (in plot) invalid plotting of procedures, perhaps you mean plot(sin, 4 .. 6) [> plot([cos,sin], x=4..6); Error, (in plot) invalid plotting of procedures, perhaps you mean plot([cos, sin], 4 .. 6) However, there is a shortcoming that I suggest should be fixed: These lines produce a warning and an incorrect plot [> plot([cos,sin(x)], 4..6); [> plot([cos(x),sin], 4..6); [> plot([cos(x),sin(x)], 4..6); Whereas these lines produce no warning and an incorrect plot
    Here it is. If you are running windows vista on your machine and installed maple 11, you will shortly notice that you cannot save documents which is a little annoying. After a lot of reading and understanding how maple works as a sofware, I figured out that maple installs its own version of Java Runtime Envenrinement commonly known as JRE. The hick is it is not compatible with windows vista. Here is the solution I propose for you: 1. Go on Java sun`s website and download the latest JRE version. You will need to install it... https://sdlc5e.sun.com/ECom/EComActionServlet;jsessionid=A61F1EC27C11159DC1B22D3FBC2E7AB0 this is the website of the latest version I know of.
    Hello! So glad to become a part of this community, I am loving Maple. So here is my question: I know c++ fairly well (need to freshen up) and the same idea with Java, Ive seen I can incorporate languages into Maple, or so it seems. What type of things am I capable of doing? And along those lines, any suggestions to what path to take in order to learn such powerful tools? I am currently working on a bachelor/masters in engineering and would love to know Maple better then I do my own Fiance (just dont tell her). Thanks in advance!
    How do i find the coeff? It is not working! > restart: > alias(epsilon=ep); epsilon > eqn := ep*x^4 - 3*x^2 -2*x + 1; 4 2 eqn := epsilon x - 3 x - 2 x + 1 > eqn1 := simplify(subs(x=ep^(n)*y,eqn)/epsilon^(1+4*n)); 4 (-1 - 2 n) 2 (-1 - 3 n) (-1 - 4 n) eqn1 := y - 3 epsilon y - 2 epsilon y + epsilon > asym1 := sum(y[n]*ep^(n), n=0..3); 2 3
    Can evalc be persuaded to return for
    assume(x::complex):
    +1/2*evalc(x + conjugate(x));
    -I/2*evalc(x - conjugate(x));
    
    the real and imaginary parts of x, respectively, i.e., Re(x) and Im(x). Further, can evalc be persuaded to let
    assume(u::complex,v::complex):
    evalc(Re(u)+Re(v)-Re(u+v));
    evalc(Im(u)+Im(v)-Im(u+v));
    
    return zeros identically? It does return zeros identically if either u or v (or both) is real-valued. But not if u and v are both assumed complex-valued. Why not?
    Increasingly, I see the need to distribute a Maple worksheet with some auxiliary files. These extra files typically contain additional Maple code. These extra files could be a command file, a Maple libray archive (mla) or an image (for use in a maplet, say). I can create my own ZIP archive to e-mail, but I would like to be able to post some of these resources on my website in a format that they can be automatically executed when downloaded. I understand that there are some potential security issues here, but I still like to see if there cannot be some support for this functionality. What I have in mind is something very similar to the way attachments are handled in e-mail with multi-part MIME.
    I got an interesting question about integration yesterday. The question was about the integral of the rather innocuous looking function f := sqrt(1+sin(x)). The inside of the square root is always non-negative so the function is continuous (and bounded!) so it must have a continuous integral. The question I was asked, was if the following result was a bug in Maple: Int(sqrt(1+sin(x)),x) = (2*(sin(x)-1))*sqrt(1+sin(x))/cos(x) since the right-hand side is definitely not continuous at x=-Pi/2 + 2*n*Pi!
    Using MAPLE V, Release 10, Elliptic Integrals have been presented. Furthermore, the author proposes approximations based on both FOURIER and TAYLOR series.
    Below is a link to a file I uploaded showing an example of using assigning the value obtained from eval() to a variable and then using evalf() versus using eval() inside of evalf(). The fact that there is some difference is not surprising; it's the sheer amount of difference that amazes me--up to 100%! Do also note that the difference "settle down" over time, which is to be expected. View 413_odd_rounding_example.mw on MapleNet or
    Hello everybody, does anyone know how to integrate the output of BsplineCurve in maple 8? I can plot it over a given interval, but if I try to perform the corresponding definite integral, I get the following error message: Error, (in int) wrong number (or type) of arguments as opposed to the output of the Spline routine, which can be integrated without problems. Thank you for your help.
    Hi. Issue: Anytime I open a recently saved Mpl worksheet, all of my 2D-MATH has been erased and replaced with a simple question mark (?).. And I've tried to open it on a Linux-based OS and trying executing it for like a hundred time. Nothing seemes to work.. Solution needed. Thanks for your time and help. Vic
    First 220 221 222 223 224 225 226 Last Page 222 of 307