Alec Mihailovs

Dr. Aleksandrs Mihailovs

4455 Reputation

21 Badges

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

Social Networks and Content at Maplesoft.com

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 answers submitted by Alec Mihailovs

Also, in the File menu, you can click Export As and then LaTeX (in Standard Maple, select LaTeX in the "Files of type").

Alec

Also, you could use Maple Calculator instead of the Standard or Classic GUI (if you are in Windows) and set Degrees in Settings.

Alec

Also, you can click on the A with a dot over it in the Accents palette, then type, say, x, and click the right arrow to continue the expression.

Alec

Take a look over the worksheet. You'll see buttons "Times New Roman", "12", and B (which means bold), I (italics), U (underline). Clicking on them, you can choose any other font installed on your computer instead of Times, make it larger, bold, etc.

Also, if you find what you like, you can make it permanent using Styles entry in the Format menu (at the very top).

Or just use Classic, like everybody else.

Alec

Not because of that. For example,

pade(1+x^5/(1-sin(x)^3),x,0,4,3);
Error, (in fsolve) invalid input: 
select expects 2 or more arguments, but received 1

gives the same error. The problem is that one of the equations (close to the end) looks like 1=0, which doesn't have solutions.

Alec

PS There are many ways to prove in Maple that 1=0, but that is a different topic. -Alec

If your samples are not very large, then the following procedure can be used,

S:=proc(lambda,kmin,n)
local f,z,U;
uses Statistics;
z:=evalf(Zeta(0,lambda,kmin));
f:=x->trunc(fsolve(Zeta(0,lambda,t)=(1-x)*z,t=kmin));
U:=RandomVariable(Uniform(0,1));
map(f,Sample(U,n))
end:

For example,

S(2,1,10);
                   [1, 1, 1, 5, 1, 1, 1, 20, 1, 4]
S(5,20,10);
               [27, 20, 29, 20, 23, 21, 22, 26, 20, 21]

time(S(2,1,1000));
                                16.395

Alec

The asymptotic has a logarithmic term, ln(x)/x, so it can not be written as a+b/x+c/x^2+...

Alec

In general, I would like to be able to insert objects (as well as to do any other operations available from the menus) programmatically.

For instance, it would be convenient if pictures can be inserted by typing something like insert("image.gif") instead of using menus. 

Alec

To insert labels, one can either click Ctrl+L, or click Insert (in the menu at the top), and then - Label...

Alec

Instead of converting series to polynom, you could convert it to ratpoly, which would give the answer immediately,

convert(series(exp(x),x,8),ratpoly,4,2);
                                2         3          4
               1 + 2/3 x + 1/5 x  + 1/30 x  + 1/360 x
               ---------------------------------------
                                           2
                         1 - 1/3 x + 1/30 x

If you need that for writing a function in C, or other programming language, take a look at the Geddes method implemented in `convert/ratpoly/geddes`,

showstat(`convert/ratpoly/geddes`);

Alec

Sure you can. Check the wikipedia article, for example. It has a lot of links.

In Maple, ifactor is used. For example,

ifactor(120);
                               3
                            (2)   (3)  (5)

Alec

A procedure, probably, can be written for that.

From other point of view, that can be done right only with a proper domain definition - which is not that easy to do in Maple.

Alec

Also, one can use

x0,y0:=0,0:
plots:-display(plottools:-ellipse([x0,y0],1.75,1.35),     
    scaling=constrained);

and/or

geometry:-ellipse(p,(x-x0)^2/1.75^2+(y-y0)^2/1.35^2 = 1,[x,y]):
geometry:-draw(p);

Alec

In the Mathworks press release replacing Maple with Mupad was called "an enhancement".

Mupad has a lot of advantages. It is included together with its nice GUI and nice GUI help, while only Maple kernel and some libraries were included earlier. Mupad is more robust and has nice graphics, which can be exported in png, svg, and other formats unavailable from Maple. Its combinatorial package (which is not included, but can be downloaded from sourceforge and installed) is very good. Symbolics also is pretty good. In particular, new operators can be defined with their priorities (from 1 to 1999), which Maple also can't do, etc.

While Maple development last few years concentrated on new Java interface with 2D-input, and using external libraries for numerics - which is useless for Matlab, having pretty good numerics itself, not using 2D-input, and not including Maple's Java GUI, Mupad's development continued in symbolics, which is exactly what Matlab needed in the Symbolic toolbox. 

Maple (if you have it) still can be used from Matlab, too.

Alec

A very beautiful calculation!

I started with doing the same thing yesterday - differentiating over R, but without assumtion R>0, which gave a weird limit. Looking at it, I didn't continue with that, but switched to calculating series and using gfun, which was fun, but not that effective.

Alec

First 43 44 45 46 47 48 49 Last Page 45 of 76