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]

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):

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?

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

Download 1826_zernike.docView 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

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.

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?

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 #

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.

For testing an external routine against Maple I have something like
Gamma_mpl:=define_external(
'Gamma_mpl',
'C',
'Z'::ARRAY(1..n,datatype=float[8]),
'result'::ARRAY(1..n,datatype=float[8]),
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[8]):

Hi,
I have three equations Y=f(t) with each equation corresponding to a probability as shown below.
Y1=f(t) with probability of 0.05%
Y2=f(t) with probability of 5% and
Y3=f(t) with probability of 50%
If we assume that these probabilities belong to a normal distribution how can I work out the equations for 99.95% and 95%probability.In other words I would like to mirror Y1 and Y2.
The idea is to plot all the equations of 0.05%,5%,50%,95% and 99.95% probability in the same plot and create a 3D surface where the axis will be Y,t and P(probability) or even better generate the equation of P=f(Y,t) that will describe this surface.

Hello,
I have problem with uploading files generated from Maple 10 with task help to Maple TA server.
Could you help me someone please?
I create maple mw files form task help and then I save this mw to maple ta zip file and then I would like to upload this question file to Maple ta server, but it is not work and I do not know while. It occures an error
*Errors loading the question bank: halo.zip
Reason: Error at line 1. Unrecognized escape character: \?*
Where is the mistake?
Thank you
Vladimir

I have a 3x3 matrix that has large expressions for some of the elements. Within Maple it displays correctly in Typeset mode with two large brackets defining the matrix. When I print the workbook this matrix prints in Maple text format with lots of nested [...]. Smaller 3x3 matrices print in Typeset mode just fine. What governs when Maple switches from printing matrices in Typeset mode to Maple text mode? Is there any way I can force a matrix that displays properly in Typeset mode to print properly in Typeset mode?
Any help would be greatly appreciated.
Thanks,
Neill Smith