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
  • Can we have a format for posting with
    
    - text only
    - fixed font
    - full ASCII
    
    
    When posting code it is a real mess in variable fonts, almost unreadable
    and quite often it must contain symbols ( like the 'less than') which is
    kicked out by the board software - so HTML with the 'pre' command does
    not work.
    
    Or let us know how to do it in a posting FAQ ...
    
    
    Hi everybody, I put on the Book pages of mapleprimes a way to implement functional objects with Maple. I'm deeply interested in your opinion about that... you can find my code here: View 744_indexed-output.mw on MapleNet or Download 744_indexed-output.mw
    View file details
    As you can see, this technique implements quite full and simple functional objects for Maple. It is very simple and efficient. All properties are private, you need to implement public get and set methods to make them public. Public methods and stored in the last table structure of the procedure.
    Here is a sheet that shows how to use surface to plot density functions. It shows also how to use such plot for "Value at Risk" figures. See Value at Risk definition at Wikipedia. View 744_plot-fill.mw on MapleNet or Download 744_plot-fill.mw
    View file details
    Click on links below to obtain tips, tricks and FAQ about plotting for probability and statistics.
    Hi, I want to add a ListBox, with a vertical scroll bar in it, in my Maplet. I don't know how to get it. Kindly help. Thanks.
    restart; interface(version);
    
      Classic Worksheet Interface, Maple 10.06, Windows, Oct 2 2006 Build ID 255401
    
    
    expr:=hypergeom([1-I*a,1-I*b],[1],x);
    convert(expr, hypergeom, "lower c");
    
                expr := hypergeom([1 - a I, 1 - b I], [1], x)
    
                                      0
    
    Digits:=14:
    subs(a=1, b=2, c=1, expr):
    eval(%,x=2); evalf(%);
    #Re(%%%); plot( %, x=-1..0.9); plot( %%, x=1.1 .. 3);
    
                     hypergeom([1 - I, 1 - 2 I], [1], 2)
    
                   0.010385802579659 + 0.068521539093061 I
    
    When mod(8,3) appears inside the subscript index it seems to take the value 8 instead of 2. Not sure what's going on: Correct bit: > modp(8,3); 2 wrong bit: > lambda[jj mod 3] $jj=0..8; > lambda[modp(jj,3)] $jj=0..8; > lambda[0], lambda[1], lambda[2], lambda[3], lambda[4], lambda[5], lambda[6], lambda[7], lambda[8] lambda[0], lambda[1], lambda[2], lambda[3], lambda[4], lambda[5], lambda[6], lambda[7], lambda[8]
    Hello! I'm trying to install Maple 10 on my computer running Windows Vista Business N. However, the installation stalls at the point showing "Please wait, Maple 10 is being configured for your system. This may take a moment..." Nothing is happening after that. How can I install the software?
    I find that if I start Maple10 and execute the following code, I typically end up with the warning. But if I re-execute the code once or twice again, the warning goes away and Maple evaluates the integral in terms of Elliptic functions. Great...but why should I have to re-execute the code a few times before getting a result?


    > restart;
    > assume(u1<0);assume(u2>0);assume(U>0);additionally(U<u2);
    > assume(u0>0);additionally(u0<u2);
    > u3:=1-u1-u2:
    > int(1/(u^2*(1-u)*sqrt((u-u1)*(u-u2)*(u-u3))),u=u0..U):

    Warning, unable to determine if 1-u1-u2~ is between u0~ and U~; try to use assump
    A colleague was using NumericStatus to get information about the NumericEvents. But he noticed the following strange behaviour:

    > restart:

    > NumericStatus( inexact, real_to_complex );

    > sqrt(-2.0);  NumericStatus( inexact = false, real_to_complex = false );

    I would like a button attached to comments to report posts as spam. To make this useful (as opposed to unproductive) you would need a program to construct a daily list of all spam posts, so that the moderators are not inundated with spam reports (thereby producing more spam).
    Hi, If a sentence (as a string) is given with uneven number of spaces in it, how can we smooth it out so that every word is followed by exactly one space. I think this would be solved by Regular Expression in patmatch, but exactly I don't know. Kindly help me. Thanks.
    Hi Am having trouble converting a list to a string. Below is my Maple code: restart: #To read in a list of letters find all #possible words which they can make in #dictionary with(combinat);#, powerset ps:=powerset([a,b,c,a]); #Find all permutations of the letters in each list p1:=permute(ps[10]); #Convert list to string convert(p1[1],string); Final part of Maple output p1 := [[a, a, c], [a, c, a], [c, a, a]] "[a, a, c]" What I really want is "aac" - how do I clear the list parentheses and commas? Thanks David

    I have a questing about using Maple document components, such as a plotter, a slider and a Math expression to display my own function that is inserted via Math Expression component. The inserted function (of variable x) is multiply by parametr a and then is displayed in Plotter0. Situation in Maple document is displayed in the following figure The code of Slider0 components is the folowing: a:=GetProperty( 'Slider0', 'value'); b:=MathML[Import](GetProperty('MathContainer0', 'value')); SetProperty( 'Plot0', 'value', plot(a*b,x=-5..5) ); When my function is a polynom and it is not included any other function such as sin, cos, etc., everything workes correctly. But when I try to display e.g. sin(x) it does not worked - it is an empty plot or the other message is generated. I think that it is because of Import function is not able to evaluate it correctly. Could you help me,please? Thank you Vladimir

    First 252 253 254 255 256 257 258 Last Page 254 of 306