Alec Mihailovs

Dr. Aleksandrs Mihailovs

4415 Reputation

20 Badges

17 years, 32 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

@Christopher2222 

You could also use Worksheet:-DisplayFile and ?Worksheet:-Display .

Alec

@Christopher2222 

You could also use Worksheet:-DisplayFile and ?Worksheet:-Display .

Alec

@Tom 4 

Kinda a long vacation.

Alec

The mserver's pid can be found using Sockets:-GetProcessID();

Also, the PIDs can be found using ssystem("tasklist"); which can be also filtered - for example,

ssystem("tasklist /fi \"imagename eq cwmaple.exe\"");

  [0, "
        Image Name                     PID Session Name        Ses\
        sion#    Mem Usage
        ========================= ======== ================ ======\
        ===== ============
        cwmaple.exe                   1172 Console                \
            1     12,124 K

        "]

I don't have Windows XP to test. I would guess that the taskkill should work in Windows XP Professional. It might not work in the XP Home Edition (which is needed to be slightly upgraded to be able to do that).

Yes, taskkill in that format that I posted will close all Standard Maple windows and associated with them mservers (because of the /t switch). If 2 or more instances of Maple are working, one of them can be closed by using its pid, but that won't work for several worksheets opened in one Maple instance, I think - I don't think that they have different pids.

Alec

The mserver's pid can be found using Sockets:-GetProcessID();

Also, the PIDs can be found using ssystem("tasklist"); which can be also filtered - for example,

ssystem("tasklist /fi \"imagename eq cwmaple.exe\"");

  [0, "
        Image Name                     PID Session Name        Ses\
        sion#    Mem Usage
        ========================= ======== ================ ======\
        ===== ============
        cwmaple.exe                   1172 Console                \
            1     12,124 K

        "]

I don't have Windows XP to test. I would guess that the taskkill should work in Windows XP Professional. It might not work in the XP Home Edition (which is needed to be slightly upgraded to be able to do that).

Yes, taskkill in that format that I posted will close all Standard Maple windows and associated with them mservers (because of the /t switch). If 2 or more instances of Maple are working, one of them can be closed by using its pid, but that won't work for several worksheets opened in one Maple instance, I think - I don't think that they have different pids.

Alec

New upgrade doesn't seem to fix any of the problems, just added a few new ones - comments text disappearing at first time posting it, for instance.

Downvoting removed - but it wasn't a problem recently.

Did anybody notice any improvement in search?

After staying for few hours on this site, my Firefox uses more than 1GB memory, and every page reports tons of errors - 93 now on this page and increasing. IE still can't be used on this site.

Spam continues with abraham posting as gaenor now. A good thing is that I can delete it though.

Alec

I think, the messages disappear when they are comments to somebody's answer with the username in blue starting with the @ sign at the top of them - then only that blue username is showing after the first submit.

Alec

@Markiyan Hirnyk 

The origin of the formula is the definition of the expected value of a function on a probability space as the integral of that function over the probability space with respect to the probability measure.

In this case - the probability space is a product of 2 unit cubes (or hypercubes) - one for each point, and the probability measure, being the product of uniform distributions, is dx1 dx2... which gives exactly the formula for Δ(n).

Alec

@Markiyan Hirnyk 

The origin of the formula is the definition of the expected value of a function on a probability space as the integral of that function over the probability space with respect to the probability measure.

In this case - the probability space is a product of 2 unit cubes (or hypercubes) - one for each point, and the probability measure, being the product of uniform distributions, is dx1 dx2... which gives exactly the formula for Δ(n).

Alec

I got a different plot using that code.

Alec

I got a different plot using that code.

Alec

@Alejandro Jakubi 

I'm not saying that something is wrong in using applyrule. Just it was not needed in the original example - evalc worked just fine there.

Certainly, evalc has restrictions - it assumes automatically that all variables in the expression are real.

Alec

@Alejandro Jakubi 

I'm not saying that something is wrong in using applyrule. Just it was not needed in the original example - evalc worked just fine there.

Certainly, evalc has restrictions - it assumes automatically that all variables in the expression are real.

Alec

@Alejandro Jakubi 

Well, it works with assuming A < 0 as well.

evalc automatically assumes that A is real though.

Using applyrule this way is not much different than doing simplifications by hand.

Alec

@Alejandro Jakubi 

Well, it works with assuming A < 0 as well.

evalc automatically assumes that A is real though.

Using applyrule this way is not much different than doing simplifications by hand.

Alec

1 2 3 4 5 6 7 Last Page 3 of 180