## optimize code...

Can you haep me to optimize this code? for s from size by -1 to 1 do Vpq[1 .. dim, 1 .. dim, s] := (ArrayTools[ElementMultiply])(Rpq[1 .. dim, 1 .. dim, s], map(exp, -I*pq[s, 2]*Theta)); end do; # Vpq[1..dim,1..dim,s]:=Rpq[1..dim,1..dim,s]*exp(-I*pq[s,2]*Theta[1..dim,1..dim]); where Rpq:=Array(1..dim,1..dim,1..size); pq:=Array(1..size,1..2); Theta:=Array(1..dim,1..dim); with dim:=100; size:=1300; I must work with simbolic precision, but the code is very slow! Thanks

## How to use new trig labels...

Just purchases Maple 11, and was trying to sort out how to add the new trig labels to a plot. Couldn't find anything in the helps docs. Most likely was looking in the wrong spot. Anyways, any help would be grand. Cheers

## Asumming tot a parameter is even....

I want to simplify following expresion by assuming that n is even or uneven. Is it possible to let Maple do this for you?

n~ Pi n~ Pi
-2 sin(-----) + cos(-----) n~ Pi
2 2
b[n~] = - --------------------------------
2
Pi n~

## evaluation/simplification inside matrices...

I have matrix elements of the type (1/2)beta + (sqrt(5)/2)beta which I'd like to write as ( 1/2 + sqrt(5)/2 ) beta but can't. Can someone help me? Thanks

## Numerical solution to an ODE...

Hi, I am trying to solve a 2nd order ODE with linear symmetries (according to odeadvisor!) subject to two boundary conditions. The ODE itself is not particularly pretty (It can't be solved analytically), and it involves quite a lot of other functions that I have to define before hand - sorry if this looks ugly: N:=2: Xi:=1: mu:=0: m:=4: l:=2: sigma:=1: Tau:=0.7: M:=1/(2*(1-(Eta)^2)): a:=Eta: Eta:=Tau*sqrt(2/3): omega:=0.9*m*Eta: g:=r->sqrt((1-2*M/r^(2*N)+2*M*a^2/r^(2*N+2))^(-1)): h:=r->sqrt(r^2*(1+2*M*a^2/r^(2*N+2))): Omega:=r->2*M*a/(r^(2*N+2)+2*M*a^2): f:=r->r/(g(r)*h(r)):

## Zernike moments, time and memory...

View file details Can you help me to create a code that calculate zernike moments, Zpq, with an image of 100x100, p=q=70? The formula is indicate in the file. the objective is to use the symbolic calculus!! The problems are the time and the memory!!! thanks for your help

## Maple 10.06 runs extremely slow on Windows Xp syst...

Maybe somebody here can help me with my problem with Maple 10.06 being extremely slow on a Windows XP MCE machine. I have bought a new Notebook with Core2Duo T7200 processor and 2GB RAM. The first problem I experienced when I installed Maple was that Maple 10.06 did not run at all due to the large physical memory on the system. This was resolved with the help from Maplesoft Support Team. They sent me a new "launch.ini" file which fixed the Maple launch issue. Now the problem I am facing is that Maple is extremely slow. For example if I click on the file menu it takes about 4 seconds before I can view the options. If I want to scroll down to the end of page in a worksheet it takes more than 20 seconds to scroll one page. Scrolling down is extremely slow. If I press “Execute the Entire Worksheet” it takes Maple ages before it finishes executing for example a one page worksheet filled with simple calculations.

## directional Field plotting...

can someone please show me how to plot this in maple as a directional field w(t):=(1/17.5)*(2500-exp((-1/200)*t)(2500-17.5*w)); thank you very much

## Mapping manifolds onto torus using unit square...

I want to take a 2 x 2 matrix and use it to determine the unstable and stable manifolds of a point in a torus. I then want to graph the manifolds in a unit square. Does anyone know how I can do this?

## symbolic calculus 101 (how do I ...)...

Please give a clue... I would have expected that if diff(Fu,v); evaluates to zero (and if all functions involved are nice, say entire), then the following would be equal: int(int(Fu*Fuv,v=0..infinity),u=0..max); int(Fu*int(Fuv,v=0..infinity),u=0..max); But Maple does not agree... Am I missing something?

## viewing negative valued functions on plots with a ...

Hello

The following is a sample code that I tried in maple 10 standard.

My problem is that whenever a plot contains a function with negative values, a usual plot displays it as it should, but when i try to display it on a log scale, all i get is an empty plot

sample code:

f:x=-5;
plot(f(x), x = -10 .. 10, y = -10 .. 10, axis = [mode = log]);

this gives out an empty plot, with axis in range of 10^0 to 10^(-6) on both axes - maple seems to ignore the instruction to display negative values.

perhaps it would also be helpful if someone could point out how to turn these values into decimals.

## Maple code to mathematical steps...

Hi I have the following maple file. Is anyone able to convert the maple code of the calculation of the reflected lines to the simple mathematical steps which are used to calcualte it. The calcualtion of the outgoing ray is from: if (abs(dr) > 0.001) then # if slope = 0 no outgoing ray > m := (dr^2 - 1)/(2 * dr): > ix := (height - y)/m: # > if ix <> tx := -width: > ty := y + m * (tx - x): > elif # Calculation of outgoing ray > ix > width then #