I'm having trouble expanding a summation.
I start with ex1:sum(f[i,j],i,1,n);
Then I substitute for n with ex2:subst(4,n,ex1);
I'd like to see all 4 terms written out like f[1,j]+f[2,j]+f[3,j]+f[4,j], but the expression is always written with the summation sign. I've tried expand(), expandwrt(), ev(), etc. Can someone tell me how to do this?
I'm actually using this to form the equations for a large finite difference scheme for a partial differential equation, and I need to know the coefficients of each f[i,j]. I think if I can expand the summations I can use coeff() to see each coefficient I need.
Bill Maier
_________________________________________________________________
Windows Live? Hotmail?: Search, add, and share the web?s latest sports videos. Check it out.
http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_videos_072009&cat=sports