Alec Mihailovs

Dr. Aleksandrs Mihailovs

4495 Reputation

21 Badges

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

As far as I recall, the default is 10 in GUI and 25 in the command line.

Alec

Some of my old dreams - such as entering an excercise from an algebra textbook (in the exact form as it appears there) and getting a step-by-step solution, became realized in Wolfram Alpha. That's fantastic! Try

Solve x^2+2x-3=0

for example, and click Show steps after getting the page.

Alec

Try :-LinearAlgebra instead of LinearAlgebra.

Another solution - execute

unwith(Maplets[Examples]);

after you got your file.

It would be better to avoid using with(Maplets[Examples]) at all - then that problem wouldn't appear - it appears because Maplets[Examples] has LinearAlgebra subpackage.

Alec

Try :-LinearAlgebra instead of LinearAlgebra.

Another solution - execute

unwith(Maplets[Examples]);

after you got your file.

It would be better to avoid using with(Maplets[Examples]) at all - then that problem wouldn't appear - it appears because Maplets[Examples] has LinearAlgebra subpackage.

Alec

Then it's certainly a good practise of copying and pasting. A lot of programmers work that way.

Alec

Then it's certainly a good practise of copying and pasting. A lot of programmers work that way.

Alec

Kernel options (some) are accessible through

Maplets:-Examples:-KernelOpts();

but interface seems to be not implemented that way.

Alec

 

Replace 6 with 2*nop.

But if you already imported M as a matrix, it would be ,probably, better to use that matrix (as acer suggested) instead of reading the text file again.

Without importing the matrix, the scanning can be done as

fd:="foo.txt":
v:=fscanf(fd,"%{3}dc"):
for i while v<>0 do
    p[i]:=v[];
    n[i]:=fscanf(fd,"%{3}dc")[];
    v:=fscanf(fd,"%{3}dc") 
od:
close(fd);

Alec

Replace 6 with 2*nop.

But if you already imported M as a matrix, it would be ,probably, better to use that matrix (as acer suggested) instead of reading the text file again.

Without importing the matrix, the scanning can be done as

fd:="foo.txt":
v:=fscanf(fd,"%{3}dc"):
for i while v<>0 do
    p[i]:=v[];
    n[i]:=fscanf(fd,"%{3}dc")[];
    v:=fscanf(fd,"%{3}dc") 
od:
close(fd);

Alec

Yes, it's so called PSL(2), where P stands for 'projective' - 2 matrices define the same transformation if they are proportional.

Alec

Yes, it's so called PSL(2), where P stands for 'projective' - 2 matrices define the same transformation if they are proportional.

Alec

Yes, that's how it works - either maple -cw, or xmaple -cw in the terminal. If you want to start it by clicking, you can create a launcher on the desktop, with one of these 2 choices (with full paths), then clicking on it will start the Classic Worksheet - there is no a separate executable for it.

Alec

It should start with -cw option, either as

maple -cw

or using xmaple instead of maple (but with the same -cw option).

Alec

It works in the command line. However, none of that is working in Standard Maple. 

The first one, with !, gave me Error, missing operator or `;`

The system command showed a java window with exit value 0 and no answer.

The ssystem command produced the following result:

[0, ""obase=12;scale=11;sqrt(2)"|bc"]

Alec

It works in the command line. However, none of that is working in Standard Maple. 

The first one, with !, gave me Error, missing operator or `;`

The system command showed a java window with exit value 0 and no answer.

The ssystem command produced the following result:

[0, ""obase=12;scale=11;sqrt(2)"|bc"]

Alec

First 59 60 61 62 63 64 65 Last Page 61 of 180