## Relaxtion method to solve Ax=b...

implement a program for a matrix a a vector x and numbers eps>0, omega e(0,2) approximates the solution of the system Ax=b by relaxation with parameter omega and accuracy eps the program should stop when last iterations x[i-1],x[i] and x[i+1] satisfy norm(x[i+1]-x[i]> norm(x[]-x[i-1]

## Plotting 3D...

Hi, Sorry but i ve repeated the same question a few days ago but because it was quite down the line i thought to give it another shot I would like to make a 3D plot of some density functions(F(X)) where each lets say cdf, corresponds to a time value.So far Ive tried using the transform((x, y) command.The example below where I show how I have worked out for 4 cdfs corresponding to 10,20,30 and 40 ms, hopefully it will make it clearer of what i mean.(I have a thousand of different distributions up to 10 secs). with(stats): > C001:=plot(statevalf[cdf,lognormal[0.3792,0.9556]], 0..4, colour=green):

## Brownstone unavailable: alternatives?...

Hi,

we've been happily using Brownstone's latex -> edu conversion service for some time now, but always with that slightly queasy feeling of "what happens if it's unavailable?". Well that's the case at the moment: I've submitted a ticket with their support folk, but times in Australia don't match up well with US times! In the meantime we have a number of assignments due to be made available to students, but which only exist as latex files. Conversion by hand is, to say the least, painful and time consuming (our Level I coordinator has already converted two by hand, and doesn't need another few hours of such nonsense), so I'm hoping that there may be another way in which this can be done. Any suggestions?

I have a class with about 400 students. For the new term I opened a new class which will have about the same audience like the one before. Therefore I would like to copy all student accounts but start with empty gradebooks. As far as I saw it's possible to upload a class roster but it's not possible to download it. Could anybody tell me an easy solution for this problem?

## 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

## 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.

## 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?

## 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 #

## regarding use and editing of components...

I have used the components palette to build a user interface for a complex data analysis and display task. It involves multiple worksheets running in shared kernel mode. The main worksheet is organized as a 3x2 table, each cell of which uses components to display a set of some 25 related data parameters and controls. A second worksheet contains buttons and plot regions for graphing the columns of various data Matrices associated with the parameter sets. The parameters are stored in databases, and the Matrix data have been generated from the parameter sets as input by a stand-alone Fortran program. A third worksheet contains spreadsheets for examining the data in the Matrices. The various buttons on these Worksheets call the procedures in a library devoted to the interface, which procedures accomplish things like loading parameter or data files, clearing or updating the displayed parameter sets, executing data analyses, etc. Keeping so many components straight in my mind demanded that I adopt a uniform naming scheme, so the generic component names have all been replaced by my mnemonic ones which are derived from the underlying data content of each component. All this is pretty much nothing fancy, just as it MUST be, given what I'm trying to accomplish. Now I want to augment the user interface to include another set of parameters, controls and data Matrices all of which are disjoint from the existing ones.

## external calling / use of arrays...

```For testing an external routine against Maple I have something like

Gamma_mpl:=define_external(
'Gamma_mpl',
'C',
'Z'::ARRAY(1..n,datatype=float),
'result'::ARRAY(1..n,datatype=float),
LIB=theDLL);

where the function in the DLL (compiled with Dev-C++) is like

extern "C" __declspec( dllexport ) __stdcall
void Gamma_mpl(double *Z, double *R){ ... some code  ...}

It takes the input in Z and updates values in R.

The following works as expected:

z:= -1.1 + 2.1*I*0:
# provide memory
Z:=Array(1..2, order= Fortran_order, datatype= float):
```