Alec Mihailovs

Dr. Aleksandrs Mihailovs

4495 Reputation

21 Badges

20 years, 341 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

It looks as if less than 10000 digits of Pi are stored in Mathematica, and others are calculated,

In[4]:= Timing[RealDigits[Pi, 10, 1, -1000]]

Out[4]= {8.94467*10^-19, {{9}, -999}}

In[5]:= Timing[RealDigits[Pi, 10, 1, -10000]]

Out[5]= {0.016, {{8}, -9999}}

Alec

The standard in programming way used in various programming languages including C and Python for finding the kth digit (from the end) of a non-negative integer x is

F:=(x,k)->iquo(x,10^(k-1)) mod 10;

For the last digit, with k=1, that reduces to x mod 10, and for the first digit, with k=length(x), that reduces to iquo(x,10^(length(x)-1)).

See also earlier thread.

Alec

The standard in programming way used in various programming languages including C and Python for finding the kth digit (from the end) of a non-negative integer x is

F:=(x,k)->iquo(x,10^(k-1)) mod 10;

For the last digit, with k=1, that reduces to x mod 10, and for the first digit, with k=length(x), that reduces to iquo(x,10^(length(x)-1)).

See also earlier thread.

Alec

I'd like to try, but I can't install 32-bit Maple in addition to 64-bit in Linux because of the licensing problem. I had only 2 licenses, and I used both of them - one for Linux, and one - for Windows.

Alec

Still, Classic looks and feels better.

Alec

Still, Classic looks and feels better.

Alec

Perhaps, I do it wrong. I just tried in the worksheet mode Tools-Options-Display. Changed Input display to Maple notation and tried to type abc_d. The input was black, italicized, and the d has appeared in the subscript.

Edit: Oh, I get it. I changed the Typesetting level to Maple Standard, and the results are much better. Still, it is hard to stand the ugly interface, but at least it is possible to type something.

Alec

Perhaps, I do it wrong. I just tried in the worksheet mode Tools-Options-Display. Changed Input display to Maple notation and tried to type abc_d. The input was black, italicized, and the d has appeared in the subscript.

Edit: Oh, I get it. I changed the Typesetting level to Maple Standard, and the results are much better. Still, it is hard to stand the ugly interface, but at least it is possible to type something.

Alec

I use Maple only for this site and Maple wiki posts, and if I want to post a plot, I do it in Standard - that's the only thing that I use it for. Since it is practically impossible to enter the commands in Standard, I type them in Classic and then copy and paste in Standard. Since 64-bit Linux doesn't have Classic, I don't use Maple in Linux - I am going to try the Dave Linder's trick tonight though to see if it works with Maple 12.

Anyway, I am sometimes wondering at myself - why I continue spending my (valuable) time on Maple - it's like an addiction. I'll try to stop doing that (are there any rehabs?)..

Alec

I use Maple only for this site and Maple wiki posts, and if I want to post a plot, I do it in Standard - that's the only thing that I use it for. Since it is practically impossible to enter the commands in Standard, I type them in Classic and then copy and paste in Standard. Since 64-bit Linux doesn't have Classic, I don't use Maple in Linux - I am going to try the Dave Linder's trick tonight though to see if it works with Maple 12.

Anyway, I am sometimes wondering at myself - why I continue spending my (valuable) time on Maple - it's like an addiction. I'll try to stop doing that (are there any rehabs?)..

Alec

Experienced users avoid it.

Alec

Experienced users avoid it.

Alec

Both BarChart and ColumnGraph produced plots in my Maple 12.02, both in Classic and Standard, as

X := ["web" = 16, "philosophy" = 4, "document" = 9, 
"representation" = 47, "interactivity" = 4, "translation" = 15, 
"usability" = 11, "framework" = 7, "search" = 19, 
"communication" = 7, "maintenance" = 5, "education" = 9, 
"library" = 12, "process" = 20, "case-study" = 38, 
"practice" = 18, "markup" = 28, "extraction" = 22, 
"environment" = 9, "presentation" = 26, "publishing" = 3, 
"natural-language" = 8, "mechanized" = 30, 
"integrity" = 8, "organization" = 14];

Statistics:-BarChart(X);

Statistics:-ColumnGraph(X);

The results were not satisfactory though. Certainly, Excel or other statistics software would produce a better diagram.

Also, the ['interactive'] option worked neither in BarChart nor in ColumnGraph - a bug?

Alec

PS Frankly, people trying to use Maple for plotting always surprized me. I tried just now to name one program with worse plotting than Maple has, and I couldn't. -Alec

Both BarChart and ColumnGraph produced plots in my Maple 12.02, both in Classic and Standard, as

X := ["web" = 16, "philosophy" = 4, "document" = 9, 
"representation" = 47, "interactivity" = 4, "translation" = 15, 
"usability" = 11, "framework" = 7, "search" = 19, 
"communication" = 7, "maintenance" = 5, "education" = 9, 
"library" = 12, "process" = 20, "case-study" = 38, 
"practice" = 18, "markup" = 28, "extraction" = 22, 
"environment" = 9, "presentation" = 26, "publishing" = 3, 
"natural-language" = 8, "mechanized" = 30, 
"integrity" = 8, "organization" = 14];

Statistics:-BarChart(X);

Statistics:-ColumnGraph(X);

The results were not satisfactory though. Certainly, Excel or other statistics software would produce a better diagram.

Also, the ['interactive'] option worked neither in BarChart nor in ColumnGraph - a bug?

Alec

PS Frankly, people trying to use Maple for plotting always surprized me. I tried just now to name one program with worse plotting than Maple has, and I couldn't. -Alec

There is an undocumented kernelopts entry setsort,

kernelopts(setsort);
                                  1

However, it cannot be changed during a session,

kernelopts(setsort=0);
Error, kernelopts cannot set setsort value

Still, since it can be restored to the traditional set ordering using the commandline option --setsort=0, the changes are not that dramatic.

Alec

First 66 67 68 69 70 71 72 Last Page 68 of 180