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
  • Why is something like
    V := Vector(2,(i) -> Matrix(3,3));
    
    not equivalent to
    V := Vector([Matrix(3,3),Matrix(3,3)]);
    
    which raises the error "Error, (in Vector) initializer list contains elements of width > 1 and depth > 1", but instead equivalent to
    V := Vector([[Matrix(3,3)],[Matrix(3,3)]]);
    
    Why the need for extra pairs of [...]?
    Hi everyone, I m a beginner with maple, so please, be patient with me! I m trying to use some complex algebra in maple. In particular, I want to define a function f(r,z) and I want to impose it to be REAL. So I thought, let's first impose the variables to be real(I'm using Maple 10, so I write everything as if I was in a document, ok?): assume(r,real) assume(z,real) after I have done this, I define the function, using the appropriate f(x,y) button in the toolbar: F:=f(r,z) and I impose it to be real: assume(F, real) but for some reason this does not work. Anyone knows why? The reason why I need to impose the function to be real is that F will be later multiplied by exp(Iz) to form a complex number.
    Yesterday I was astonished to discover that the information in the fields "About Me" and "Contact and Profile Information" had vanished, or, more precisely, had been rolled back to some older version. Naturally, since then I've tried to remedy that by reentering the newest version (remembering, of course, to click the submit button), but to no avail, or, more precisely: it works fine as long as I do not log out; after logging in again the information have gone to the 'eternal cyberspace fields of lost bits and bytes'. Have anyone else experienced the same odd behaviour? I should say that I have also tried to hit the refresh button (F5) of my browser, and tried erasing all temporary- and offline files, but also to no avail.

    In order to get better acquainted with the plotting facilities of Maple I thought I would try to plot the Möbius strip. In the proces I generalized the task so that I would be able to plot a ribbon twisted an arbitrary number of times. From these efforts the following code resulted:

    with(plots):
    radiusVector := (phi) -> Vector([cos(phi),sin(phi),0]):
    ribbonVector := (phi) -> Vector([-sin(phi)*cos(phi),-sin(phi)*sin(phi),cos(phi)]):
    p := (twist,theTitle,theOrientation) -> plot3d(
       radiusVector(phi) + t*ribbonVector(twist*phi),phi=0..2*Pi,t=-0.3..0.3,
       title=theTitle,orientation=theOrientation,grid=[100,10],scaling=constrained
    ):
    

    Below follow two examples: 1. Ribbon with 1/2 twist: The Möbius strip:

    display(p(1/2,"Ribbon with 1/2 twist: The Möbius strip",[200,70]));
    

     

    2. Ribbon with 1/1 twist:

    display(p(1/1,"Ribbon with 1/1 twist",[40,60]));
    

    As a math phobic, I took a class this semester at UConn Math102Q. The instructor is pretty good but now at mid-semester there are a lot of "do more problems" answers. I hoped at the beginning this would help with my math phobia. The course is fairly new and uses the PSSSP model and the book is written by DeFranco and Vinsonhaler.
    Hi guys, when browsing very long discussion threads, it would be nice to have a button or link that quickly moves to the top of the page. Currently I have to use the vertical scroll bar or mouse wheel. Sorry if this has been suggested before (I didn't follow this forum closely). Thank you!
    SOME ONE PLEASE HELP ME WITH MY DAMM ALGERBRA I DONT GET IT WELL YEA SOME ONE THNKS .
    The following returns 0, which seems less than ideal to me: assume(m::integer,n::integer); int( cos(m*x) * cos(n*x) , x = 0..2*Pi ); Is this intentional or unavoidable - or is it something that could usefully be improved? Toby
    Why can't maple integrate exp(arcsin(x)), it is possible to do by hand without a lot of effort.
    After successfully installing maple 11 on my computer running Ubuntu I start maple by executing the xmaple command. That will give the splash screen and later start a window which is just grey with no menu bars. In the end the startup tip dialog appears and when I select anything from there it disappears and nothing happens after that. The window stays gray. If I press the location of the window where the menu bar should be (also press F10) I get the menu items. Selecting any of them, like options, will invoke a dialog which is fine but there is nothing happening when opening a file or wanting to run an example or such.
    I think that I will start moving to file all of my bug/error/oversight complaints in blog entries. This way (in theory), they are more easily indexed on this site. So, I was playing around with a procedure today: [>restart; testproc:= proc(Q::`=`) local a; ##IF STATEMENT## return a; end proc: [> The if statement noted in the procedure always took on the following appearance: if #Check if lhs(Q)=a# then #assign rhs(Q) to a#;fi; Writing my procedure as above ensured that the restart would be executed every time I changed my if statement. My first if statement went like this:

    The Vim editor ships with a maple.vim file, which is a "maple mode". It was first created by Charles Campbell, and I provided some updates (up to Maple 9.5). I am about to rev that up to Maple 11, so I would like to know if there are any feature requests which I should consider rolling-in at the same time? If you have little bits of vim scripts which you yourself use, by all means, send them along! [You'll get full credit for that, I am fine with being just an aggregator...

    I mentioned in another blog entry that I was considering doing something with slide rules. I mentioned in yet another entry how I hope to pass on some of newly acquired mathematical knowledge to my grandkids. I'm working on a slide-rule for kids project. Although I didn't use maple in any phase of this project, it was definitely a stepping stone on the path that lead up to it. Below is a picture of one of the prototypes - a very rough prototype. read more about it by clicking the "read more" link below ---
    Hi, recently I posted a question regarding the problem that by calling same procedure with same parameters I was getting different results. http://www.mapleprimes.com/forum/function-in-maple-returns-me-different-results#comment-10172 I was playing little bit more with this problem and I found another problem / bug. If I define generalized Gaussian probability density function and set parameters such that it is Gaussian probability density function (definition involves absolute value), my procedure returns number in order 10^131. If I call the same procedure with normally defined Gaussian probability function (definition does not have absolute value), the function return 0.7, which correct results.
    I thought this might be of interest to anyone interested in seeing some simple ciphers broken with maple. Download 6039_huffaf_crack.mws
    View file details
    First 223 224 225 226 227 228 229 Last Page 225 of 306