Product Tips & Techniques

Tips and Tricks on how to get the most about Maple and MapleSim

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]

This is a quick programming exercise to correct the following problem in Maple:

for n from 8 to 12 do 
  A := Matrix(2^n, 2^n, storage='sparse'):  # zero matrix
  print( 2^n, time(LinearAlgebra:-Transpose(A)) );
end do:

The problem is that the LinearAlgebra:-Transpose command is not sparse. That is, the time it takes is proportional to the overall size of the matrix and not to the number of non-zero entries - even when your matrix uses sparse storage. In this post we will look at what is required to program a new Transpose command which can handle much larger matrices.

Trying to use Maple to perform some trigonometric transformations, I found a good introduction to Maple: MCS 320: Introduction to Symbolic Computation of the Department of Mathematics, Statistics, and Computer Science @ the University of Illinois at Chicago. It have some lines about the Maple function, which give that kind of informations:
>> trigsub(cos(2*x));
[cos(2*x), cos(-2*x), 2*cos(x)^2-1, 1-2*sin(x)^2, cos(x)^2-sin(x)^2, 1/sec(2*x), 1/sec(-2*x), 
(1-tan(x)^2)/(1+tan(x)^2), 1/2*exp(2*i*x)+1/2*exp(-2*i*x)]
MaplePrimes own Jim Herod has a wonderful set of lecture notes—accompanied by a collection of Maple worksheets—which introduce linear operators on infinite-dimensional Hilbert spaces to beginning graduate students in science and engineering. Entitled Linear Algebra, Infinite Dimensions, and Maple, these notes were developed from a one quarter course which Prof. Herod taught many times at the Georgia Institute of Technology. The notes are very concise and have been refined and improved many times over the years in response to student feedback.
I use Maple 10 in Document Mode. How do I set up page headers and footers in a document so when it prints one can see the document title, date,, page number, etc.?
I've had considerable difficulty in integrating products of trig functions with Maple. It usually expands the trig functions into forms that just are a mess to deal with. So, I usually handle this by splitting an expression into two parts: a constant term that doesn't depend upon the integration variable and a dependent term. In the past, I've usually done this by hand but have now created a procedure to do this automatically.
Hello, I have tried to run the Maple 10 program on my Toshiba Tecra M4 TabletPC and it runs fine until I go to Tablet Mode. The only part of the program that will run in Tablet mode is the Classic Worksheet. The symptoms are that the windows that appear in say the documentation mode (in Tablet Mode) come up but are solid gray. The program seems to hang. Now what I mean by "Tablet Mode" is that you flip the touchscreen around and lock it on top of the keyboard. This cause the display to go from a horizontal presentation to a vertical sheet of paper presentation. Regards, Dave
FYI, there are MathML character entity errors in Maple 10. This causes problems when copying MathML output from Maple into other programs that expect valid MathML. I only checked the Greek character entities, as that's where I was running into bugs. The incorrect entities as output by the Maple MathML[ExportPresentation] command and the corresponding correct MathML entities from http://www.w3.org/TR/REC-MathML/chap6/byalpha.html are (lower and upper case Greek characters only):

Many Maple users have a preference of user interface, whether it be command line (TTY), Standard (Worksheet or Document mode), or Classic. My personal view is that each may be suited for different types of task. While it's understood that Maplesoft is dedicated to supporting the Standard interface, I understand that some users remain devoted to the Classic interface.

I often use Maple 10 on a 64bit Linux machine, on which the performance of the 64bit Maple 10 kernel is comparatively faster for some types of computation. I discussed this briefly in an earlier post. But there is no officially released 64bit Linux port of the Classic interface. So below I'll mention an unofficial and unsupported way to use the 64bit Linux Maple kernel with the 32bit Linux Maple Classic interface.

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