## procedure becomes slower and slower with every cal...

Hi Maple experts, I have a seemingly simple procedure that is supposed to create random matrices. What surprises me is the fact that it takes more CPU time evertime I call it (even in a fresh session). The procedure is as follows: ``` Feynman_random_rho := proc(N::posint, d::posint:=2)::'Matrix'(complex[8]); # # returns a random N-qudit density matrix where the optional second argument, d, # specifies the dimension of each subsystem. By default, d=2 is assumed so that # an N-qubit density matrix is generated. # The density matrices are uniformly distributed according to the Hilbert-Schmidt ```

## Strange integration output...

Hello, I'm trying to integrate (for a homework) the Planck radiation formula. But the result (see the Maple10 worksheet below) is so strange (polylog(4,exp...) stuff) that I can't figure out what it means. I tried to compute taylor series at T=0 (because the exercise is to prove that integral is proportional to `T^4`) but Maple can't do it. View 5085_planckintegration.mw on MapleNet or Download 5085_planckintegr

## Need Help for understanding a matrix...

If i have this matrix in maple, what does it mean the last row (0 0 0 0 1) and what is 1? Is it like 2a+5b-6c+2d+6e=1. View 6573_problem.mw on MapleNet or

## Units...

So I put in my first line and hit return. Maple spits out the second in which my 47.3 lbs/ft^3 gets turned into SI units while the other two quantities are left in FPS. Can someone tell me why?

## How do I get the upper/lower bounds of a given for...

Is there a way in Maple to compute the symbolic upper bound and lower bound of a given symbolic formula? Thanks. Bo

## Some questions from a new user...

I'm new to Maple. I'm quite competent with Matlab, with competent meaning I have some experience using it for analysis of physical data. I'm very experienced in using my TI-89 Titanium I have decided to give Maple a try since I'm not satisfied with the way Matlab handles symbolic expressions. I also want to tryif there's anything better than Matlab. I'm majoring in physics, and I hope to get my bachelor degree in a year. So far I have been writing all my assignments that needed a computer in Microsoft Word, but that is far from satisfactory. I have been considering learning myself LaTeX, but I have been thinking if it's just as good to use Maple to write articles and documents. Can I write an article as fast in Maple as I can in LaTeX? Speed is key for me naturally. Can I write LaTeX directly in Maple?

## Expression trees

Maple
Note added: As correctly pointed out by Joe Riel in his post below, my function fromTree fails doing what it is supposed to do for expressions which contain lists and/or sets. For a version of fromTree which behaves properly (I believe) also for expressions containing lists and/or sets, see my post below. Consider the following two functions:
```toTree   := x -> `if`(op(x) = x,x,[op(0,x),map(toTree,[op(x)])[]]):
```

## Getting input from a user...

I am writing a program in which, after some calculations, I want to give the user some information and then ask them if they want the program to continue. I've tried using readline(terminal) and readstat, but I have the following problem: the information that I want the user to see is printed at the bottom of the screen and Maple gives a dialog box to get the user input. With the dialog box showing, the user can't scroll down to see the data. Is there a way to make sure that the data shows up before the dialog box pops up? Or is there another way to get input from a user?

## values on x-axe...

I was wondering if I could change the values on the x-axes. I want to have the value 3500 at origo and 0 at "3500" normally is, can this be done?

## Subscripts...

On subscripts. I like to use them as part of variable names but Maple does this to me.

Lets say I have

## Differential...

My question is about how Maple handles differentials.

In its derivation of an equation for pressure as a function of depth my physics text comes up with this:

from which it gets

## Text in 2D without the math...

How can I write with 2D math in text mode? That is, I want to create a document with mathematical expressions but I don't want Maple to do any mathematical operations on them. Imagine that you're trying to write a page in a textbook with expressions put in normal notation and interspersed with comments - that's what I'm trying to do. I've tried Text>Maple Input, Text>2D Input, Text>2D Math, Text>Normal, etc, etc but they all just put out 1D. And if I try to use "Math" instead it invariably does some sort of simplification or normalization or some such when I don't want it to touch the expressions I enter at all.

## New to Maple

by: Maple
Hello! So glad to become a part of this community, I am loving Maple. So here is my question: I know c++ fairly well (need to freshen up) and the same idea with Java, Ive seen I can incorporate languages into Maple, or so it seems. What type of things am I capable of doing? And along those lines, any suggestions to what path to take in order to learn such powerful tools? I am currently working on a bachelor/masters in engineering and would love to know Maple better then I do my own Fiance (just dont tell her). Thanks in advance!

## coeff help

by: Maple
How do i find the coeff? It is not working! > restart: > alias(epsilon=ep); epsilon > eqn := ep*x^4 - 3*x^2 -2*x + 1; 4 2 eqn := epsilon x - 3 x - 2 x + 1 > eqn1 := simplify(subs(x=ep^(n)*y,eqn)/epsilon^(1+4*n)); 4 (-1 - 2 n) 2 (-1 - 3 n) (-1 - 4 n) eqn1 := y - 3 epsilon y - 2 epsilon y + epsilon > asym1 := sum(y[n]*ep^(n), n=0..3); 2 3