|
From: Susmita/Rajib <bkp...@gm...> - 2018-10-18 11:33:54
|
Good afternoon, Sir. Is my version of maxima creating a problem? Because I can't expand. I wanted a form like the link below — the usual Binomial Equation with summation notation usually come across in books on the LHS — to the un-compacting of all terms (i.e., n+1 terms) for any y and integral n. Also, the infinite terms truncated to, say 10 terms, for n as rational and |y| <1. Like this expanded form. https://gradestack.com/JEE-Main-2015-Complete/Binomial-Theorem/Binomial-Theorem-for-Any/19662-4056-42813-study-wtw ================================================= My input outputs are as follows: ================================================= /* [wxMaxima batch file version 1] [ DO NOT EDIT BY HAND! ]*/ /* [ Created with wxMaxima version 12.04.0 ] */ /* [wxMaxima: input start ] */ assume ( 0 < y , y < 1, n > 0); eq1 = ((1 + y )^ (1/n)); /* [wxMaxima: input end ] */ working /* [wxMaxima: input start ] */ subst( n=10, %o2 ); /* [wxMaxima: input end ] */ working /* [wxMaxima: input start ] */ expand((%o3)); /* [wxMaxima: input end ] */ fails. Returns same o3. ================================================= OR ================================================= Alternatively: ================================================= /* [wxMaxima batch file version 1] [ DO NOT EDIT BY HAND! ]*/ /* [ Created with wxMaxima version 12.04.0 ] */ /* [wxMaxima: input start ] */ assume ( 0 < y , y < 1, n > 0); ((1 + y )^ (1/n)); /* [wxMaxima: input end ] */ working /* [wxMaxima: input start ] */ subst( n=10, %o2 ); /* [wxMaxima: input end ] */ working /* [wxMaxima: input start ] */ expand((%o3)); /* [wxMaxima: input end ] */ fails. Returns same o3. ================================================= Neither of the 3rd step, expand((%o3)); , works for my version. Am I going wrong anywhere? Regards, Rajib |