Items tagged with bug bug Tagged Items Feed

grrrrrrrrrrrrr: int(x^x)...

June 29 2010 Axel Vogt 4240 Maple
  restart; interface(version); Digits:=14;

    Classic Worksheet Interface, Maple 12.02, Windows, Dec 10 2008 Build ID 377066

  f:= x -> (x+1)^(x+1);
  simplify(int(f(x),x)):
  F:=unapply(%,x);
                                        (x + 1)
  restart; interface(version);
  Digits:=14;
  Classic Worksheet Interface, Maple 12.02, Windows, Dec 10 2008 Build ID 377066

                             Digits := 14

  Psi(1/8):
  %=convert(%, Sum); # compare the FunctionAdvisor as well ...
  evalf(%);
 
  ...

Below is a small tidbit of code that operates on the matrix vel and updates its values.  When I check the values of the indices in the matrix, every single element, barring vel(1,1), vel(1,2), and vel(1,3), is equal to 0.

vel := Matrix(3, 241, datatype = float[8]);

step := 0.1;

vel(1, 1) := 5; vel(2, 1) := 95; vel(3, 1) := 3;

UpdateAllVelocities := proc (i, vel::Matrix, accel::Matrix, step);

#I understand these calls are quite pointless......

Are the following paragraphs from the new Mapleprimes Style Guide supposed to contain marked up 2DMath or interpreted Maple result, because right now they don't.

See http://www.mapleprimes.com/help/styleguide

"For example, if you enter <maple>x^2/y^2</maple> you will get this image: x^2/y^2

Any Maple syntax will appear, so you can get complicated and enter this: <maple>sum(cos(x^2)/sin(exp(y)),x=1..infinity)</maple>
which then appears as this image: sum...

In all versions prior to and including Maple 13 the Histogram default incorrectly displays the data.  Has this been fixed in 14?

eg.

a:=[1,2,3,4,5,6,7,8,9,8,9,7,6,5,4,2,2]

with(Statistics):
Histogram(a,frequencyscale=absolute,binwidth=1)

Clearly the...

I just finished submitting an SCR: the link to spec_eval_rules at the bottom of the ?procedure help page doesn't work in the Online Help (it works in Maple itself, though). And I can't get ?spec_eval_rules to work directly, either, in the Online Help.

Also I was wondering, how about a badge for a certain number of SCRs?

convert(LambertW(x),Int):
series(%,x):
x;
                                  x~

about(x);
Originally x, renamed x~:
  Involved in the following expressions with properties
    -LambertW(_Z12,abs(x)) assumed RealRange(-infinity,Open(0))
    -LambertW(_Z18,-abs(x)) assumed RealRange(Open(0),infinity)
    -LambertW(_Z20,-abs(x)) assumed RealRange(Open(0),infinity)
    -LambertW(_Z22,abs(x)) assumed RealRange(-infinity,Open(0))
    -LambertW(_Z24,abs(x)) assumed RealRange(-infinity,Open(0...
  restart; interface(version);
    Classic Worksheet Interface, Maple 12.02, Windows, Dec 10 2008 Build ID 377066

  # intended to be used for Reals
  p:= y -> PIECEWISE([-1, y < 0],[1, 0 <= y]);

                               { -1        y <...

equation label side-effect...

September 03 2009 acer 10211 Maple

The following is strange. By acting on an equation label (in the Standard GUI) a subsequent global reference gets printed as if it were a module reference.

> restart:

> x:=ScientificConstants:-Constant(c);
                              x := Constant(c)

> ScientificConstants:-GetValue(x);
                                  299792458

> y:=:-Constant(hbar);
                             y := Constant(hbar)

> ScientificConstants:-GetValue(y...

saving localness...

September 03 2009 acer 10211 Maple

Not all objects can be saved to .m and retrieved sucessfully in a restarted or new session. This is the case not only for "escaped" locals, but also for some objects implemented as function calls of a module member.

> restart:

> t := ScientificConstants:-Constant('c'):

> type(t, specfunc(anything,ScientificConstants:-Constant));
                                     true
 
> ScientificConstants:-GetValue(t...

I just noticed that in Maple 12 (and 13) the Layout palette's subscripted atomic identifier entry had its hover-over tooltip changed. By hover-over I mean the text based tooltip that appears after a slight delay when the mouse point is allowed to hover over the entry.

In Maple 11 it showed as subliteral which, while perhaps to entirely clear to everyone, was at least accurate. It meant: the unique subscripted name.

For example, x-subscript-y, as a subliteral...

  restart; Digits:=14;     # using Maple 12.02
  J:=Int(arctan(z)^2/(1+4*z^2),z=0..infinity);


  evalf(J);
                           0.40325004753375

  value(J); evalf(%); Re(%);

                ...
Int(exp(-1/100+1/1000*I*u)/(4*u^2+1)*exp(1/2*I*u),u = 0 .. 1)

The integrand has positive real and imaginary parts over the
range (just use plot it) and numerical evaluation gives it as
0.53434219089626 + 0.98249392969436e-1 * I (using Digits:=14).

A symbolic integration and using evalf gives the same.

Now writes this as

  tstData:=[a=0, b=1, m=1/2, b0 = -1/100, b1 = 1/1000];

  J:=Int(exp(b0+b1*u*I)/(4*u^2+1)*exp(u*m*I),u = a .. b);
  eval(J,tstData...
I want the asymptotics for EllipticF(z,k) w.r.t. z (yes, not k).

My example is F:=I*EllipticF(c*I/x,k), c=2-2^(1/2),k=3+2*2^(1/2)
and I want the limit x ---> 0+.

  MultiSeries:-limit(E,x=0);

results in 0.54... + 0.54...*I (real = imag, positive value).

  MultiSeries:-series(E,x,3);

gives (after clearing the output) the same for setting x=0.


For Numerics my setting is Digits:=24 and eps:=1/10^18.

  subs(c=2-2^(1/2), k=3+2*2^(1/2), F...
  Int(phi(u-a*I)*exp(k*u*I),u = -infinity .. infinity);
  Change(%, u-a*I = s, s); subs(s=u,%): expand(%): combine(%,exp);

                   infinity
                  /
                 |
   ...
4 5 6 7 Page 6 of 7