Product Tips & Techniques

Tips and Tricks on how to get the most about Maple and MapleSim
A member recently asked for a description of the mw or mws worksheet format. Click on the following link to download a pdf that I created a couple years ago that describes the syntax of the older mws format. It isn't complete, but covers most of the constructs that one is likely to need. To get a good practical understanding of the mws format, I wrote mws-mode.el, an emacs-mode that displays mws files in a structured manner. Download 84_mws-syntax.pdf
it took some time, a little help by this forum and the excellent maplesoft-support, but here is how it worked on my SuSE 10.1: As root: -Create a directory and copy your installation files into it, i.e. from the delivered CD -The trick is to edit the installer script with binary mode vim (using the -b flag: vim -b LinuxInstaller.bin) -Then scroll down to the first instance of "export LD_ASSUME_KERNEL" and replace the 'e' in 'export' with '#'. This comments out the line and evidently leaves the installer size intact so those compression errors are bypassed -Save and quit the file As your maple-user:
How can I declare a matrix of boolean variables, and later perform logical operations.

Thanks

With this Generation of MapleStudio you can also plot complex functions in 2D and also 3D. For doing this, MapleStudio uses the conformal and the conformal3d comands of Maple 10. The following example will show you, how it works.

Hello World! Please help!! Im trying to make my equation solving user friendly and im having real issues getting to grips with the Get/SetProperty commands for my embedded components. Im trying to set a text box(component_name?) so that the value (value??) within it is set as the desired parameter (attribute_name???) which is then substituted into my equations and solved for. Can you send me a simple example or have a look at mine, all the tutorials are too complex and tricky for me to figure out! I've read about DougsDocument tools but will the end user need this installed to use the utility if it's posted on maplenet?
Can anyone help me please?! Cash Reward! My program solves my implicit equation but i am having trouble getting more than one result, ie, varying one of the variables. The best i can do is make a loop which gives a table of results which requires individually copying the results across into Excel for anysort of graph. Ideally i want to be able to plot the results in Maple, for any variable. This is for my 3rd year engineering project, any help much appreciated. > restart; > with(LinearAlgebra): > # IMPACT OF A FLUID FILLED SPHERICAL SHELL ("NON-HERTZIAN") WITH A "HERTZIAN" BALL-
Consider the following three problems: 1) given a list [a,b,c,d,e], return the list [a=1,b=2,c=3,d=4,e=5] 2) given a nested list [a, [b, [c, [d, [e]]]]] return the list [a,b,c,d,e] 3) given an integer in base 10, compute it's base b representation First I will show you what not to do:
L := [a,b,c,d,e];
M := [];
for i from 1 to nops(L) do
  M := [op(M), L[i]=i];
end do;
Building up lists (and sets) incrementally is quadratic time, because each iteration of the loop allocates linear storage to hold the new list. The standard solution is a loop with a temporary variable, assigning to a table:
I am new to Maple and I am looking for these examples and am having trouble. Could someone lead me in the right direction or tell me which Maple books to purchase? example: precalculus or calculus or one of the new user guide books. I can't seem to find much on "The Square Root Property" and factoring or Solvng Equations by completing the Square, Quadratic Formula and Discriminant. I know I basically need to just play with the applications but know there must be information somewhere.

With mapleSTUDIO you can plot functions in 2D and 3D. Animating your plots won't be a problem any time. This is the easiest way to plot your functions.
You can use it here online on mapleNET or you can download it and run the worksheet on your Computer. For adding new components to this worksheet I will only change the file on mapleprimes, but the name and the URL will be the same. So you should bookmark the mapleNET-URL for using the newest version of mapleSTUDIO. You can also add my Blog to your Feed-Reader, so you will know, when a new version is available.

I'm sorry, this seems like such a trivial question, but how do I input information into Maple on different lines without executing the execution group? For example: Rather than [> EntryGenerators[Add]("NumDigits",[["5", [5]],["10", [10]],["20", [20]],["50", [50]],["100",[100]]]); I would like to enter it as [> EntryGenerators[Add]( "NumDigits", [["5", [5]], ["10", [10]], ["20", [20]], ["50", [50]], ["100", [100]]]); But I can't seem to get a new input line without executing the group. Any help here would be greatly appreciated! Thanks, Joe
Hi, I have an equation p*V/(W+V) - q*S = 0 where W,p,q are nonnegative constants and V,S are positive constants i.e. definitely not zero! I want Maple (10) to output p > q*S to show that this is the condition for the main equation to hold. How can i do this??? cheers gillersuk p.s. I have > assume(0 <><><><><><> constants := constants, (S, V); at the start of my document to define my assumptions and my constants. Perhaps this is why i'm having problems?

This tip comes care of Dr. Michael Monagan at Simon Fraser University. Represent your sparse matrix as a list of rows, and represent each row as a linear equation in an indexed name. For example:

A := [[1,0,3],[2,0,0],[0,4,5]];

S := [ 1*x[1] + 3*x[3], 2*x[1], 4*x[2]+5*x[3] ];

To compute the product of the matrix A with a Vector X, assign x[i] := V[i] and evaluate. This can be done inside of a procedure because x is a table.

V := [7,8,9]: for i to 3 do x[i...

In response to a question about collecting symbolic powers of polynomials, I suggested a few lines of code that solved the particular problem. Following is a procedure that enhances the technique to mimic, to some degree, the abilities of Maple's collect procedure, which handles integral powers. This enhanced version can take a list of indeterminates. It also permits use of an optional third argument, func, that is applied to the collected coefficients of a power.
Hi.. Is there a Maple pcocedure to evaluate the arithmetic mean of the n preceeding datas (of a data) in a list of numbers? Thanks

I have only one question, how could I plot the following function correctly?

> f:=x->piecewise(x<-1,1,x=0,2,1);

f := x -> piecewise(x < -1,1,x = 0,2,1)

I try this command but I do not reach the correct result.

> plot(f,-3..3, style=point,discont=true,numpoints=100);

[Maple Plot]

First 59 60 61 62 63 64 65 Page 61 of 66