MaplePrimes Questions

Hello wizards,

I'm given to understand that using add() or if possible Task:-Add() is more efficient than a FOR...DO loop. Today I'm asking about the limits of this generalization. My illustration is probably missing some evalf's, but hopefully the concept is clear:

A computation I'm working on involves between 10E4 and 10E6 computations like

Occasionally I want to restrict a search of MaplePrimes to posts from a specific user.  Is that possible?

Hi, 

How can I create a matrix M by M with maple, where the elements of diagonal comes from b[i]=i+1 and the other elements comes from c[i,k]=i+k.

Amr

Using the Physics package I am trying to define commutation rules between operators. However it looks like when the commutator involves a Dagger, it is not "remembered" properly. Here is a (contrived) example (you might have to run it on your machine in case not clear from copy/paste what's going on):


restart:
with(Physics):

Setup(quantumoperators={a, b, c});
                ...


Hi:

How do I tell maple that some of my variables do not commute with each other?

For example i may have variables a_p and a_m which do not commute with each other, as well as s_x and s_y which also don't commute with each other... but a and s do commute. So basically I want maple to recognize that

a_m * a_p != a_p * a_m

but

a_m * x_s = x_s * a_m, etc..

... and be able to keep these rules when simplifying expressions.

Note,...

The code below changes the starting value of a to the last value of b (in Maple 14). Is that a feature?

> a := matrix(2, 2, [1, 2, 3, 4]);
> b := a;
> for i to 2 do for j to 2 do b[i, j] := (1/3)*b[i, j] end do end do;
> evalm(b);
> evalm(a);

I would like to include the current date in the filename when I use writedata.  How can I do that?

I know this doesn't work but I was trying to do something like this

  test:=[1,2,3,4,5,6]
  writedata("c:/data-FomatTime(%B%d%H%M).txt",test)

 

hi all

im reading documentation about mapleNET web services

"Currently the input strings must represent Maple 1-D expressions. The output will be Maple 1-D expressions."

 

what is Maple 1-D expressions?

Motion_of_a_Charged_.mw

Hi,

The procedure I uploaded, was originally written in C++. I made a text file and plot the file with C++ without any problem.

But in the maple version of the same program, when I use the command:

                          ...

I am using Maple to generate PDEs. I have expressions of the form p(dx,dy,dz, etc.) where p is a nonlinear polynomial. I would like to substitute d/dx for dx etc and then later apply the resulting differential equation to a function. I am having multiple problems with this.

1. Maple seems to be unable to handle a derivative unless there is a function for the derivative to act on. (This is not a huge issue, but it would be helpful.)

2. Even if I do specify a function Maple maps dx^3 to diff(f,x...

I would like to know how to plot different series of data on the same graph.

 

Thanks in Advance

hi all

in maplenet after next link  "/maplenet/imaging/image?maple=Histogram([1,2])"

i do not see image of Histogram, just image of formula 'Histogram([1,2])' , what need for generate image?

I'm trying to hide all text created in text mode (F5) so that all I see are the calculations or text typed in Math mode.  How do I do that? 

I could create subsections with text but that's bulky.  I've tried document blocks but that only hides the calculations, the opposite of what I wanted.  Have I missed something?

 

Hello,

I have a grafic, a power curve, and a few values of the curve.

The values are in 0.5 steps. I would like to calculate the values for all the 0.1 steps.

For example:


I know the values for 4, 4.5, 5 etc. and would like to find out the values for 4.1, 4.2, 4.3 etc.

 

Is this possible using Maple?

 

Best regards,

Calin

When I plot csc(k*x) for various values of k, the timing varies considerably depending on the value of k.

Here are the timings for k = 1..5 (note the strange case of k = 3):

  seq(time(plot(csc(k*x), x = 0 .. 2*Pi, -3 .. 3, discont = true)), k = 1 .. 5);
               0.031, 0.031, 14.133, 0.046, 0.062

For k = 6, the time is apalling:

First 1991 1992 1993 1994 1995 1996 1997 Last Page 1993 of 2455