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
  • Hi, When I click on the link titled 'here' in "Post a new comment" -> "Input Format" -> "Filtered HTML" -> "Allows use of and tags to enter 2D math here for help", I get a blank page http://www.mapleprimes.com/node/add/about/posting/math Does anyone know where I could get the relevant information? TIA, -- Jean-Marc
    When I click on the "buttons" titled "About" or "Help" (on the top-right part of MaplePrimes pages), I get the following error message: "Access Denied Sorry, it looks like you do not have sufficient permissions to access this page [...]" Can someone else access the required pages or is it just me (something wrong with my account, perhaps)? (I use Firefox 2.0, Windows XP SP2, and I was logged into my MaplePrimes account when I tried.) Regards, -- Jean-Marc
    Concerning custom indexing functions it seems that there is nothing analogous to TypeTools:-AddType(...), with which you can define new types as
    TypeTools:-AddType(name,handler);
    
    where, most importantly, name may be a variable. How can something similar (i.e., the name being given by a variable) be accomplished for new indexing functions when the only available option for defining those seems to be something like
    `index/name` := proc()
       # something
    end proc;
    
    where name cannot be a variable?
    I have Maple 11 installed on PC running on Vista, the classical version works fine, but the standard version doesn't. In fact I'm not even able to open it. I've tried uninstalling Maple 11 to reinstall it after but the uninstallation process doesn't run neither. I also tried reinstalling Maple 11 over my existing installation but the installation process shuts because Maple Reader is already installed. Now Maple 11 doesn't even display in my list of installed programs. How to get that fixed?
    hari ini hari ahad.. saya kene kejut oleh razie.. die kate "ko lambat ke cepat..datang jugak".. kak site plak call"wei..cepat la datang...dr arsmah dah mengamuk".... setelah penat bertungkus lumus bersiap(walaupun tak mandi) aku pun sampai la kat fakulti kul 11 pagi(lambat 3 jam) cepat la abes bengkel nie next week nak kene present plak
    hi..im a student from malaysia..
    I realize that there is a small issue with maple. first I enter the following int(x^n,x) and I have the result x^(n+1)/(n+1) But this is correct only if I tell maple that n is not -1. Now I would that maple give a piecewise function as a solution to the above integral. Similarly, issue the command solve(sin(x)=0,x) and maple gives the answer 0. Well, that again is not right unless I specifically tell maple that I want my answer in [0,pi/2]. The same issue arises with other computations too. The CAS, Mupad 4.0 handles each of the above scenarios correctly.
    How can I use an 'if clause function' in a summation? Suppose we have codes as follows: > Q[0]:=[0,0]:Q[1]:=[1,0]: > len:=A->sqrt(A[1]^2+A[2]^2): > kappa:=proc(y) local h;h:=[0,0];if y=h then 5; else 1/len(y);fi;end; > s:=R->sum(kappa(R-Q[n])*e(Q[n]),n=0..1): > s([1,0]); Error, (in NumericRange) summand is singular in the interval of summation It seems that when kappa comes into a summation form, it couldn't run the 'if clause'. What is my error in writing these codes?
    Evaluate: lim [1/x * ( (a^x - 1) / (a-1) ) ] ^ 1/x x->infinity where a > 0 and a is not equal to 1
    The tabbing nuisance, as earlier reported, is driving me crazy; it keeps popping up all the time. Not only when copy-pasting lines of codes to some new execution group, but also when saving, closing, and reopening the document. Please, help me by either telling me if you experience the same nuisances, or, better, how to circumvent these.
    Following an idea of Peter Jäckel ("Probably the most complicated trivial issue in financial mathematics: how to compute Black's implied volatility robustly, simply, efficiently, and fast") it is shown, how an initial guess has to be taken to backout volatility from given option prices - with an astonishing good quality. The original uses more numerical computations, which I replace by Lambert's W function, Maple is of great help for that. In a second part the guess is refined to a numerical solution using Newton's method, where only some steps are needed to achieve machine precision: Through Lambert's function and an appropriate scaling about 3 steps are enough by using a higher order method.
    In Maple 11 I use 'Maple notation' (as opposed to the new option '2-D Math Notation'), partly because I'm used to that from Maple 9.5, and partly because only in 'Maple notation' tabbing can be used (to format longer codes nicely). But it seems to me that Maple 11 cannot get the formatting correctly. An example: 1. Type the following code (where the second line is tab-indented):
    for a from 1 to 4 do
    	print (a):
    end do:
    
    2. Copy-paste this code to a new execution group. Now the problem is the following: Pressing the End-button on the keyboard, the end of the print-line (in the copy-pasted code) cannot be reached. Only after having manually removed the tab-indentation and reinserted it again can the end of the line be reached.
    Consider the following two codes: Code 1:
    restart:
    with(LinearAlgebra):
    M1,M2 := Vector(2,fill=Matrix(4,4))$2:
    M1[1] := M1[1] + IdentityMatrix(4):
    M2[1] := M2[1] + IdentityMatrix(4):
    M1[1];
    
    Code 2:
    restart:
    with(LinearAlgebra):
    M1,M2 := Vector(2,fill=Matrix(4,4)),Vector(2,fill=Matrix(4,4)):
    M1[1] := M1[1] + IdentityMatrix(4):
    M2[1] := M2[1] + IdentityMatrix(4):
    M1[1];
    
    According to my knowledge they ought to give identical output: the 4-dimensional identity matrix. But they don't. The first code gives twice that, as if M1[1] and M2[1] reference the same object in memory. The second code gives the correct answer.
    It's a new day, but not a new problem. Yesterday I asked about solving inequalities with abs. Today I am looking at solving an equation with abs. Try the following:
    restart;
    q :=  sin(x)/x - 1:
    test4 := y -> [ y,
                    solve( q=y, x ),
                    [solve( abs(q)=y, x )],
                    fsolve( q=y, x ),
                    fsolve( abs(q)=y, x ) ]:
    test4(  0  );
    test4( 0.1 );
    test4( 0.5 );
    test4( 1/2 );
    test4(  1  );
    
    [                         /sin(x)           \                -13]
    [ 0,   0, [0],      fsolve|------ - 1 = 0, x|, 1.869896012 10   ]
    [                         \  x              /                   ]
    
    I have a project where I'm trying to establish the identification of systems of equations (usually 10 or so equations). The systems can be under- exactly- or over-determined. If over-determined, I would like to know what constraints would need to be made to identify the system. For example, with the system: x + y = a x - y = b 2x + 2y = c Is there a way to have Maple return that c = 2a? Also, in some cases when the system is under-determined I get parametric solutions but in other cases I get {} (which is the same result returned for over-determined equations). Does anyone know
    First 226 227 228 229 230 231 232 Last Page 228 of 306