Die heutigen Übungen sollen mit dem Computeralgebrasystem Sage gelöst werden.
Die Lösung der Beispiele soll auf möglichst kompakte Weise erfolgen. Wenn zum Beispiel eine Funktion für mehrere Werte berechnet werden soll, soll das mittels einer geeigneten Schleifen oder Listen Operation erfolgen, und nicht alle Werte einzeln eingetippt werden.
Zwischenergebnisse welche in einem weiteren Berechnungsschritt benötigt werden, sollen in eine Variable gespeichert und weiterverwendet werden (nicht neu eintippen).
|
x^5 + 4*x^4 + 9*x^3 + 20*x^2 + 55*x + 138 x^5 + 4*x^4 + 9*x^3 + 20*x^2 + 55*x + 138 |
351*x^2 + 194*x + 135 351*x^2 + 194*x + 135 |
|
|
x x |
|
|
|
![]() |
Bestimmen Sie symbolisch den Wert der unendlichen Reihe
Hinweis: Verwenden Sie das Maxima Interface von Sage, und den Maxima Befehl simplify_sum aus dem Maxima Paket simplify_sum.
"/local/data/huss/software/sage-3.2.1/local/share/maxima/5.16.3/shar\ e/contrib/solve_rec/simplify_sum.mac" "/local/data/huss/software/sage-3.2.1/local/share/maxima/5.16.3/share/contrib/solve_rec/simplify_sum.mac" |
'sum(2^n*n!^2/(2*n)!,n,1,inf) 'sum(2^n*n!^2/(2*n)!,n,1,inf) |
|
|
2.570796326794896619231321691639751442098584699687552910487472296153\ 90820314310449931401741267105853399 2.57079632679489661923132169163975144209858469968755291048747229615390820314310449931401741267105853399 |
2.570796326794896619231321691639751442098584699687552910487472296153\ 908203143104499314017412671058534 2.570796326794896619231321691639751442098584699687552910487472296153908203143104499314017412671058534 |
Finden Sie eine geschlossene Formel für die Summe
Hinweis: Verwenden Sie das Maxima Interface von Sage, und den Maxima Befehl simplify_sum aus dem Maxima Paket simplify_sum.
"/local/data/huss/software/sage-3.2.1/local/share/maxima/5.16.3/shar\ e/contrib/solve_rec/simplify_sum.mac" "/local/data/huss/software/sage-3.2.1/local/share/maxima/5.16.3/share/contrib/solve_rec/simplify_sum.mac" |
3*k^2+3*k 3*k^2+3*k |
'sum(3*k^2+3*k,k,1,n) 'sum(3*k^2+3*k,k,1,n) |
|
|
True True |
True True |
n\k| 0 1 2 3 4 5 6 7 8 9 10 ----------------------------------------------------------------------- 0| 1 0 0 0 0 0 0 0 0 0 0 1| 0 1 0 0 0 0 0 0 0 0 0 2| 0 1 1 0 0 0 0 0 0 0 0 3| 0 1 3 1 0 0 0 0 0 0 0 4| 0 1 7 6 1 0 0 0 0 0 0 5| 0 1 15 25 10 1 0 0 0 0 0 6| 0 1 31 90 65 15 1 0 0 0 0 7| 0 1 63 301 350 140 21 1 0 0 0 8| 0 1 127 966 1701 1050 266 28 1 0 0 9| 0 1 255 3025 7770 6951 2646 462 36 1 0 10| 0 1 511 9330 34105 42525 22827 5880 750 45 1 n\k| 0 1 2 3 4 5 6 7 8 9 10 ----------------------------------------------------------------------- 0| 1 0 0 0 0 0 0 0 0 0 0 1| 0 1 0 0 0 0 0 0 0 0 0 2| 0 1 1 0 0 0 0 0 0 0 0 3| 0 1 3 1 0 0 0 0 0 0 0 4| 0 1 7 6 1 0 0 0 0 0 0 5| 0 1 15 25 10 1 0 0 0 0 0 6| 0 1 31 90 65 15 1 0 0 0 0 7| 0 1 63 301 350 140 21 1 0 0 0 8| 0 1 127 966 1701 1050 266 28 1 0 0 9| 0 1 255 3025 7770 6951 2646 462 36 1 0 10| 0 1 511 9330 34105 42525 22827 5880 750 45 1 |
n\k| 0 1 2 3 4 5 6 7 8 9 10 ----------------------------------------------------------------------- 0| 1 0 0 0 0 0 0 0 0 0 0 1| 0 1 0 0 0 0 0 0 0 0 0 2| 0 1 1 0 0 0 0 0 0 0 0 3| 0 1 3 1 0 0 0 0 0 0 0 4| 0 1 7 6 1 0 0 0 0 0 0 5| 0 1 15 25 10 1 0 0 0 0 0 6| 0 1 31 90 65 15 1 0 0 0 0 7| 0 1 63 301 350 140 21 1 0 0 0 8| 0 1 127 966 1701 1050 266 28 1 0 0 9| 0 1 255 3025 7770 6951 2646 462 36 1 0 10| 0 1 511 9330 34105 42525 22827 5880 750 45 1 n\k| 0 1 2 3 4 5 6 7 8 9 10 ----------------------------------------------------------------------- 0| 1 0 0 0 0 0 0 0 0 0 0 1| 0 1 0 0 0 0 0 0 0 0 0 2| 0 1 1 0 0 0 0 0 0 0 0 3| 0 1 3 1 0 0 0 0 0 0 0 4| 0 1 7 6 1 0 0 0 0 0 0 5| 0 1 15 25 10 1 0 0 0 0 0 6| 0 1 31 90 65 15 1 0 0 0 0 7| 0 1 63 301 350 140 21 1 0 0 0 8| 0 1 127 966 1701 1050 266 28 1 0 0 9| 0 1 255 3025 7770 6951 2646 462 36 1 0 10| 0 1 511 9330 34105 42525 22827 5880 750 45 1 |
44754563535486898023760406147845887138100226753724037248460285587734\ 0726924157920380127788644000 CPU time: 0.02 s, Wall time: 0.03 s 447545635354868980237604061478458871381002267537240372484602855877340726924157920380127788644000 CPU time: 0.02 s, Wall time: 0.03 s |
44754563535486898023760406147845887138100226753724037248460285587734\ 0726924157920380127788644000 CPU time: 0.00 s, Wall time: 0.00 s 447545635354868980237604061478458871381002267537240372484602855877340726924157920380127788644000 CPU time: 0.00 s, Wall time: 0.00 s |
12968140938681565914995612307114049718312816545966687321175690264267\ 56739703856363800950644188543874136543268023589088351758963601321890\ 43627514122540412529602530574964237040179788828178875194503428251067\ 88617351227429703762892323539498143829263644537861261519232275295982\ 91396386576594180741573746673369922420878438081108723641817748775600\ 15257135664708406748283456533315722630025486607950679592277016618355\ 56392295097157738983575389094164071704429392118761857783271628467228\ 52407390253102769381762295879807451335169622139964709297551222075784\ 50747566076439072259027699178623224885133113242035107040508034674081\ 21449476704433359406493781499812626827727051958696986975496020201552\ 91132000 CPU time: 0.78 s, Wall time: 0.79 s 1296814093868156591499561230711404971831281654596668732117569026426756739703856363800950644188543874136543268023589088351758963601321890436275141225404125296025305749642370401797888281788751945034282510678861735122742970376289232353949814382926364453786126151923227529598291396386576594180741573746673369922420878438081108723641817748775600152571356647084067482834565333157226300254866079506795922770166183555639229509715773898357538909416407170442939211876185778327162846722852407390253102769381762295879807451335169622139964709297551222075784507475660764390722590276991786232248851331132420351070405080346740812144947670443335940649378149981262682772705195869698697549602020155291132000 CPU time: 0.78 s, Wall time: 0.79 s |
12968140938681565914995612307114049718312816545966687321175690264267\ 56739703856363800950644188543874136543268023589088351758963601321890\ 43627514122540412529602530574964237040179788828178875194503428251067\ 88617351227429703762892323539498143829263644537861261519232275295982\ 91396386576594180741573746673369922420878438081108723641817748775600\ 15257135664708406748283456533315722630025486607950679592277016618355\ 56392295097157738983575389094164071704429392118761857783271628467228\ 52407390253102769381762295879807451335169622139964709297551222075784\ 50747566076439072259027699178623224885133113242035107040508034674081\ 21449476704433359406493781499812626827727051958696986975496020201552\ 91132000 CPU time: 0.00 s, Wall time: 0.01 s 1296814093868156591499561230711404971831281654596668732117569026426756739703856363800950644188543874136543268023589088351758963601321890436275141225404125296025305749642370401797888281788751945034282510678861735122742970376289232353949814382926364453786126151923227529598291396386576594180741573746673369922420878438081108723641817748775600152571356647084067482834565333157226300254866079506795922770166183555639229509715773898357538909416407170442939211876185778327162846722852407390253102769381762295879807451335169622139964709297551222075784507475660764390722590276991786232248851331132420351070405080346740812144947670443335940649378149981262682772705195869698697549602020155291132000 CPU time: 0.00 s, Wall time: 0.01 s |
12968140938681565914995612307114049718312816545966687321175690264267\ 56739703856363800950644188543874136543268023589088351758963601321890\ 43627514122540412529602530574964237040179788828178875194503428251067\ 88617351227429703762892323539498143829263644537861261519232275295982\ 91396386576594180741573746673369922420878438081108723641817748775600\ 15257135664708406748283456533315722630025486607950679592277016618355\ 56392295097157738983575389094164071704429392118761857783271628467228\ 52407390253102769381762295879807451335169622139964709297551222075784\ 50747566076439072259027699178623224885133113242035107040508034674081\ 21449476704433359406493781499812626827727051958696986975496020201552\ 91132000 CPU time: 1.34 s, Wall time: 1.36 s 1296814093868156591499561230711404971831281654596668732117569026426756739703856363800950644188543874136543268023589088351758963601321890436275141225404125296025305749642370401797888281788751945034282510678861735122742970376289232353949814382926364453786126151923227529598291396386576594180741573746673369922420878438081108723641817748775600152571356647084067482834565333157226300254866079506795922770166183555639229509715773898357538909416407170442939211876185778327162846722852407390253102769381762295879807451335169622139964709297551222075784507475660764390722590276991786232248851331132420351070405080346740812144947670443335940649378149981262682772705195869698697549602020155291132000 CPU time: 1.34 s, Wall time: 1.36 s |
1 x 2 x^{2} - 1 4 x^{3} - 3 x 8 x^{4} - 8 x^{2} + 1 16 x^{5} - 20 x^{3} + 5 x 32 x^{6} - 48 x^{4} + 18 x^{2} - 1 64 x^{7} - 112 x^{5} + 56 x^{3} - 7 x 128 x^{8} - 256 x^{6} + 160 x^{4} - 32 x^{2} + 1 256 x^{9} - 576 x^{7} + 432 x^{5} - 120 x^{3} + 9 x 512 x^{10} - 1280 x^{8} + 1120 x^{6} - 400 x^{4} + 50 x^{2} - 1 1 x 2 x^{2} - 1 4 x^{3} - 3 x 8 x^{4} - 8 x^{2} + 1 16 x^{5} - 20 x^{3} + 5 x 32 x^{6} - 48 x^{4} + 18 x^{2} - 1 64 x^{7} - 112 x^{5} + 56 x^{3} - 7 x 128 x^{8} - 256 x^{6} + 160 x^{4} - 32 x^{2} + 1 256 x^{9} - 576 x^{7} + 432 x^{5} - 120 x^{3} + 9 x 512 x^{10} - 1280 x^{8} + 1120 x^{6} - 400 x^{4} + 50 x^{2} - 1 |
![]() |
![]() |