MaplePrimes Commons General Technical Discussions

The primary forum for technical discussions.
I have twelve 4x4 matrices with specific complex-valued entries. I would like to know if they are linear independent over the reals. Is there some feature of Maple that enables me to do that easily? I've tried adding together all the matrices, each separately multiplied by an unspecified algebraic number, and then to use solve(). But I don't trust the result, partly because it becomes rather tedious, partly because the package RealDomain, with which I've no experience, has to be invoked in order to avoid producing a false solution of linear dependence over the complex numbers. I've also tried defining a 12x12 matrix consisting of bilinear traces of the matrices, analogous to the Cartan matrix in Lie algebra theory, and then taking the determinant to test for degeneracy.
Why is something like
V := Vector(2,(i) -> Matrix(3,3));
not equivalent to
V := Vector([Matrix(3,3),Matrix(3,3)]);
which raises the error "Error, (in Vector) initializer list contains elements of width > 1 and depth > 1", but instead equivalent to
V := Vector([[Matrix(3,3)],[Matrix(3,3)]]);
Why the need for extra pairs of [...]?
The following returns 0, which seems less than ideal to me: assume(m::integer,n::integer); int( cos(m*x) * cos(n*x) , x = 0..2*Pi ); Is this intentional or unavoidable - or is it something that could usefully be improved? Toby
Why can't maple integrate exp(arcsin(x)), it is possible to do by hand without a lot of effort.
After successfully installing maple 11 on my computer running Ubuntu I start maple by executing the xmaple command. That will give the splash screen and later start a window which is just grey with no menu bars. In the end the startup tip dialog appears and when I select anything from there it disappears and nothing happens after that. The window stays gray. If I press the location of the window where the menu bar should be (also press F10) I get the menu items. Selecting any of them, like options, will invoke a dialog which is fine but there is nothing happening when opening a file or wanting to run an example or such.
Hi, recently I posted a question regarding the problem that by calling same procedure with same parameters I was getting different results. http://www.mapleprimes.com/forum/function-in-maple-returns-me-different-results#comment-10172 I was playing little bit more with this problem and I found another problem / bug. If I define generalized Gaussian probability density function and set parameters such that it is Gaussian probability density function (definition involves absolute value), my procedure returns number in order 10^131. If I call the same procedure with normally defined Gaussian probability function (definition does not have absolute value), the function return 0.7, which correct results.
Do not understand the answer to this.. eq1:=X=(1/Rp/(1/Rp/Rp+w*w*Cp*Cp)); eq2:=Y=(w*Cp/(1/Rp/Rp+w*w*Cp*Cp)+1/w/A/Cp); expand(solve({eq1,eq2},{Rp,Cp})); {Cp = RootOf(A+1+(-Y*A-2*Y)*_Z+(X^2+Y^2)*_Z^2,label = _L2)/A/w, Rp = -X*A/(Y*RootOf(A+1+(-Y*A-2*Y)*_Z+(X^2+Y^2)*_Z^2,label = _L2)-A-1)} What are the: _Z _Z^2 ? and what is the label = _L2 ? Can I make the answer look like somthing more understandable?
Hi, I am not proficient in Maple, I start to use it one week ago, but it already help me to solve problem that is unimaginable to solve for me by hand. Unfortunately, I encounter a problem which I am unable to solve by myself. I have written a simple function calculating Taylor expansion of two functions and then calculate some statistics of coefficients. Strangely, if I call the function twice consecutively, it always returns me different results. I tried to save intermediate results, but it is even more weird. The input is the same, but then in the middle of iterations results starts to differ. I am desperate.
First, the shortcoming: Open a new Maple worksheet (I always work in Worksheet mode, so I haven't tested what happens in Document mode), and type anything in 2D Math Input into a line but do not execute that line. Save the file, then open it in a text editor or word processor. If you scroll down to the line containing the information for what you just typed in, you will notice that the attribute "input-equation" will be null; that is, it should say input-equation="" Even though there is input on the line, Maple doesn't add anything to the "input-equation" attribute until the commands are executed.
I would like to use OpenMaple from VBA. I seem to have no trouble starting Maple from VBA, but I cannot sucessfully make any other function call - the application hosting VBA will immediately crash on the call. My hunch is that there is some sort of memory violation issue with the callbacks, but I'm not sure. Should I make modifications to the header files? Has anyone sucessfully used OpenMaple from VBA, for example with excel? Thanks in advance
I had a question regarding importing NURBS geometry into Maple with a complete R^2 -> R^3 definition of the underlying surface function. Im currently modeling in some CAD software and would like to use Maple for some surface analysis. I can save the surfaces as STEP or IGES, for example. As far as I know there is not a STEP or IGES import for maple, so I have been writing one of my own. However, this also requires getting some NURBS libs for Maple (which I have found), and in general it is a little complex. Is there a better way to get NURBS geometry into maple? Thanks in advance
Students do the craziest things. This was an interesting bug to run into. The following lines all cause Maple 11 to lose connection with its kernel: solve( x-x = 0 ); solve( x-x = 1 ); solve( x-x = -1 ); Whereas, the following lines do not cause Maple 11 to lose connection with its kernel: solve( 1=0 ); solve( x-x+1 = 0 ); solve( x-x-1 = 0 ); solve( x=x+1 ); solve( (x-x)^2 = 0 ); solve( x-x = x ); This message has also been sent to support@maplesoft.com
What shall I do when I recieve an error message in Maple10 saying Maple was unable to allocate enough memory(for example as a result of computing a large determinant of 3 parameters(13*13 or even more)). Can Maple11 compute such a det?
Is there any any algorithm for computing large determinants of polynomials?
Hi all, My question is: WHY is underscore (_) used to represent subscripts of parameters in equations? This is what i observe in most of the maple documents/worksheets from the application center. Why isn't the math form (Shift + _) used? The subscript can also be represented as, for example, k[1] in the text form. Any particular reasons? AKS.
First 51 52 53 54 55 56 57 Last Page 53 of 79