Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

In 2D input it is possible to represnet

diff(f,x) as d/dx f

Is it possible to do

diff(f,x,x) as d^2/(dx)^2 f somehow?

Is it possible that we can add or modify new expressions in the palettes?

 

There are many ways to enter the second derivative in Maple.  Except for some silly reason I am stuck trying to figure out or find out how to enter it in 2d math form. 

d2    f
---
dx2

Entering it like d^2 (right arrow) f  / (dx^2)  is not the right way to enter it.  What is the right way?

Okay, many questions here, maybe someone can answer one or two of them for me?  Can someone show a few simple multi-thread examples that work starting from version Maple 12 ?  Actually what version does multithreading actually really start working to improve calculation times? 

From what I understand the Threads package was introduced in Maple12 so it's almost experimental there.  An example I found using add() and Add() shows a slight...

Why is this software so unintuitive ?!

It can't even plot a vectorfunction, and when i finally found out (wich took a looong time because there is no help to get out there) i discovered my need for having to plot 2 functions in 1 graph wich is impossible !!

This is a ridiculous piece of software that i wouldn't even use, even if i got money for it !

I have fought to make this work because i had 3 small assignments to do, and thought they would be nice...

Can we assign a process to a portion of threads thereby limiting it's use on the cpu?  Or assign a processs that continually runs on a portion of the cpu while retaining the bulk processing power for other tasks other worksheets in Maple?

Fogive me here if I lack understanding:  As an example set aside say 1000 threads for the cpu and let one process run on one thread in the background essentially using only 0.1% processing power and leave the other 999...

A Plot Component (on the right below) can act as a kind of 2-dimensional "slider" for inputing values of two parameters at once.

The polar plot (on the left below) makes use of both values.

If you click in the right Plot, and drag around the mouse cursor for a while, then the left Plot will be continuously updated.

Make sure to execute the collapsed code-edit region, to initialize it. (Just click on it, to execute. Or expand, look, and right-click on it.)

 

 

 

Click any point above, & Drag

 

Download plotslider1.mw

 

I have two functions,

 

f(x) and its derivative...

 

how could i plot them together in a one single graph??? could you please help me???

 

Hello folks,

I have to admit I am somewhat new in using maple as well as in this board. However I used the search engine and could not find the answer to my question.

I coded a little program that - among other things - should randomly draw one entry from a set of integers. Thus I use the function choose from the RandomTools package. From other software packages (for example stata) I know that usually one would set a seed for those pseudo random numbers to be...

This is in response to a Question about the speed and memory use of an animated DEplot. The problems are that the example's animation was slow to create, and prohibitively expensive to save in a Document.

An alternative approach is to combine multiple calls to plots:-odeplot with a call to plots:-fieldplot to supply the background flow arrows. This is a lot faster. It takes less memory to create and run, but the GUI may still consume too much resources saving it. The good news is that it's so much faster that it's not inconvenient to re-run the entire thing from scratch. And so it's quite feasible to remove all the expensive output from the Document prior to saving and thus avoid the whole resources problem.

The original questioner also wanted to visualize with resect to two varying parameters. So I've also done an implementation of that using Embedded Components and two Sliders.

Here is the old DEplot animation. It takes about 40 sec to create it animation on an Intel i7.

Here is the new combined odeplot+fieldplot animation. It takes a second or two to create its animation on an Intel i7.

Here is the DEplot in Embedded Components. It's very slow, and the image doesn't change smoothly with the sliders.

Here is the new combined odeplot+fieldplot in Embedded Components. Its image changes pretty smoothly with the sliders.

I encourage completely quitting the GUI (not just restart, or close Document and re-Open) between comparison runs of these implementations, of you want to get a really good feel for the effects of both running them as well as saving them (with and without all output).

For the Embedded Component documents, the functioning code resides inside the "initialize" button. (right-click, go to Component Properties, Action When Clicked, only if you want to inspect it.) To run those two  Documents, execute all the commands (use the triple-exclam from the menubar if you like), and then press the "initialize" button, and then move the sliders.

The difference in performance is related partly to the use of hardware datatype Arrays in the PLOT structures generated by odeplot and fieldplot. (But an `arrow` primitive would help even more!)

And (I think) there is improvement by virtue of using dsolve/numeric/parameters in the use of `odeplot`. That saves overhead from repeated cold invocations of dsolve/numeric. And DEplot doesn't support that, since it expects as argument the system of DEs and ICs. The newer `odeplot` command accepts the procedure returned by dsolve/numeric, and thus allows for efficient repeated setting of parameter values. The `fieldplot` command doesn't need the solution of the DE system at all: it just needs the DEs.

I would have considered wrapping the whole combined approach up into a single command, but it might have to accept separate options for the view ranges, in order to always look its best. A smart version might be able to deduce the computed ranges from the odeplot output, and then create the background fieldplot based on that.

Can anyone explain the method that was followed in "Box Discretization" scheme in Maple Help?

Am trying to discretize 4th order terms in space..... d^h/dX^4 and third and second order in the same way....

dsolve command doesn't work :(

it's very important =\

y*(dy/dx) + 2b*y*|y| + x*k^2 = 0

Dear guys! My question is: "how can I evaluate x when I fix y for an example equation y:=x+x^2". for each value of x we have a value for y. we can obtain it for example with "eval". but how about in this case?

Thanks

I have a maple exercise where it ask me to find the limit of a sum, here what's I type

f:= 2*k/(2*k+11);

g:= sum(f,k=1..n);

 

limit(n^(11/2)*g,n=infinity);

It spit out the answer infinity

but the answer is 10395/64*Pi^(1/2), can anyone tell me what am i doing wrong

 

   We have four points A, B, C, E, which form a convex polygon in the plane Π, and a point S, which doesn't belong to  Π. The points A, B, C, E, and S form a pyramid. The following distances are measured with some error: |AB|=2.9, |BC|=4.43, |CE|=5.10, |EA|=5.2, |AC|=2.29, |BE|=3.17, |SA|=3.77, |SB|=4.27, |SC|=3.66, and |SE|=4.36. In fact, there doesn't exist a pyramid with exactly these distances. The problem arises: to find the numbers XAB, XBC, XCE,...

First 1699 1700 1701 1702 1703 1704 1705 Last Page 1701 of 2224