% egison -T -e '(maclaurin-expansion (cos x) x)'
1
0
(/ (* -1 x^2) 2)
0
(/ x^4 24)
0
(/ (* -1 x^6) 720)
0
(/ x^8 40320)
0
(/ (* -1 x^10) 3628800)
0
(/ x^12 479001600)
^C
% egison -T -e '(maclaurin-expansion (* i (sin x)) x)'
0
(* i x)
0
(/ (* -1 i x^3) 6)
0
(/ (* i x^5) 120)
0
(/ (* -1 i x^7) 5040)
0
(/ (* i x^9) 362880)
0
(/ (* -1 i x^11) 39916800)
0
^C
% egison -T -e '(maclaurin-expansion (** e (* i x)) x)'
1
(* i x)
(/ (* -1 x^2) 2)
(/ (* -1 i x^3) 6)
(/ x^4 24)
(/ (* i x^5) 120)
(/ (* -1 x^6) 720)
(/ (* -1 i x^7) 5040)
(/ x^8 40320)
(/ (* i x^9) 362880)
(/ (* -1 x^10) 3628800)
(/ (* -1 i x^11) 39916800)
(/ x^12 479001600)
^C
Last active
April 14, 2016 06:23
-
-
Save egisatoshi/f369edaa3233563b5fd27ecae6d4f06e to your computer and use it in GitHub Desktop.
MacLaurin expansion on shell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment