Product Tips & Techniques

Tips and Tricks on how to get the most about Maple and MapleSim
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]

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.
First 59 60 61 62 63 64 65 Page 61 of 66