catalan

36 Reputation

2 Badges

16 years, 82 days

MaplePrimes Activity


These are answers submitted by catalan

Thanks a lot, both of these solutions work.

I've gone for the second one because i've found it easier to include other functions by going through the same procedure and just replacing the

evalf(%)
with
X := evalf(%);

for each function i'm interested in, and then using:

plot([X,Y,Z...])

to plot all of them.

 

Thanks again!

This is the expression i am trying to evaluate and plot:

 

sum(sum((-1)^(k-j)*binomial(k,j)*j^(n), j=1..k ), k=1..n)

Thanks to both of you for these replies.

 

Robert is right: i made a mistake.. apologies. The sums should have been swapped. Maple 9 doesn't give an answer unless this is done. However, when i do swap them (using the code provided by tatan2501) i just get zeros (which i think is because it just evaluates the interior sum with j=k...)

I'm not really managing to think up an idea of how to write it so that it passes the indexes correctly between the summations. If the program is not setup to deal with this kind of situation am i better off writing a loop to do it 'manually'?

 

All suggestions very welcome

Thanks for the help!

The graph shows that this code obviously works for you but for some reason when i run it i get the following error message: "Error, (in pointplot) incorrect first argument"

Any ideas? I'm using Maple9 if that's at all relevant..

Page 1 of 1