## 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[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]):
```

## Mirroring Probabilities...

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.

## Upload Maple 10 generated files to Maple TA...

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

## How to force Typeset mode printing of a 3x3 matrix...

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

## PDEtools subscript derivative notation lost in Map...

When I use PDEtools in Maple10 to get subscript notation of derivatives it works for equations that are assigned to another variable name. It does not work for equations that are referred to only by their Maple10-generated equation numbers. The sample case below shows the problem. It is an edited Maple-text version. I tried uploading the file, but neither Live Worksheet or HTML copy correctly display. Live Worksheet apparently doesn't access PDEtools, and the HTML copy can't handle equation number references. I can supply the test file to any one who wants it. ------------------------------------------------------------------------------

## printf (formatted printing) using bold font...

Hi, I am writing my output using printf(...) procedure. Sometimes I would like to use bold font. Is it possible to interfere with maple 10, like this kernelopts(.... turn bold on :-) .....) printf("something in bold\n"); kernelopts(.... turn bold off :-) ....) printf("something not in bold\n"); Is any way to do this?

## Testin Statistical Hypotheses...

Hi there, I've just started using Maple, and must say it is a real good tool - powerfull!!! But to the point, I have created a 'simple' procedure for determinig the shape of UMP Unbiased test for testing H0: the probability 'p' of getting "1" in the Bernoulli scheme is

## Plot charfcn...

I, i need to plot a z-trasformed function (discrete function), that has some "Dirac" (isn't a real Dirac function) points. How I have to do? This is an example: f:=1/2*(charfcn[2])(k)-3/4*(charfcn[1])(k)-3/8*(charfcn[0])(k)+3/8*2^k;

## How do I plot a 4-D object (pentatope)?...

Nowadays i am trying to program a kind of computer algorithm to generate a random mathematical formula, and I'm having an argument with another mapleTA programer, the question is this one: What is more efficient, have a question for all the types of formulas with random variables or have only one question with a code like: ``` \$a = range(-5,5); \$ea= range(1,5); \$eb= range(1,5); \$ec= range(1,5); \$eq1 = switch(rint(7),maple('\$a*x^\$ea*y^\$eb*z^\$ec'),maple('\$a*x^\$ea*y^\$eb'),maple('\$a*x^\$ea*z^\$ec'),maple('\$a*y^\$eb*z^\$ec'),maple('\$a*x^\$ea'),maple('\$a*y^\$eb'),maple('\$a*z^\$ec')); ```