## How to simplify an expression...

In this expression,

q(x, s) = -(-(-thetac*s^(3/2)-s^(5/2)+(s^2+s*thetac)*alpha1*sqrt(Dp))*Dc*A1*exp((lh-x)*sqrt(s+thetac)/sqrt(Dc))+((alpha1*(s+thetac)*(-pinf*s-pinf*thetac+A2)*Dp^(3/2)+s*sqrt(Dp)*(A1*(s+thetac)*sqrt(Dc)-Dc*alpha1*(-pinf*s-pinf*thetac+A2)))*sqrt(s+thetac)+A1*sqrt(Dp)*s*Dc*alpha1*(s+thetac))*exp(sqrt(s)*(-lh+x)/sqrt(Dp))-(-_F1(s)*(-s*alpha1*(s+thetac)^2*Dp^(3/2)-s^(3/2)*Dp*thetac^2+thetac*(Dc-2*Dp)*s^(5/2)+(Dc-Dp)*s^(7/2)+sqrt(Dp)*s^2*Dc*alpha1*(s+thetac))*exp((-2*lh+x)*sqrt(s)/sqrt(Dp))+_F1(s)*(-s*alpha1*(s+thetac)^2*Dp^(3/2)-thetac*(Dc-2*Dp)*s^(5/2)+(-Dc+Dp)*s^(7/2)+s^(3/2)*Dp*thetac^2+sqrt(Dp)*s^2*Dc*alpha1*(s+thetac))*exp(-sqrt(s)*x/sqrt(Dp))+alpha1*(s+thetac)*(-pinf*s-pinf*thetac+A2)*Dp^(3/2)+(-pinf*(Dc-2*Dp)*thetac+A2*(Dc-Dp))*s^(3/2)-pinf*(Dc-Dp)*s^(5/2)-s*alpha1*Dc*(-pinf*s-pinf*thetac+A2)*sqrt(Dp)-sqrt(s)*Dp*thetac*(-pinf*thetac+A2))*sqrt(s+thetac))/((s+thetac)^(3/2)*s*((Dc-Dp)*s-Dp*thetac)*(sqrt(Dp)*alpha1-sqrt(s)))

I want to simplify the coeffcients of

exp((lh-x)*sqrt(s+thetac)/sqrt(Dc)), exp(sqrt(s)*(-lh+x)/sqrt(Dp)), exp((-2*lh+x)*sqrt(s)/sqrt(Dp)), exp(-sqrt(s)*x/sqrt(Dp)).

## modify an expression...

Hello people in mapleprimes,

I want to single out omega^epsilon from and modify the rhs of the following expression
to the expression where the  the part without omega^epsilon and  another part of  omega^epsilon
are multiplied.

Y = -L*epsilon^epsilon*(1-epsilon)^(1-epsilon)*(-omega^(-1+epsilon)*k*theta+(1-theta)*omega^epsilon)/(1-epsilon-theta)

I am glad if you teach me this.

taro

## How do I collect on specific variables?...

I'm new of Mapel trying to get basics.

How do I collect on the square terms in the numerator?

## Getting output in desired form in maple...

Hi,

Can we tell maple to give output in a form which contain any specific term or expression. For example- Can I tell maple to give output which contain (x^2+2*x+3) expression in the output. I used various combinations in collect command but it doesn't work. It is shown in enclosed maple worksheet.

I have some questions about output produced by maple. I have attached a maple worksheet in which I asked the questions in comments. Please help mein in this problem because it become very tedious to type each expression by hand in desired form. If maple produce it by some means it would be great help.

desired_form_in_output.mw

Thanks and Regards,

Nilesh

## Problems with the collect command...

Please, can someone give me a hand? I can not understand why in the first case the collect command does not work while the second one works correctly. Many thanks for your attention.trasformaziione_equazioni1.mw

 >
 (1)
 >
This, apparently, does not work properly
 (2)
 >
 (3)
 >
 (4)
 >
 (5)
 >

## How to collect a part of expression?...

Hello People in mapleprimes,

I have a question about collecting part of expression.

I want to modify a1 to b1.

e3.mw

## How to collect this?...

Hello people in mapleprimes,

This e1 has the expression of ((epsilon-1)*k/epsilon)^epsilon in the numerator and the denominator. How can I collect each of them with that expression?

e1.mw

Taro

## take out common factor...

Hi, I´m try take out common factor with "collect"

collect(-(1/4)*G*r^2/eta-(1/4)*G*(ri^2-ro^2)*ln(r)/(eta*(ln(ri)-ln(ro)))-(1/4)*G*(ln(ri)*ro^2-ri^2*ln(ro))/(eta*(ln(ri)-ln(ro))), -(1/4)*G/eta)

But this does not work well.

Regards.

## Extract number from equation...

E_T := (2/mu-2/r)*exp(-r/mu)*Pi^2;

How do I extract the numbers out of the equation, so it becomes

## how to move exp and numbers out of root?...

Maple returns this: and I want to move the exp out of root so it becomes exp(

Ex3 := Pi*sqrt((4/mu+4/r)*exp(-r/mu))

and I want to move the exp out of root so it becomes exp(-r/2*mu), and I want to take the 4s out so it become 2*Pi instead of just Pi.  How do I do it? thank you for all the help

## collect of part of an expression...

Hello people in mapleprimes,
I want to collect
aa:=sigma*omega*alpha = mu(H, H)*s*omega*gamma*L+omega^(-sigma+1)*tau*mu(F, F)*s*L-omega^(-sigma+1)*tau*mu(F, F)*s*L*gamma;
with omega^(-sigma+1);

I know that the above expression could be collected with tau, which
produces the same expression as the one collected with omega^(-sigma).
And, in collecting with omega^(-sigma+1), I know that freeze-thaw could be used.

But, I want to know another way to do the same thing, using frontend or
subsindets. Is this possible?

taro

## How to collect terms in a PDE that have equations ...

Hi,

I have a PDE which I would like to group certain terms in common. They are all general functions and do not all share variables in common.

It is easier to explain in the script attached.

Any guidance anyone can offer would be greatly appreciated.

Thank you

question3.mw

## collect a product...

S:=...+a^4*b*c*x^2+...

So I know it is possible to collect for example any letter collect(S,x)

But I want to collect in particular for an entire product in this case

e.g. collect(S,a^4*b*c)

This obviously doesnt work but is it possible to get it working somehow?

## Groebner produces inconsistent result...

Hello,

Calculated a Grobasis basis. Used the 19 of the 29 equations to produce a Sylvester type matrix to get a univarite polynomial. The problem I am having is I can't produce a consistant matrix. I think the problem may lie in how I sort the equations. I have used this method once before and it worked to produce the result then. Run the worksheet and the run it again and most likely a different outcome occurs. I copy and pasted the polynmial list to make this worksheet. The coefficients are very long. Have annotated the worksheet to help explain.

## Alternative command to collect...

Consider you have an expression like:

f := (125*x^3+525*x^2*y+735*x*y^2+343*y^3-36*z^2)/(-216*z^3+25*x^2+70*x*y+49*y^2)

By hand and spending much time maybe we can find out so far that:

f := ((5*x+7*y)^3-(6*z)^2)/((5*x+7*y)^2-(6*z)^3)

I thought that the code `combine(f)` would give us the second one, but it didn’t. Is there anything obvious I cannot see?

Thanks for the time.

 1 2 3 Page 1 of 3
﻿