cottrell

97 Reputation

5 Badges

17 years, 320 days

MaplePrimes Activity


These are questions asked by cottrell

I have some expression given as a "RootOf": i.e.

 

sol := RootOf(p(_Z));

 

How do I grab a hold of the polynomial inside?  This should be in the RootOf help file ... am I missing it?

I want to open a file, in maple.  I do not want to open maple, and then open the file. 

More specifically, how do I

a) run something like:

maple -x -f myfile.mw

so that xmaple starts and opens directly to the file myfile.mw.  Ideally if xmaple is already running, it will hopefully just spawn a new tab.

b) set this up as a "Preferred application" in Fedora and in Ubuntu.

I think a) may solve b).

 

There must be an easy way to resolve this problem, I just haven't found it yet. > restart;with(LinearAlgebra); > A:=pp->eval(Matrix([[a1(p),0],[0,a2(p)]]),p=pp):A(p); [a1(p) 0 ] [ ] [ 0 a2(p)] > Eigenvectors(A(p)); Error, (in LinearAlgebra:-LA_Main:-Eigenvectors) expecting a Matrix of rationals, rational functions, algebraic numbers, or algebraic functions > Is there a way to make the LinearAlgebra routines treat a Matrix function just like a regular Matrix? thanks
I would like to apply a relation such as f(x,a)*f(x,b) = (f(x,a)+f(x,b))/c (where x,a,b are any real number say) to simplify an expression such as f(y1,a1)*f(y2,a2)*a3*f(y1,a4)*f(y2,a5) to a3*( f(y1,a1)+f(y1,a4) )*( f(y2,a2)+f(y2,a5) )/c/c The only way I can see to do this is to struggle to get the function in the `right' order with no constants between them, and then do a substitution for every variable triple (y1,a1,a2) that occurs. There must be a better way. I've looked around the forums but I don't even know what to look for really so any suggestions of where to look would be great.
Page 1 of 1