Product Tips & Techniques

Tips and Tricks on how to get the most about Maple and MapleSim
As a newbie to maple, I was wondering how do I find the maximum of a equation under contraint. i can find some but for this one I can't ... and it's getting to me f=1000*x+7500*y under constraint: g=10000000-(20000*x^0.8)*y^1.2 and for f=(20000*x^0.8)*y^1.2 under constraint: g=125000-1000*x-7500*y Who do I find the maximum using MAple 10 !!!????
Hi, I have plotted the following chart using maple 10 on windows xp > plot(((x^2)+x-4)/(x-2),x=-4..6,y=-2..10); X being -4, 2 Which command needs to be executed to find the local extremity? Thanks in advance for any help… Robert
The Maple User Group mailing list was once the main forum for asking questions and discussing Maple. Eventually the comp.soft-sys.math.maple newsgroup was proposed and the MUG list faded away. Some answers to specific questions are archived here, and all messages from 1998-2003 are available as digests.
The Maple 10 Quick Reference Card is now available as a downloadable, printable version from the Maplesoft website. UNIX, Macintosh and Windows versions are all available. http://www.maplesoft.com/support/faqs/Maple10/General/qrc.aspx The quick refernce card is also available with Maple 10 in electronic form and contains a summary of important concepts and commands. To see the Quick Reference Card inside Maple, go to Help>Quick Reference.
When you try to differentiate a Maple expression with respect to one of the constituents (of expression) which is not simple atomic symbol, Maple could not perform operation, e.g. > diff( sin(x(t)), x(t)); Error, invalid input: diff received x(t), which is not valid for its 2nd argument . One solution to handle this problem is described in book (Maple book Chap.12)of Walter Ganz (Walter Ganz). In his trick structured symbol is temporarily replaced (via substitution) with a local variable, differentiation is performed with respect to local variable and finally local variable is replaced with original structured symbol.
Suppose you want to sort a list L ( of numbers ) and also determine order of elements as a list of indices corresponding to elements of original list L, that is, you want such a integer list "I" that "seq(L[I[j],j=1..nops(L))" to be equivalent to sorted list. This functionality is present in MATLAB in "[B,IX] = sort(...)" syntax and i come up with this problem while trying to convert a MATLAB function (GaussQuadratureWeights) to maple. The procedure described resolves problem using a few MAPLE commands including MAPLE's built-in sort function.

See here.

Consider the task of sorting a list of complex floating-point numbers by magnitude. First Attempt The usual method to do this in Maple is with the sort procedure. By passing a boolean-valued function that computes then compares the magnitudes of two complex numbers, we can sort the list. The following procedure shows how this is accomplished.
sort1 := proc(L)
    return sort(L, proc(z1,z2) abs(z1) <= abs(z2) end proc);
end proc:
A disadvantage of this approach is that the absolute-value procedure is called twice every time a pair of numbers is compared. For a long list, the time spent in the absolute value routine dominates the computation time.
It would be good if I could tell looking at the list of messages in the Inbox or other folder, to which of them I replied. Also, it would be a nice feature if I could see in the Sent folder whether my message to somebody had been read, or not.
Does anyone have advice for content in a maple tutorial for calculus students and any math students for that matter? I am doing a tutorial to help students avoid the fear of Maple and try to help them to avoid common mistakes. Any suggestions would be great!
The map function is a particularly useful Maple function. I use it frequently and thought I understood how it worked. However, I recently discovered an interesting feature of mapping over vectors, matrices, Vectors, and Matrices. That is, the order of application of the mapped function depends on the data type and may be indeterminate (for table based structures).
Hi, Colleagues, I need to use two colors for positive and negative values of a plotted function and I am trying to use a piecewise switch. My atempt was something like plot(sin(x), x=0..13, color=(x->piecewise(sin(x)
This blog entry evolved from my reply to Moira Chas's post. I want to thank her for initiating such an interesting topic. Usually Mandelbrot set is drawn in Maple using plot3d command. That also can be done using densityplot. In the example below I use mandelbrot from John Oprea's worksheet,
mandelbrot := proc(x, y) 
local c, z, m; 
c := evalf(x+y*I); z := c; 
for m to 50 while abs(z) < 2 do z := z^2+c od; 
m end;

plots[densityplot](mandelbrot,-2 .. 0.7, -1.35 .. 1.35,
s_tyle=patchnogrid,colorstyle=HUE,numpoints=62500,axes=none);
Hi, Colleagues, I need strongly reduce Maple generated graphs for a journal publication. How could I make the axes and tickmarks thicker? Thanks, Evgeni
SOS! I need to find how to plot y=f(x) if x and y are columns of 2D matrix. Thanks, Evgeni
First 59 60 61 62 63 64 Page 61 of 64