Michael

227 Reputation

11 Badges

18 years, 291 days

MaplePrimes Activity


These are questions asked by Michael

Hi:

I have a number of functions all enclosed inside the Sum functionin the  following form:

Test:=Sum(f1(n)+f2(n)),n=1..infinity);

Each of the functions f1, etc are fairly complicated, and there are more than two, but this example will do.

How do I get Maple to expand Test into the form:

Test:=Sum(f1(n),n=1..infinity) + Sum(f2(n),n=1..infinity);

I've tried every combination of expand, simplify, combine collect, that I can think of - nothing works.

Thank you

Your answer makes sense if Maple evaluates from innermost to outermost, so the substitution in T2c takes place AFTER Test is evaluated with a symbolic value of "n".

 But it doesn't explain why the "assuming" examples work - or don't work. If "Test" is evaluated first, then none of the examples should work; if the assumption is passed through "simultaneously" (whatever that means), then the wording of the error message doesn't make sense...

The attached file demonstrates that a substitution into a piecewise function appears (sometimes) to execute the wrong half of the function.

If I use "assuming" instead of substitution, the assumption appears to get through to the piecewise function, but only sometimes.

I don't understand why this happens. Can anyone clarify what is going on? See below.

Thank you.

 

______________________________________________________________

Hi: Does anyone have any insight into the following: I have Maple programs that use the following pattern: restart; commands; . . . I run such a program and it runs perfectly. I then go back to the beginning, including the "restart" and run the SAME PROGRAM with NO CHANGES. It (sometimes) runs differently!! Still gives the same answer, but sometimes the order of elements is changed, sometimes variables have "-" signs outside brackets with the variables inside the brackets also changing sign. I can exit Maple, reload the program and it doesn't always do the same thing. This is not unique to one program - it happens a lot with different programs I have written.
Hi: The following statements (output from a previous Maple calculation) results in a computer "freeze" when run under the latest version of Maple10 (Classic Worksheet) on a Windows XP machine. Definition: "freeze" - cursor halts midscreen and the machine refuses to respond to any keyboard commands, including ALT-CTRL-DEL 1. Can anyone reproduce this? WARNING - do not run this program if you have other windows open with data you want to retain. 2. Can anyone suggest how I can get the terms (1/x)^(-n1) and x^(-n1) to cancel? I've tried "simplify", "collect" and "combine" without success.
5 6 7 8 Page 7 of 8