## Flatten lists with sublists...

Given a list with sublists e.g.

[[a,b],[[c,d,e]]]

is there a way of merging everything into a single list, for example

[a,b,c,d,e]

## How to write simplify(eval(…)) as composition simp...

Hi there!

In order to keep the code more readable, and to spare myself some brackets, I am trying to use the function composition to write

as

but it doesn't work. How would I do it the right way? (I am coding in 2D math)

Thanks for help!

 >
 >
 (1)
 >
 >
 >
 >
 >
 (2)
 >
 >
 (3)
 >

## Hi, please see my question below...

I am trying to simplify the last expression, it has assumptions in it. The numerator is a negative of the denominator so I am trying to get 1, Please help.

## Problem in comparing the coefficient from an exres...

Dear Users!

Hope you would be fine. I want to construct system of equations by comparing the likes powers of x^i*y^j*t^k1*exp(k2*eta) for an expression H1 present in attached file. Please see the fix my problem. I shall be very thankful for your kind help.

Help.mw

## How to recover the default setting of pretty print...

After run a batch to cmaple to run a prettyprint=0 and screenwidth=500

it use lprint in window

i set prettyprint=2

still can not set back to original print for matrix

## convert RootOf expression to actual analytic solut...

I have big expressions containing RootOf() which are however pretty simple.

For example something like

RootOf(x^2+1,x)

Is it possible to convert this later into the actual solution? e.g. +-*I ??

## Solve a system of algebraic equations...

I want to solve the following algebraic equation system using solve command. But, it gives only the trivial solution. I want to find a,b and c in terms of k. k is a constant here. Thanks in advance.

Input:

```solve({-6*c+(3/2)*c^2-2*b-3*b*c+(3/2)*b^2-3*a*c+(k^2)*b-b+(3/2)*(a^2)+(k^2)*a-a=0,
-2*b-3*b*c+3*(b^2)-6*a*c+2*(k^2)*c-2*c-9*a*b+3*(k^2)*b-3*b+6*(a^2)+4*(k^2)*a-4*a=0,
(3/2)*(b^2)-3*a*c+(k^2)*c-c-9*a*b+3*(k^2)*b-3*b+9*(a^2)+6*(k^2)*a-a=0,
-3*a*b+(k^2)*b-b+6*(a^2)+4*(k^2)*a-4*a=0,
(3/2)*(a^2)+(k^2)*a-a=0},{a,b,c});```

Output:

`{a=0, b=0, c=0}`

## Cut of Errorfunction...

I'm currently wondering about the cut I'm looking for in the following worksheet.

I evaluate it in 2 ways but get different answers. Any idea what the problem here is?

Thanks

 >
 >

## Error in parial differential equations....

Hello everyone!

I want to solve a pde and create a matrix. But unfortunately, an error is formed.

Please, someone help me to remove that error.

Here, I am attaching a mapple file.

pde_solu.mw

## Newton's method or Bisection method of a function ...

Hello,

How to write the Newton's method and Bisection method in Maple of a function depending on a parameter ? The goal is to solve the equation F(y, eta) = 0 and find the root y(eta) using the Newton's method or Bisection method. An example is attached.

Thank you

## Phase Portraits in Maple...

I am wanting to plot a phase portrait of du/dt against u.

I have attempted to draw this on maple however am having great difficulty. Can anyone recommend what I may be doing wrong or how I should go about doing this?

## How can remove the redundant inequalities for defi...

Hi Dears,

Let us consider the following polyhedral cone which is defined by 8 inequalities (also, x,y,z ≥0):

1. y-z ≥0

2. 3y-2z ≥0

3. 2y-2z ≥0

4. x-2y+z ≥0

5. x-y ≥0

6. 2x-y ≥0

7. x-z ≥0

8. x+y-z ≥0.

How can we deduce that the inequalities 3 and 4 may be define this polyhedral cone and the others are redundant?

How can remove the redundant inequalities for defining this polyhedral cone?

Is there any Maple command or function that recive these 8 inequalities and return inequalities 3 and 4? In fact, inequalities 3 and 4 are facets of this polyhedral cone.