I recently purchased a Maple e-book, and I noticed a few lovely features of which I would like to take advantage. The first is the ability to create a compressed worksheet. There seems to be a painfully simple mechanism behind compressing and uncompressing the worksheet, since when the worksheet is opened with a text editor, the first characters are (if I recall correctly) "<compressedworksheet". I cannot find any documentation inside of Maple detailing the compression and uncompression of files. Thus, I ask you, Maplesoft: How can I compress my worksheet files in this manner?
The second feature of which I would like to take advantage is the use of a license file. Looking at the XML code of the compressed worksheet, it seems that one only needs to make reference to the location of a license file in order for Maple to look for the license file. The license file itself is very short--only about 4 lines--which makes me assume that the license file checking mechanism is similarly simple. Again, Maplesoft: How can I make and use my own .dat "license" files?
I'm trying to create an interactive tutorial for students. Let's say, for the sake of example, that I want to show step by step how to complete the square. First, the user enters an expression into a text field or math container. Then, when the user clicks a button, Maple takes the expression and outputs multiple lines detailing the steps in completing the square. Preferably, all of these steps would be shown in the same math container.
I can find no easy and direct way of setting the value of a math container to have multiple lines of math. I'm continuing to search, but does anyone know of a way?
How do I change the font permanently so that every time I open a new worksheet I get, say, Arial instead of Times New Roman?
I have a problem where I am performing some matrix operations and the resulting matrix is of rank n-1, where n is the order of the matrix. I want to solve M*x=x, where M is the resulting matrix. Since teh order of M is n-1, I keep getting zero values for all but two of the variables.
What is the best way to get around this problem? I am a Maple novice. Please let me know how to do it in Maple.
During the evolution of my code I have ended up with numerous versions of similar files, each with minute differences to the next.
Is there a way to compare these worksheets?
"I've seen this element before..." Often we are faced with the problem of building up sets incrementally, by removing pieces one at a time from a larger whole. The bottlenecks in this case are usually: 1) adding a small set X to a large set S (copies S and X, making this ~O(|S|+|X|)) 2) removing elements of the large set S from the small set X (binary search: |X|*log(|S|)) A classic example of this is a breadth-first-search. We start at one vertex of a graph and in each iteration we add the set of new neighbors X to the set of vertices S that have already been found. We can make this more useful by making the program return the sets of new neighbors found in each iteration, that is, the sets of vertices that are distance 1, 2, 3, etc. from the initial vertex.
I have the following matrix problem that I am having trouble with. I have the following equation.
A-1 * C * D * A * v = v
A, C and D are of the same order. A & D are diagonal matrices. D is a diagonal matrix with values that are the row sums of matrix C.
I get answers that are reasonable in some instances and zeros in others. I have uploaded a Maple file with what I am doing with some data.
Would appreciate help.
Download 2031_Matrix problem.mws
Simple-simple......How do I get the LaTeX code for an input equation?
If I type in the derivative of x squared, right click and select Conversions>LaTeX I get the LaTeX code for the output, i.e. for 2x, not for the derivative of x squared.
I have some trouble with getting an explicit solution to a PDE:
f=f(u,v) in IC^4 (IC=complex numbers)
So i have a system of 8 equations, first order, integrable (i.e. solution exists by theory).
I'm getting the following, when calling pdsolve(PDE, fcns), where PDE is the set of the PDEs and fcns are the 4 complex functions f[i], i=1,2,3,4:
"Error, (in pdsolve/sys) duplicated elements (ranking)"
What could it be?
I am using the new Physics package for Maple 11 to do indicial calculations for a continuum mechanics problem.
I need two sets of coordinates for Lagrangian and Eulerian frames. In Maple, I have defined two sets coordinate (X and Y) each with dimension equal to three. Summation is not performed over the time variable, which is treated differently.
X is a point in Eulerian frame, it is related to the Lagrangian frame (Y) by:
How could I calculate "X[k],K" ? Where the smaller index is in Eulerian coordinates (X), the capital index is in Lagrangian coordinates (Y) and "comma K" (,K) denotes the derivative of X[k] with respect to Y[K]. Could someone show me its implementation using the d_ command.
The error message "too many levels of recursion" is sometimes misleading. In the problem below, the error source was an undefined list variable.
This hint may help to find programming errors.
I was wondering if anyone knew how to make MAPLE (10 that is) to diplay all the permutations of a certain number, say 1100 with each digit in a position in a vector. I can only work out how to make MAPLE work out the permutaions- and nopw how to put it into a vector. Also, the permutaions recognise the two ones and zeros as different numbers, when I don't want that. So for the example 1100, I would want MAPLE to output
Can anybody help me with this?
Could anybody please tell me how to plot regions using a procedure in maple. Specifically I have a procedure f of two variables that can output an integer between 1 and n. I want a 2 dimensional plot that gives a different color for each value of this procedure. Any help is much appreciated -- thanks.
PS: As an example I tried this:
> g := proc (x, y) if x <> plot3d(1, x = 0 .. 2, y = 0 .. 2, color = g(x, y));
But this results in the following error:
Error, (in g) cannot determine if this expression is true or false x
Does Maple have any functions that would help to work out nth Term series problems where I'm giving a series of fractions and I need to determine what the nth Term is before I can start working the problems?
I hate to keep comparing but its all I know so have to compare to something. In Mathcad I can drop a table on a worksheet and fill it with values. Then use those values in an equation or plot.
I can also take a series and fill a table based on operations of that series. ie: 1..5 and have it fill a visual table that I can review the values in.
In Maple, when I've messed around with the table() function it ends up putting code on my worksheet and I have to double click it to see what is in it. Is there some easier method to work with tables of values that works more like Mathcad?