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
  • 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

    How can I compute the superimum and infimum of two functions in Maple? Would it be different for a pointwise computation and on full domain? I am a newbie, kindly give a detailed example. Thanks.
    I would expect, that evalhf works for that without 'manual' translation ...
    
    restart;
    interface(version);
    
      Classic Worksheet Interface, Maple 10.06, Windows, Oct 2 2006 Build ID 255401
    
    
    tst1:=proc(a,z) (-z)^(-a); end proc:
    evalhf(tst1(1.5, 2.5));
    
      Error, fractional power of a negative
    
    
    '(-z)^(-a)': '%'= convert(%,exp);
     
    tst2:=proc(a,z) exp(-a*ln(-z)); end proc:
    evalhf(tst2(1.5, 2.5));
    
                              (-a)
                          (-z)     = exp(-ln(-z) a)
    
                                     -9
              0.155662521299999988 10   + 0.252982212799999995 I
    
    I have a text file, named Gens.txt, in the followig format Heading1 : This is first line Heading2 : This is second line Heading3 : This is third line I want to write a code which does the following: 1. Reads a line from this file and substitutes the number of prefix spaces at the start of line and followed by #. 2. The portion after : is made uniform in terms of spaces i.e. each word is followed by only one space. 3. The line thus produced is to be written to a text file named GensByMaple.txt. For example the first two lines would become like the following:
    Hi! I'm having trouble with getting maple to calculate anything for me. Whenever I enter a calculation it tries to connect with the maple kernel but can't. I tried to look it up but all I found was firewall related stuff. This is not firewall related since I shut down my firewall and the same problem occurred. I'm running Maple 10.04 on Gentoo Linux with kernel 2.6.19-r2. Anyone know how to fix this?
    I'm fairly new to Maple, so please correct me if I'm doing something incorrectly. However, I've uncovered some disturbing behaviour in how the Maple 10 engine finds the closed form of summations containing conditional statements. For example, consider the following statements: 1) sum(`if`(k=0,n,binomial(n,k)),k=0..n); => 2^n 2) n + sum(binomial(n,k),k=1..n) => n - 1 + 2^n The statements should be equivalent. However, Maple 10 returns an incorrect closed form for the first one. Similarly, define the following function: g:=(n,k)->`if`(k=0,n,n^2); g(3,0) + g(3,1) + g(3,2); => 21 g(3,0) + sum(g(3,x),x=1..2); => 21 sum(g(3,y),y=0..2) => 27
    Hi Is there any way by maple to determine the real roots of the plolynomial of order 6 R:= 3*alpha^6-6*alpha^5*delta+(6*delta*a-c_p+mu^2-4*a^2)*alpha^4+mu^2*(6*delta*a-c_p+mu^2-4*a^2)*alpha^2-6*delta*alpha*mu^4+3*mu^6 based on the constants parameters mu, a, delta and c_p. The only information about this polynomial I found is that R has even number of real solutions. This is because mu^6*R(alpha)-R(mu^2/alpha)=0 Thanks Sayed
    First 252 253 254 255 256 257 258 Last Page 254 of 306