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
  • How can one add something that will show up as < in the Subject line of a posting here?

    The goal is to have it show up properly both at the top of the post itself as well as in the "Recent comments" right-sidebar.

    Regardless of whether the "Input format" is "Plain Text" or one of the HTML variants, a literal, typed < shows up as blank in the final displayed Subject field. Ie, it gets treated as HTML.

    But with Input format as HTML, a literal, typed < displays as a nicely marked up < symbol in the Subject field but shows as raw source in the "Recent comments" field.

    Is there any way to enter < symbols in the Subject line so that they appear properly in both locations?
    In Math Mode in a Maple worksheet, how do I type something such as L := [1, 2, "abc", "a", 7.0, infinity]; for x in L do if type(x, 'string') then print(x); break end if end do on multiple lines? Also, please show me in the online Help menu the explanation for how one makes such line breaks without setting off execution. I got Maple last August. I have searched the online Help menu for any mention of a line break but have not found it. Thank you.
    I want to get the entire solution set for cos(x) = -1/2. Maple gives me {x = 2/3*Pi-4/3*Pi*_B15~+2*Pi*_Z15~}; Can someone interpret this for me, character by character? Allan
    I really like the new Maple 11 plotting features. But I have a problem with them, they use the comma (,) as the decimal separator and the period (.) as thousands separator. Normal (2d) output correctly use the period as decimal separator, though. Maple 10 plots worked correctly also. The machine OS is Windows XP Pro, and the system language is Spanish. I have checked that I have specified the desired separators in the language control Pannel. Could this problem be related to java language specification ? Does anyone know how could I change this behaviour ?

    We are pleased to announce the winners of the Great Application Contest. First prize is awarded to Dr. Jason Schattman, for his entry Can a Square Roll?, an exploration of the "Renaissance Man of calculus problems", the square wheel problem. The runner-up is Prof. Mario Lemelin, for his Pré-test en Mathématique, a Maple-based questionnaire that lets beginning differential calculus students test their secondary school mathematics comprehension. These and many other Maple applications can of course be viewed on the Maple Application Center. Congratulations to both!

    I have a question to find the maximum and minimum element(s) of the matrix and be able to print out their location.(a ij). Where i and j are the rows and colums. All this has to be done in a procedure. I can write code to print the matrix fine. A:=array(1..4,1..4,[10,12,10,2],[12,25,27,3],[8,23,17.4],[6,15,6,2]]); I can clearly seen where the max and min elements are and their locations but how do i weite code to be able to do this. Please any hjelp will be greatly appreciated.
    How do I locate a particular theorem in Linear Algebra that I need for my research? I have been to conferences which seriously discussed a unified and universal bank of all known math theorems. Theoretically, all proven math theorems could be connected logically: A implies B. But, in reality, most proven math theorems are scattered throughout the literature. I have no access to a university with math journals. I might be able to do inter-library loan at my local community county college here in the United States. But, that may take a long time. I have no paid job. My earned income is only from social security disability.
    I noticed that when using Maple my %CPU seems to be much higher than other apps. This is not just during computation. I may just be entering text, but once I have executed any commands in the worksheet or document the percent seems to stay between 50 and 70. I can stop entering anything for several minutes and it just stays at this level. As soon as I click outside the worksheet on the desktop or on another app it immediately drops down to practically nothing. If I then click back on the worksheet it stays down until I start to enter something and then it jumps back up. Is this typical? It gets things heated up pretty quickly and as far as I can tell it is my only app that does this.
    I find the rules for the evaluation of local variables in procedures confusing and dangerous. Here is the example on page 204 of the introductory programming guide for Maple 11. f:=proc() local x,y,z; x:=y^2; y:=z; z:=3; x; # eval(x); # this gives f() = 9 end proc; f(); f() gives the answer y^2. To get the answer 9 you have to use eval(x). The guide says this is done for efficiency. I would strongly disagree and say that the default behavior should be considered a bug not a feature because the returned result is not obvious. Is there any way to force Maple to fully evaluate local variables by default without having to put in eval statements all the time?
    I want to set up a symbolic integration procedure over an region. I will have expressions such as z = c1 + c2*x + c3*y + c4*x*y .. but the number of terms in z can vary and should be determined automatically by the procedure. c1, c2 .. are arbitrary factors. For example, a possible z could be z = a + b/c*x + d/e*x*y^3 + f*y^5. The integral of z should be returned from the procedure as zint = c1*INT(0,0) + c2*INT(1,0) + c3*INT(0,1) + c4*INT(1,1) .. where INT(i,j) represents the integral over the region of x^i*y^j. These integrals will be calculated numerically by another procedure. Does anyone know how to do this?
    I am new to Maple and am trying to create some plots. I can create plots using the Plot builder with ease but would like to have plots generated within a loop. I am having success creating 3d plots within the loop but only want 2d plots. My expression is in 2-variables and I am rotating the graph as a change angles. Any help would be appreciated. Kay
    Inspired by the blog post Find a point in every region defined by a system of linear equations, I have come up with the following method to find a point inside each bounded region. The assumptions are:
    • No two lines are parallel.
    • No three lines are coincident.
    Due to numerical instability, it seems, using floats, the coefficients of the equations of the lines are taken to be integers (they could also have been taken to be fractions, of course). Then the method goes like follows:
    We're running Maple 11 in a lab of about 40 MiniMacs (MacOS X). Normally, there is a Preferences choice under Maple 11 on the menu. But one student had no Preferences there (or anywhere else that I could find: in particular, not under Tools, where Options would be under Windows). What's going on?
    We are pleased to announce the winner of the monthly Maple Mentors Awards for December. The winner for December is Acer. Acer will receive a prize of his choice to thank him for his involvement with the MaplePrimes community. Congratulations and keep up the good work!!
    I occasionally use e.g. expr := 1+a^2; eval( expr, 2=-1 ); to convert expr to 1+1/a. I realised recently that this can be dangerous: expr2 := 1+x+3*y; eval(expr2, 1=2); produces (rather suprisingly) 4+2x+3y. Investigating, pulling apart expr2 with op reveals the structure as being a sum of 3 terms, the last being a product. "ToInert" shows essentially the same. "dismantle" however shows expr 2 as being a single sum of the form 1.1 + 1.x + 3.y. So it is essentially the dismantle version that eval searches and replaces all the 1's by 2's. My question is whether there is some good reason for this. It would seem to me (without knowing much about the theory of computer algebra) that eval (and subs) should work on the operands as revealed by op or ToInert. Certainly it would lead to more logical results in cases like my example.
    First 212 213 214 215 216 217 218 Last Page 214 of 306