## Conversions, combines, collects, etc....

How do I get the ln's in ln(2*x-2*a)/a-ln(2*x)/a to combine? How do I get maple to convert exponentials into hyperbolics and back? In general, is there a good reference for collect, combine, convert, simplify, expand, factor and all similar functions? How to massage an expression into the form you want seems to be an enormous and/or hit or miss affair. Thanks.

## How Do I Do Conditional Probability with Maple?...

How Do I Do Conditional Probability with Maple? I use Maple 10 Retail Student. My word problem is "Should You Switch". What I want to know is how Do I use Maple to a) compute it and verify my work b) Use Maple for this. You are a contestant on a game show where a million dollars is hidden between on of three closed doors. You geuss door 1 BUT before opening that door the game show host opens door 2 and shows you that nothing is hidden there. He offers you the chance to switch your geuss to door 3. Should you switch? How do I use Maple to verify my work?

## Short question: Maple returns complex number solut...

Dear all! In the attached document X is a function in p and F. Solving X for F returns three possible solutions in p. When I put p=6 all three solutions contain complex numbers. However, when I put p=6 at the very top of the file, transforming X into a function of only F, Maple finds two possible solutions for F both without complex numbers (11.1 and 3371.9, whereas 11.1 is the "right one"). How come that Maple doesn't yield the same results when I define p=6 later in the file? I'd be very greatful for any suggestions and help! Best regards, Florian

## problem with y-axis labels in logplot...

Hello, I ran into some problems with the y-axis labeling and tickmarks, and would appreciate any help you could offer. Thanks! The y-axis plotted below has two 10^(-6) labels, and the tickmarks on the y-axis do not look correct either (more than 10 subtickmarks per order of magnitude!). -Dan > restart; >with(plots); > dBv[1] := 37.43; dBv[2] := 31.29; dBv[3] := 25.75; dBv[4] := 20.86; dBv[5] := 16.54; dBv[6] := 12.58; dBv[7] := 9.28; dBv[8] := 6.02; dBv[9] := 3.32; dBv[10] := 1.25; dBv[11] := -1.54; dBv[12] := -3.38; dBv[13] := -5.45; dBv[14] := -7.2; dBv[15] := -8.04; dBv[16] := -8.29; dBv[17] := -10.06; dBv[18] := -9.32; dBv[19] := -10.53; dBv[20] := -9.71;

## Symbols in textplot and plot...

How do I get Maple 11 to show the symbol instead of the text when using textplot and labels=[ ] in plot? For example, I want my labels to have the symbol lambda, but when I try labels=[\lambda,x] I just get the text "lambda." Likewise, I'd like to be able to plot text with subscripts, i.e. text1:=textplot(0.6,0.8,"p_gt^*") gives me that exact text on the graph when what I really want to show up is the label p* with the subscript "gt." Thanks!

## How do I export the complete document to LaTeX?...

I am trying to export a worksheet from Maple11 to LaTeX using the "export as" function. It produces a .tex-file that uses the "maplestd2e"-package. When I compile the document I see the output of the computations and all figures, but I don't see the maple-commands that I have entered to obtain the output. It works fine if I use Classic Worksheet mode, which uses the "maple2e"-package. Any suggestions on how I can export the Maple input commands to LaTeX using the standard Maple11? Thank you. mami

## simplify an expression with exp(ix) and exp(-ix)...

How do I force maple to simplify an expression containing exp(ix) and exp(-ix) to an expression contating sin(x) and cos(x) (if possible). Example: I want maple to recognize a*exp(I*x)+a*exp(-I*x) as 2*a*cos(x) or (slightly more complicated) to recognize -I*(1-exp(-2*I*x))/(1+exp(-2*I*x)) as sin(x)/cos(x) or tan(x)

## EASY question on error message...

Dear all! I don't use Maple very regularly and have come across the following error message: "Error, (in content/polynom) general case of floats not handled" This error message occurs when I try to differentiate a fairly simple function of one variable and various constants. The curious thing is the following (and that's probably crucial to the problem): when the constant d equals 1 (see attached file), Maple does the derivation without any problems. As soon as it is a decimal number (e.g. 0.9) the error message occurs (note: d is always smaller or equal to 1). Plus, when d is a decimal number all functions in my worksheet increase considerably in size. Maple doesn't seem to fully simplify them. I guess, this is the source of the problem.

## Integer Division...

Hi,

I had an issue where I wanted the quotient of two integers a and b; the quotient q from the division algorithm for a/b which finds a = b*q + r, 0 <= r < b

I was not sure how to obtain it. Since,

a := 7;
b := 3;
q := a / b; # returns fraction 7/3

Received some help from G. A. Edgar from Ohio State and Joe Riel from Maple; who clued me into the use of 'iquo' to obtain this.

a := 7;
b := 3;
q := iquo(a,b,'r'); # q = 2, r = 1

I was experimenting with floor(a/b), but I am sure this is more efficient (no conversion between fraction and integer);

There is 'irem' which just determines the remainder from integer division. The 3rd argument in iquo is optional ... and returns the remainder from the division.

## Showing steps...

How do I get Maple to show the old-fashioned, step-by-step solution of a a problem. I have tried to find this in "Help" but Maple's help is so disorganized as to be rather UNhelpful.

## How to use MmaTranslator?...

Good morning Maple experts, When I use FromMma() to the following expression: Test1 := ( T = {1, 2, 3}; Clear[v]; v[{}] = 0; v[{1}] = 1; v[{2}] = 2; v[{3}] = 3; v[{1, 2}] = 4; v[{1, 3}] = 5; v[{2, 3}] = 6; v[T] = 19;) I got only Test1:=T:=[1,2,3] The function I used was FromMma(Test1:=( T={1,2,3}; v[{}]=0; v[{1}]=1; v[{2}]=2;v[{3}]=3;v[{1,2}]=4;v[{1,3}]=5; v[{2,3}]=6; v[T]=19;)); 1. Where is my mistake? 2. What are the equivalent expressions in MAPLE? .. How may I write it without using MmaTranslator? Many thanks for the help!

## Question On Tensors...

I apologize if the forum is strictly for undergrad students. I'm now on the section of Arfken's text "Mathematical Methods..." that deals with tensors, and I'm having a little trouble. My problem is how to physically or intuitively, picture (for lack of a better word) tensors. This also adds to the problem of not fully understanding and appreciating the difference between covariance and contravariance, other than it seeming to be arbitrarily subscripting or superscripting the tensor elements. Thanks, dc

## Hotw to get the data from a 3d plot...

How do I get the data from a 3d plot in maple 9 to a .txt or .dat file so I can plot it in origin or whatever?