MaplePrimes Questions

How do I convert a 2D expression constructed with MathMLEditor to a normal 1 D string? I know that example 6 from the maplet builder tutorial does this, but the result is often in a prefix notation. For example, if I enter "x-square + 1" as a 2D expression in the MathMLEditor, the result is `+`(x^2,1). I would like to get more normal x^2+1. I have examined the code generated by the maplet builder and experimented with options in the MathMLEditor and MathML[Import], but to no avail. Is there a way to convert the prefix notation to the more normal infix?

I'd like to have a question which gives information about a circle, and asks students to enter the correct equation. I don't mind whether the equation is in the form (x-a)^2+(y-b)^2=r^2, or the expanded-out version. Here are some ways I've tried to do this, and why I'm not happy with them!

How do I simplify an expression imported from the MathMlEditor? For example, the following code is taken  from Maple help. I have saved the result in the variable abc.

with(Maplets[Elements]): maplet := Maplet([

    [BoxCell("Enter and expression")] , [MathMLEditor('reference'='ME1')],[Button("Done",Shutdown([ME1]))]  ]):

result := Maplets[Display](maplet): abc "= MathML[Import](result[1]);

Hello,

I am trying to assign a value to a variable depending on whether fsolve does or does not give a solution.

However, I cannot do it when there is no solution - fsolve returns unevaluated, and I cannot do almost anything with the unevaluated expression.

The only way I can do it is the following:

a:=fsolve(x+ln(x)=0,x=1..2);
if (a='fsolve(x+ln(x) = 0,x,1 .. 2)') then solution:='no' else solution:='yes' end if;

this equation does not have solutions, and returns the string to which I compare a.

Hi all

I have this integration , HOW can I solve

the problem is in recent  file named  argent pdf

please help me to solve it

and give results please.......

Hi all,

I have the following ODE

sorry , i forget the term so the question is :

int ( q  * exp((1-b)^2* qz^2 / lambda[1] ) * exp((1-b)^2* q^2 / lambda[2])   /  ((1+b^2*q^2+b^2*qz^2)*(q^2+qz^2)) , qz= -infinity..infinity)  then w.r.t     q  from (0......infinity)

after integration we want to minimize the results , the range is as (b=0..1), ( lambda[1])  =1....100000) ,   (lambda[2])  =1....100000)

Hello,

I need some help to figure out how to get maple to use distributive property and rules of exponents.

>A:=R/(1+exp(-2(h-s))

>a:=A/(exp(h-s))

I would like to get the answer back in the form

R/(exp(h-s)+exp(-(h-s))

suggestions?

Is it possible to add block comments in maple. Like, for example, /* ...*/ in java. Thank you.

I have this line in maple 11:

polygonplot([[0,0],[1,1],[1,0],[0,0]],legend="stuff");

and the legend doesn't appear, is there a way to force maple to produce the legend (other than horribly right clicking and manually writing the legend in every time - I'm trying to make lots of polygon plots...)

thanks

Steve

Hello everyone,

I'm trying to solve a largeish matrix equation of the form A*X + Transpose(A*X) = B for X, where A and B are known matrices.  I know there must be some clever way to get Maple to automatically unpack this equation into the equations for the components and then solve them symbolically, but I haven't had much success.  Could someone more skilled point the way?

Thanks.

Hello,

Using Maple, I integrated and expression and got ln(e) in the answer.  How can I eliminate this?

Thanks

i have this integration:

int(q*exp((1-b)^2* qz^2/lambda )/((1+b^2*q^2+b^2*qz^2)*(q^2+qz^2)),qz=-infinity..infinity) then w.r.t      q  from (0......infinity)

I want to take two numbers, for example 37665432 and 59374696 (later extrapolate to 3 or 4 etc... sets of numbers) and take each individual number alternately and put them into a list. 

Here's what I have

a:=37665432;

b:=59374696;

c:=convert(a,base,10);

d:=convert(b,base,10);

e:=ListTools:-Reverse(c);

f:=ListTools:-Reverse(d);

So now I have the numbers all in a list and I want to select each one alternately into another list.

g:=seq(e[i],f[i],i=1..8); 

I am going to simplify the following formula:

sqrt(a^2*p*(1-p)*(N-n)/(n^2*(N-1)))

I wrote simplify(sqrt(a^2*p*(1-p)*(N-n)/(n^2*(N-1))),symbolic), the output was:

First 2212 2213 2214 2215 2216 2217 2218 Last Page 2214 of 2427