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

    I have problem with define external function with dll written in Visual Basic.

    Declaration of function is

    Hi there,

    fsolve fails me, for the first time. I have this very messy expression, which comes out of a cubic equation. It must have a zero. I plot it and the graph, smooth, shows a zero between 16.4 and 16.5, but maple's fsolve fails to find it, why's that? The slope of the function is very flat near the zero. I tried to tell maple the solution is between 16.4 and 16.5, to no avail.

    Any advice will be much appreciated. The following code tells it all.

    many thanks,

    Patrick.

    Hi, I have posted some Maple worksheet on MaplePrimes File Manager. Just a simple question, How do I delete uploaded files there ? Yasuyuki Nakamura

    As Demmel and others have noted, SVD is both more reliable and more expensive than QR as a method of solving rank-deficient least squares problems.

    SVD is the method that LinearAlgebra:-LeastSquares will choose when the Matrix has more columns than rows (n>m), unless instructed otherwise using the optional 'method' parameter.

    LinearAlgebra:-SingularValues always computes a full U and Vt. But for least squares computations, such as when n>m, this is not necessary. Including the smaller singular values may just be (re-)introducing noise. See here for more detail.

    Here's a 20x2000 example, using wrapperless external calling and the SVD routine dgesvd in the CLAPACK library. The effective speedup by using the Thin SVD for that 20x2000 least squares example is about a factor of 100 (ie, 2000/20), with a similar reduction in additional memory allocation.

    I am having problems using implicitplot.  I run this code and it worked and today I tried it again and it gives me the following:

    with(plots,implicitplot);

    implicitplot(0=int(erf(  (T-e*t)/sqrt(2)  )*t^2*exp(-t/2),t=0..infinity),e=0..1,T=0..10);

    Error, (in plots/implicitplot) invalid input: the following extra unknowns were found in the input expression: {t}

    The weird thing is that this worked before (took about 10min though) and now it isn't.  Any suggestions?

    Thanks

    May be that some other people want to use pattern-matching techniques in wrong ways or contexts. What I am interested in is much simpler and clear.

    I frequently see references to data being loaded from maplesoft.112.2o7.net -- what is that?  It's annoying because the page seems to have been loaded, but the browser is still active doing stuff, so that interaction is slower.  If this is not doing something really useful, could it be turned off?

    Using dsolve gives the incorrect solution unless you force it to use Laplace transforms. 

    Notice that Y5 is the correct solution, not the Y coming from dsolve.

    DE17:=diff(y(t),t$2)+y(t)=Dirac(t-Pi)+Dirac(t-2*Pi)+Dirac(t-3*Pi);
    Y:=dsolve({DE17,y(0)=0,D(y)(0)=0},y(t));
    plot(rhs(Y),t=0..6*Pi);
    with(inttrans):
    Y2:=laplace(DE17,t,s);
    Y3:=solve(Y2,laplace(y(t),t,s));
    Y4:=subs({y(0)=0,D(y)(0)=0},Y3);
    Y5:=invlaplace(Y4,s,t);
    plot(Y5,t=0..6*Pi);
     

     

    Anybody run into this problem before?

    I was playing with a problem from the Maple NG, one can state it as
      
      Int( arccos(x) / ( 1+x^4) , x=0 .. 1)
    
    Maple 11.02 gives a result, which numerical can not be valid.
    
    Using real (!) partial fractions (Maple uses decomposition over the
    complex, no?) I got a similar problem with denominator = parabola
    (and continuity over the integration interval):
    
      Int( arccos(x) / (x^2 - x * 2^(1/2) + 1), x = 0 .. 1)
    
    Some more and time-consuming consuming experiments reduces troubles
    to the following example, where symbolics are disproven by numerics:
    
    

    You have options to open tabs in separate windows or move existing multiple tabs into separate windows. 

    Can we add an option to combine tabs into one window? 

    A colleague recently showed me some strange behavior when trying to plot vertical lines. The following works to create the unit square:

    plot( [x=0,x=1,0,1], x=0..1, y=0..1, color=black, axes=none ); # OK
    
    

    But doubling the size in each direction does not produce a square:

    plot( [x=0,x=2,0,2], x=0..2, y=0..2, color=black, axes=none ); # BAD
    
    

    The vertical lines extend only up to y=1, not y=2 as requested. The next command shows that vertical lines at the boundary are treated differently.

    We are pleased to announce that the winner of the quarterly Maple Mentor Award for Jan.-Mar. 2008 is Jacques Carette, and the recipient of March's monthly award is Prof. Alejandro Jakubi. Jacques and Alejandro will receive prizes of their choice to thank them for their involvement with the MaplePrimes community. Congratulations to our winners!

    How do I change the default font used in Maple 12?  I'm in WinXP.

    As many of you have experienced, the maplet MathMLEditor, has some problem when it comes to interpret correctly the typing functions, even some functions with the help of the palette.

    I was trying to input this function : sin(4*x)+cos(2*x) but after moving form the unknown tag _XML_ error, I end up with misinterpretations of this function, to things like  4*sin(x)+cos(2*x).

    So, the comments in this blog tells that the better solution is to use a TextField to get the input function, but now I face this problem

    f := Get('txtFunction');
     

    First 204 205 206 207 208 209 210 Last Page 206 of 308