All pastes #1815273 Raw Edit

私の

public text v1 · immutable
#1815273 ·published 2010-02-28 05:04 UTC
rendered paste body
$ maxima
Maxima 5.15.0 http://maxima.sourceforge.net
Using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (aka GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) integrate((x^2+x+1)^10, x);
               21            20             19             18              17
(%o1) (184756 x   + 1939938 x   + 11231220 x   + 45265220 x   + 140360220 x
              16              15               14               13
 + 352098747 x   + 737176440 x   + 1313615160 x   + 2019027780 x
               12               11               10               9
 + 2699747050 x   + 3157866348 x   + 3239696460 x   + 2916373460 x
               8               7              6              5              4
 + 2298826530 x  + 1579663800 x  + 938929992 x  + 477224748 x  + 203693490 x
             3             2
 + 71131060 x  + 19399380 x  + 3879876 x)/3879876
(%i2) diff(%o1, x);
                20             19              18              17
(%o2) (3879876 x   + 38798760 x   + 213393180 x   + 814773960 x
               16               15                14                13
 + 2386123740 x   + 5633579952 x   + 11057646600 x   + 18390612240 x
                12                11                10                9
 + 26247361140 x   + 32396964600 x   + 34736529828 x   + 32396964600 x
                8                7                6               5
 + 26247361140 x  + 18390612240 x  + 11057646600 x  + 5633579952 x
               4              3              2
 + 2386123740 x  + 814773960 x  + 213393180 x  + 38798760 x + 3879876)/3879876
(%i3) ratsimp(%o2);
       20       19       18        17        16         15         14
(%o3) x   + 10 x   + 55 x   + 210 x   + 615 x   + 1452 x   + 2850 x
         13         12         11         10         9         8         7
 + 4740 x   + 6765 x   + 8350 x   + 8953 x   + 8350 x  + 6765 x  + 4740 x
         6         5        4        3       2
 + 2850 x  + 1452 x  + 615 x  + 210 x  + 55 x  + 10 x + 1
(%i4) expand((x^2+x+1)^10);
       20       19       18        17        16         15         14
(%o4) x   + 10 x   + 55 x   + 210 x   + 615 x   + 1452 x   + 2850 x
         13         12         11         10         9         8         7
 + 4740 x   + 6765 x   + 8350 x   + 8953 x   + 8350 x  + 6765 x  + 4740 x
         6         5        4        3       2
 + 2850 x  + 1452 x  + 615 x  + 210 x  + 55 x  + 10 x + 1
(%i5)