Alec Mihailovs

Dr. Aleksandrs Mihailovs

4495 Reputation

21 Badges

20 years, 335 days
Mihailovs, Inc.
Owner, President, and CEO
Tyngsboro, Massachusetts, United States

Social Networks and Content at Maplesoft.com

Maple Application Center

I received my Ph.D. from the University of Pennsylvania in 1998 and I have been teaching since then at SUNY Oneonta for 1 year, at Shepherd University for 5 years, at Tennessee Tech for 2 years, at Lane College for 1 year, and this year I taught at the University of Massachusetts Lowell. My research interests include Representation Theory and Combinatorics.

MaplePrimes Activity


These are replies submitted by Alec Mihailovs

Yes. Also, FlattenOnce can be used instead of Flatten.
Yes. Also, FlattenOnce can be used instead of Flatten.
Yes, I just checked ?updates, and Optimization seems to be added in Maple 9.5. In previous versions of Maple, something like that can be done,
max(op(map(max@op,convert(op([1,3],plot3d(p,0..2,0..1)),listlist))));

                         12.3596191406249912
or
max(op(ListTools:-Flatten(convert(op([1,3],plot3d(p,0..2,0..1)),listlist))));

                         12.3596191406249912
Yes, I just checked ?updates, and Optimization seems to be added in Maple 9.5. In previous versions of Maple, something like that can be done,
max(op(map(max@op,convert(op([1,3],plot3d(p,0..2,0..1)),listlist))));

                         12.3596191406249912
or
max(op(ListTools:-Flatten(convert(op([1,3],plot3d(p,0..2,0..1)),listlist))));

                         12.3596191406249912
Yes, courier is a fixed width font. Another solution is to use align=LEFT instead of align=RIGHT (with moving the horizontal coordinate to the right). In this case, font doesn't have to be changed.
Yes, courier is a fixed width font. Another solution is to use align=LEFT instead of align=RIGHT (with moving the horizontal coordinate to the right). In this case, font doesn't have to be changed.
Thank you, _________ Alec Mihailovs http://math.tntech.edu/alec/
Yeah, copying and pasting don't work quite right in 2D mode and I don't think they will with current 2D math implementation. The problem is that it is generated by an underlying MathML structure, and after copying and pasting the MathML pieces don't stick together in the right way. It should be possible to add a slash after pasting a numerator though. The trick is that the numerator should be selected (i.e. made blue) before hitting the slash key. Adding a slash between already pasted numerator and denominator is more difficult. The general idea is that normal work (with copying, pasting, and other editing) can be done with classical 1D Maple input. Then, when everything is working as it should in 1D mode, it can be converted to 2D for documentation and presentation purposes.
Classic Maple looks practically the same and the Standard Maple has some improvements - 2D input and the Document mode, so I wouldn't call it a downgrade. New Compiler is a great thing. There are a lot of improvements and additions in dsolve and pdsolve, such as Heun functions, for example. New Groebner package works much faster, etc. This site seems to be very promising. Top Maplesoft executives post their blogs and comments here and they seem to be paying attention to our concerns. If you posted the code that is not working, I am sure that the problem would be fixed in the next maintenance release, so the book's code will work again. An example of that is Problem with FunctionChart. Posted here - fixed in Maple 10.01. Another example is here.
My understanding is that the questions that you think that experienced users should know the answer - typically the questions answers to which can be found in Maple help pages - should go to How do I (Newbie) ... ? forum. More complicated questions should go to How do I ...? forum. "Possible errors in Maple" - probably, to Maple Commons forum. It is not in the FAQ, but it seems to be more or less clear from the forum descriptions on the Forums page. "A neat feature" is definitely good for a blog and in addition to that, could be also put in Maple Commons, I think. Thus far, Maplesoft support for this site was excellent - Maplesoft employees provided (or tried to provide) solutions for most of the problems. Usually they are active during working days of the week. So a problem posted during weekend, has to wait until Monday (or Tuesday if Monday is a holiday).
Underscores (and other special characters) can be entered using backslash, as \_. It is mentioned in the Quick Reference Card (Ctrl+F2). To get out of a fraction, a superscript, or a subscript, one can use the right arrow key. It took some time for me to get adjusted. Entering y''(0), for example, instead of (D@@2)(y)(0), is a certain advantage of the 2D mode.
My suggestion is to include everything that Magma, CoCoA, GAP, Macaulay2, and Singular have, and make it work faster than them. But seriously, Maple needs a lot of additions in abstract algebra, number theory, and combinatorics.
I noticed that the "red star" appears after editing a comment - that explains why some topics have red stars even if I read them already and they don't have new comments.
B appears not working not only with subtraction, but with addition and multiplication as well.
B(1+1+1+1+1+1+1+1+1+1);
                                  10
B(1111111111111111111111*1111111111111111111111111);
           11111011111111011111101111000000001000000000001
that is certainly wrong. That happens because of the automatic simplification, so B works the same way as if it was defined as
B:=`convert/binary`@rcurry(`convert/decimal`,2):
It works OK for addition of less than 9 numbers and for multiplication of numbers with less than 9 ones in their binary representation. For example,
B((10111+11010)*11101);

                             10110001101
is correct. That raises another question. Currently, AFAIK, there is no way in Maple to prevent automatic simplification (unless numbers are modified in some way, such as included in a string, or a name). It would be a great feature, if it was a way to stop automatic simplification - something like an environmental variable _EnvAutoSimp that is true by default, but can be changed to false. The original definition of B should work after that. I thought it is possible to set Digits:=30 for the module (BinaryArithmetic), isn't it?
I didn't save the worksheet. I can reproduce it though. First,
s:=solve({tan(X/2) = Vt/Hr,trigsubs(tan(X))[3] = (V-Vt)/Hl},{Vt,X});

                      3          2
  s := {Vt = RootOf(_Z  Hr - V _Z  + (-2 Hl - Hr) _Z + V) Hr,

                              3          2
        X = 2 arctan(RootOf(_Z  Hr - V _Z  + (-2 Hl - Hr) _Z + V))}
So the solution can be obtained if we solve the cubic equation. Here is the procedure for finding trigonometric form of solutions of cubic equations,
TrigSol:=proc() local a0,a1,a2,i,Q,R,theta;
a0,a1,a2:=coeff(args,i)/coeff(args,3)/3$i=0..2;
Q:=sqrt(a2^2-a1);
R:=3/2*(a2*a1-a0)-a2^3;
theta:=arccos(R/Q^3);
2*Q*cos((theta+2*Pi*i)/3)-a2$i=-1..1
end:
Using it, find the solutions of the cubic equation in s,
simplify([TrigSol(op(indets(s,RootOf)[1]),_Z)],assume=positive);
Multyplying by Hr, we get the formula for Vt.
First 171 172 173 174 175 176 177 Page 173 of 180