## 14 Badges

12 years, 194 days
East Grinstead, United Kingdom

## Maple 2022.1...

@Christian Wolinski I have hilighted what I thing look odd to me

(add@map)(proc(E) ``(lcoeff(E))*normal(E/lcoeff(E)) end@add, [Q(expand(pn))]);

## Very efficient....

@Carl Love Thank you.

## I noticed the '' what does it do...

@Christian Wolinski  Thank you.. Idid notice the '' no idea what they do.
I had tried end proc but it is the @dd I don't get either.

## Works! Can you Explain?...

@Christian Wolinski Thank you. That produces the lists nicely. I admit I don't understand the ListTools part of the code. Could you please explain it? I did look in the Help on it but right now don't quite get it.
There is some error  in the last line of the code.  I presume it is intended to maintain the order of the lists under addition.

 Error, invalid proc termination Just my experimentation

Download 30-7-22_Q_sort_equation_by_numerical_coeffs_ver_2.mw

## Clearly I misinterpreted the question....

@Ronan Sorry about that!

## Thank You...

@Carl Love Ok so I see now.  Just tested it this way

`(f, (E, V) -> V)(expand(A), exp(T))  gives  f(A, exp(T)), exp(T)`

## Can you explain......

@Christian Wolinski Very nice solution. I don't quite get the technicality of the (E,V)->V So E=expand(A) and V =exp(T) in this case and somehow (solve,((E,V)->V))(expand(A),exp(T))  includes exp(T) in the answer.   I notice the " " after solve and the enclosing (....) are necessary.  I did check through help but didn't see an explination. Of course maybe I missed that.

Edit:- I see that (E,V)->V))(expand(A),exp(T)   is eqivalent to

f := (E, V) -> V;

f(expand(A), exp(T));

## Solve Index Meaning?...

@Carl Love Can you explain what index means in relation to solve?

## True...

@Carl Love You are correct.  It took me a while to remenber the syntax to use.

## This might help you....

Interesting problem.  So I gather there are "s" nested summation loops. I asked a question a few months ago that required with a variable number of summation loops. @Carl Love answered it.

Is it possible to Add/sum by mapping multiple values from a list - MaplePrimes

So just to clarify can t[j] and t[i]  be replaced with T[j] , T[i] to totaly distinguish them from t?

I presume the inputs are M and s.

Edit:-On problems like this a I start with small values for s and M and build the nested summations/products to handle them before trying for the total solution. I attach  document to see if my begining intrepertations are correct.

 (1)

 (2)

 (3)

 (4)

 (5)

 (6)

Download 28-3-22_A_repetative_summation.mw

## not serious, an example...

@Ali2020 The document stated "I do not know how you achieved your resuls". As they are listed vertically they could come from a loop. That is all.

## Thank you....

@max125 Opps.. I post my revised answer here. Makes the answer simpler.

 (1)

 (2)

 (3)

 (4)

 (5)

 (6)

 (7)

Download 23-3-22_A1_integration.mw

## shouldn't need to uninstall...

@nm I would just install over it.  Only when I have a big problem do I "clean" a program out of a computer.

## Nice....

@dharr Oh.  I didn't realist that about view. Very simple.

## I Know...

@vv Yes I hit that. Couldnt fix it so I copied and pasted the answer.

@Carl Love Answer is much neater.

 First 12 13 14 15 16 17 18 Last Page 14 of 29
﻿