%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
;ELC ;;; Compiled ;;; in Emacs version 25.2.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\207" [require calc-ext calc-macs] 2) (defalias 'calc-derivative #[(var num) "\300\301`\"\207" [calc-do #[nil "\305W\203\n \306\307!\210\310 \203 \311\202 \312\313\211\f\314\232\204% \f\315\232\2032 \316\317\316!\317\320!\202J \321\f!\211\242\306=\203D \306\322\fA@\"\210\320\317\320!S\211\305Y\203[ \fE\202J \323\n\324 #+\207" [num expr n func var 0 error "Order of derivative must be positive" calc-is-hyperbolic calcFunc-tderiv calcFunc-deriv nil "" "$" 2 calc-top-n 1 math-read-expr "Bad format in expression: %s" calc-enter-result "derv"] 5]] 3 nil "sDifferentiate with respect to: \np"]) (defalias 'calc-integral #[(var &optional arg) "\203 \302\303\304\305\306 \306\211&\207\307\310`\"\207" [arg var calc-tabular-command calcFunc-integ "Integration" "intg" nil calc-do #[nil "\301\232\204\f \302\232\203 \303\304\305\306\307\304!\307\310!E#\207\311!\211\242\312=\203+ \312\313A@\"\210\303\310\305\306\307\310!E#)\207" [var "" "$" calc-enter-result 2 "intg" calcFunc-integ calc-top-n 1 math-read-expr error "Bad format in expression: %s"] 8]] 8 nil "sIntegration variable: \nP"]) (defalias 'calc-num-integral #[(&optional varname lowname highname) "\303\304\305\306\307 \n&\207" [varname lowname highname calc-tabular-command calcFunc-ninteg "Integration" "nint" nil] 8 nil "sIntegration variable: "]) (defalias 'calc-summation #[(arg &optional varname lowname highname) "\304\305\306\307 \n&\207" [arg varname lowname highname calc-tabular-command calcFunc-sum "Summation" "sum"] 8 nil "P\nsSummation variable: "]) (defalias 'calc-alt-summation #[(arg &optional varname lowname highname) "\304\305\306\307 \n&\207" [arg varname lowname highname calc-tabular-command calcFunc-asum "Summation" "asum"] 8 nil "P\nsSummation variable: "]) (defalias 'calc-product #[(arg &optional varname lowname highname) "\304\305\306\307 \n&\207" [arg varname lowname highname calc-tabular-command calcFunc-prod "Index" "prod"] 8 nil "P\nsIndex variable: "]) (defalias 'calc-tabulate #[(arg &optional varname lowname highname) "\304\305\306\307 \n&\207" [arg varname lowname highname calc-tabular-command calcFunc-table "Index" "tabl"] 8 nil "P\nsIndex variable: "]) (defalias 'calc-tabular-command #[(func prompt prefix arg varname lowname highname) "\300\301`\"\207" [calc-do #[nil "\306\211\211\211\211\211\307\306:\203 \307\202 \310\311\232\2042 \312\232\2042 \204L \313\nT!\313\n\314\\!\313\n\315\\!\n\316\\\202G;\203Y \317!\202[ \211\242\320=\203l \320\321A@\"\210\204| \322\323\324R!\311\232\204\212 \312\232\203\235 \313\nT!\313\n\314\\!\n\315\\\202G;\203\252 \317!\202\254 \211\242\320=\203\275 \320\321A@\"\210 \204\321 \322\323\324\325\260! \311\232\204\337 \312\232\203\353 \313\nT!\n\314\\\202G ;\203\370 \317 !\202\372 \211\242\320=\203 \320\321 A@\"\210:\203G\322\323\324\325 \326\260!\211\311\232\204,\312\232\2035\313\307!\314\202G\317!\211\242\320=\203G\320\321\fA@\"\210\f\204b:\203X\313\307!\202b\203b\327!\313 !\330 !\331\" \257\f\205{\fC\"#.\207" [expr num stepnum stepname step high nil 1 0 "" "$" calc-top-n 2 3 4 math-read-expr error "Bad format in expression: %s" read-string " variable: " ", from: " ", to: " ", step: " prefix-numeric-value calc-enter-result append low var arg varname lowname prompt highname prefix func] 10]] 3]) (defalias 'calc-solve-for #[(var) "\300\301`\"\207" [calc-do #[nil "\302 \203 \303 \203 \304\202 \305\202 \303 \203 \306\202 \307 \310\232\204) \311\232\2038 \312\313\314\315\313!\315\316!E#\202l \317\320 \"\203O \317\321 \"\204O \322\323 \324Q!\202R \322 !\211\242\325=\203a \325\326 A@\"\210\312\316\314\315\316! E#))\207" [func var calc-is-inverse calc-is-hyperbolic calcFunc-ffinv calcFunc-finv calcFunc-fsolve calcFunc-solve "" "$" calc-enter-result 2 "solv" calc-top-n 1 string-match ",\\|[^ ] +[^ ]" "\\[" math-read-expr "[" "]" error "Bad format in expression: %s"] 8]] 3 nil "sVariable(s) to solve for: "]) (defalias 'calc-poly-roots #[(var) "\300\301`\"\207" [calc-do #[nil "\301\232\204\f \302\232\203 \303\304\305\306\307\304!\307\310!E#\207\311\312\"\2030 \311\313\"\2040 \314\315\316Q!\2023 \314!\211\242\317=\203B \317\320A@\"\210\303\310\305\306\307\310!E#)\207" [var "" "$" calc-enter-result 2 "prts" calcFunc-roots calc-top-n 1 string-match ",\\|[^ ] +[^ ]" "\\[" math-read-expr "[" "]" error "Bad format in expression: %s"] 8]] 3 nil "sVariable to solve for: "]) (defalias 'calc-taylor #[(var nterms) "\300\301`\"\207" [calc-do #[nil "\302!\211\242\303=\203 \303\304A@\"\210\305\306\307\310\311\306!\312 !F#)\207" [var nterms math-read-expr error "Bad format in expression: %s" calc-enter-result 1 "tylr" calcFunc-taylor calc-top-n prefix-numeric-value] 9]] 3 nil "sTaylor expansion variable: \nNNumber of terms: "]) (defalias 'math-derivative #[(expr) " \232\203 \306\207\211:?\206 \n@\307>)\204C @\310=\204C @\311=\203E \203C \312!\204C \313 \210\314\3158\f\236\206= A@>\203E \316\207@\317=\203Y \320\321A@!\321\3158!\"\207@\322=\203m \323\321A@!\321\3158!\"\207@\324>\203\202 @\321A@!\321\3158!E\207@\325=\203\221 \326\321A@!!\207@\327=\203\257 \320\330\3158\321A@!\"\330A@\321\3158!\"\"\207@\331=\203\324 \323\332\321A@!\3158\"\332\330A@\321\3158!\"\333\3158!\"\"\207@\334=\203p\321A@!\321\3158!@\211A\211:\203 \n@\335>?\205\n@\336=\203\nA@\316=\202\337\n!\202\n\316=)\204,\330\3158\330\340\334A@\320\3158\341\"E!A\"\"A@\211:\203Q\n@\335>?\205T\n@\336=\203K\nA@\316=\202T\337\n!\202T\n\316=)\204h\330\340\342A@D!\330@\"\"@\320A@\"*\207@\343=\203}\321A@!\207@\344=\203\211\345\321\"\207@\346>\203\240G\315U\203\240@\321A@!D\207@\347>\203\312G\350U\203\312\321A@!B\351B!\203\300\316\202\310@B\3158E)\207@9\2039G\315U\203'@\321N\211C\205#\321A@!\211D\211:\203\f\n@\335>?\205\n@\336=\203\nA@\316=\202\337\n!\202\n\316=)\203D\202\"\330CA@!D\"))\2026@\352N\211C\2055C!)\206wE\353=\204`\354!\211F\205\\\353E\3552T\321!0)\206\\\321F!)\206w\211:?\206l\n@\356>)\204}@\311=\204}@9\204\224E\203\207\357\355\360\"\207\203\217\361\202\220\362 E\207\316\306\360GHIJIA\211I\203t\321I@!\211G\211:\203\324\n@\335>?\205\327\n@\336=\203\316\nA@\316=\202\327\337\n!\202\327\n\316=)\204l\363\364@!\365H\306V\203\357\366H!\202\360\367Q!G\315U\203\375\370\202&G\350U\203\371\202&G\372U\203\373\202&G\374U\203\375\202&G\376U\205&\377KL\320J\330GLKNCK\203LC\203L\201M CA\"\206fE\203aL\201N N\204a\357\355\360\"\202fLAB)\"\"J*HTH\202\240J,\207" [expr math-deriv-var a math-deriv-total math-decls-cache math-decls-all 1 (bigpos bigneg frac float cplx polar hms) sdev var math-const-var math-setup-declarations const 2 0 + math-add math-derivative - math-sub (calcFunc-eq calcFunc-neq calcFunc-lt calcFunc-gt calcFunc-leq calcFunc-geq) neg math-neg * math-mul / math-div math-sqr ^ (bigpos bigneg) float math-zerop math-normalize -1 calcFunc-ln % vec math-map-vec (calcFunc-conj calcFunc-re calcFunc-im) (calcFunc-subscr calcFunc-mrow calcFunc-mcol) 3 math-numberp math-derivative-n pre-expand math-expand-formula math-deriv (bigpos bigneg frac float cplx polar hms date sdev intv mod vec) throw nil calcFunc-tderiv calcFunc-deriv intern symbol-name "'" int-to-string "" math-derivative-1 math-derivative-2 4 math-derivative-3 5 math-derivative-4 6 math-derivative-5 dv du d handler deriv math-deriv-symb exp derv n arg accum prop func apply calc-user-defn] 10]) (defalias 'calcFunc-deriv #[(expr math-deriv-var &optional deriv-value math-deriv-symb) "\305\3062\n \307 !0\211\242\310=\204 \n\203 \311\n!\n\205+ \203* \312\n\f#\202+ \n*\207" [math-deriv-total expr res deriv-value math-deriv-var nil math-deriv math-derivative calcFunc-deriv math-normalize math-expr-subst] 5]) (defalias 'calcFunc-tderiv #[(expr math-deriv-var &optional deriv-value math-deriv-symb) "\305 \210\306\3072 \310 !0\211\242\311=\204 \n\203 \312\n!\n\205. \203- \313\n\f#\202. \n*\207" [math-deriv-total expr res deriv-value math-deriv-var math-setup-declarations t math-deriv math-derivative calcFunc-tderiv math-normalize math-expr-subst] 5]) (byte-code "\300\301\302\303#\210\300\304\302\305#\210\300\306\302\307#\210\300\310\302\311#\210\300\312\302\313#\210\300\314\302\315#\210\300\316\302\317#\210\300\320\321\322#\210\300\323\321\324#\210\300\325\302\326#\210\300\327\302\330#\210\300\331\302\332#\210\300\333\302\334#\210\300\335\302\336#\210\300\337\302\340#\210\300\341\302\342#\210\300\343\302\344#\210\300\345\302\346#\210\300\347\302\350#\210\300\351\302\352#\210\300\353\302\354#\210\300\355\302\356#\210\300\357\302\360#\210\300\361\302\362#\210\300\363\302\364#\210\300\365\302\366#\210\300\367\302\370#\210\300\371\302\372#\210\300\373\302\374#\210\300\375\321\376#\210\300\377\321\201@ #\210\300\201A \321\201B #\210\300\201C \321\201D #\210\300\201E \321\201F #\210\300\201G \321\201H #\207" [put calcFunc-inv\' math-derivative-1 #[(u) "\301\302\303\304!\"!\207" [u math-neg math-div 1 math-sqr] 5] calcFunc-sqrt\' #[(u) "\301\302\303\304\305D\"\"\207" [u math-div 1 math-mul 2 calcFunc-sqrt] 6] calcFunc-deg\' #[(u) "\300\301\302 \"\207" [math-div-float (float 18 1) math-pi] 3] calcFunc-rad\' #[(u) "\300 \207" [math-pi-over-180] 1] calcFunc-ln\' #[(u) "\301\302\"\207" [u math-div 1] 3] calcFunc-log10\' #[(u) "\301\211\302\303\304!\"\"\207" [u math-div 1 math-normalize (calcFunc-ln 10)] 5] calcFunc-lnp1\' #[(u) "\301\302\303\302\"\"\207" [u math-div 1 math-add] 5] calcFunc-log\' math-derivative-2 #[(x b) "\211:\203$ @\304>?\205' @\305=\203 A@\306=\202' \307 !\202' \306=)?\205: \310\311D!\312\313\314\n\"\")\207" [b a lnv x (bigpos bigneg) float 0 math-zerop math-normalize calcFunc-ln math-div 1 math-mul] 6] calcFunc-log\'2 #[(x b) "\303D\304\305\306\nE\307 \"\"!)\207" [b lnv x calcFunc-ln math-neg math-div calcFunc-log math-mul] 6] calcFunc-exp\' #[(u) "\301\302D!\207" [u math-normalize calcFunc-exp] 3] calcFunc-expm1\' #[(u) "\301\302D!\207" [u math-normalize calcFunc-expm1] 3] calcFunc-sin\' #[(u) "\301\302\303D!\304\"\207" [u math-to-radians-2 math-normalize calcFunc-cos t] 4] calcFunc-cos\' #[(u) "\301\302\303\304D!\305\"!\207" [u math-neg math-to-radians-2 math-normalize calcFunc-sin t] 5] calcFunc-tan\' #[(u) "\301\302\303\304D!!\305\"\207" [u math-to-radians-2 math-sqr math-normalize calcFunc-sec t] 5] calcFunc-sec\' #[(u) "\301\302\303\304D!\303\305D!\"\306\"\207" [u math-to-radians-2 math-mul math-normalize calcFunc-sec calcFunc-tan t] 6] calcFunc-csc\' #[(u) "\301\302\303\304\305D!\304\306D!\"\307\"!\207" [u math-neg math-to-radians-2 math-mul math-normalize calcFunc-csc calcFunc-cot t] 7] calcFunc-cot\' #[(u) "\301\302\303\304\305D!!\306\"!\207" [u math-neg math-to-radians-2 math-sqr math-normalize calcFunc-csc t] 6] calcFunc-arcsin\' #[(u) "\301\302\303\304\305\306\303\307!\"D!\"\310\"\207" [u math-from-radians-2 math-div 1 math-normalize calcFunc-sqrt math-sub math-sqr t] 9] calcFunc-arccos\' #[(u) "\301\302\303\304\305\306\307\310!\"D!\"\311\"\207" [u math-from-radians-2 math-div -1 math-normalize calcFunc-sqrt math-sub 1 math-sqr t] 9] calcFunc-arctan\' #[(u) "\301\302\303\304\303\305!\"\"\306\"\207" [u math-from-radians-2 math-div 1 math-add math-sqr t] 7] calcFunc-sinh\' #[(u) "\301\302D!\207" [u math-normalize calcFunc-cosh] 3] calcFunc-cosh\' #[(u) "\301\302D!\207" [u math-normalize calcFunc-sinh] 3] calcFunc-tanh\' #[(u) "\301\302\303D!!\207" [u math-sqr math-normalize calcFunc-sech] 4] calcFunc-sech\' #[(u) "\301\302\303\304D!\303\305D!\"!\207" [u math-neg math-mul math-normalize calcFunc-sech calcFunc-tanh] 6] calcFunc-csch\' #[(u) "\301\302\303\304D!\303\305D!\"!\207" [u math-neg math-mul math-normalize calcFunc-csch calcFunc-coth] 6] calcFunc-coth\' #[(u) "\301\302\303\304D!!!\207" [u math-neg math-sqr math-normalize calcFunc-csch] 5] calcFunc-arcsinh\' #[(u) "\301\302\303\304\305\306!\302\"D!\"\207" [u math-div 1 math-normalize calcFunc-sqrt math-add math-sqr] 7] calcFunc-arccosh\' #[(u) "\301\302\303\304\305\306!\307\"D!\"\207" [u math-div 1 math-normalize calcFunc-sqrt math-add math-sqr -1] 7] calcFunc-arctanh\' #[(u) "\301\302\303\302\304!\"\"\207" [u math-div 1 math-sub math-sqr] 6] calcFunc-bern\'2 #[(n x) "\302\303\304\305\" E\"\207" [n x math-mul calcFunc-bern math-add -1] 6] calcFunc-euler\'2 #[(n x) "\302\303\304\305\" E\"\207" [n x math-mul calcFunc-euler math-add -1] 6] calcFunc-gammag\'2 #[(a x) "\302 \303#\207" [a x math-deriv-gamma 1] 4] calcFunc-gammaG\'2 #[(a x) "\302 \303#\207" [a x math-deriv-gamma -1] 4] calcFunc-gammaP\'2 #[(a x) "\302 \303\304\305\306D!\"#\207" [a x math-deriv-gamma math-div 1 math-normalize calcFunc-gamma] 8] calcFunc-gammaQ\'2 #[(a x) "\302 \303\304\305\306D!\"#\207" [a x math-deriv-gamma math-div -1 math-normalize calcFunc-gamma] 8]] 4) (defalias 'math-deriv-gamma #[(a x scale) "\303\303\304 \305\n\306\"\"\307\310 !D\"\"\207" [scale x a math-mul math-pow math-add -1 calcFunc-exp math-neg] 8]) (byte-code "\300\301\302\303#\210\300\304\302\305#\207" [put calcFunc-betaB\' math-derivative-3 #[(x a b) "\303 \n\304$\207" [x a b math-deriv-beta 1] 5] calcFunc-betaI\' #[(x a b) "\303 \n\304\305\306 \nE\"$\207" [x a b math-deriv-beta math-div 1 calcFunc-beta] 9]] 4) (defalias 'math-deriv-beta #[(x a b scale) "\304\211\305\306 \307\"\"\305\310\311\"\306\n\307\"\"\"\"\207" [x a b scale math-mul math-pow math-add -1 math-sub 1] 8]) (byte-code "\300\301\302\303#\210\300\304\302\305#\210\300\306\307\310#\210\300\311\307\312#\210\300\313\314\315#\210\300\316\314\317#\210\300\320\314\321#\210\300\322\314\323#\210\300\324\314\325#\207" [put calcFunc-erf\' math-derivative-1 #[(x) "\302\303\304\305\306!D \203 \307\202 \310 \"\"\207" [x calc-symbolic-mode math-div 2 math-mul calcFunc-exp math-sqr (calcFunc-sqrt (var pi var-pi)) math-sqrt-pi] 6] calcFunc-erfc\' #[(x) "\302\303\304\305\306!D \203 \307\202 \310 \"\"\207" [x calc-symbolic-mode math-div -2 math-mul calcFunc-exp math-sqr (calcFunc-sqrt (var pi var-pi)) math-sqrt-pi] 6] calcFunc-besJ\'2 math-derivative-2 #[(v z) "\302\303\304\305\306\" E\304\305\307\" E\"\310\"\207" [v z math-div math-sub calcFunc-besJ math-add -1 1 2] 7] calcFunc-besY\'2 #[(v z) "\302\303\304\305\306\" E\304\305\307\" E\"\310\"\207" [v z math-div math-sub calcFunc-besY math-add -1 1 2] 7] calcFunc-sum math-derivative-n #[(expr) "\302\303AAB \"\203 \304\305\306\"\207\307\310A@!AABB\207" [expr math-deriv-var math-expr-contains vec throw math-deriv nil calcFunc-sum math-derivative] 3] calcFunc-prod #[(expr) "\302\303AAB \"\203 \304\305\306\"\207\307\310\311\312A@!A@\"AABB\"\207" [expr math-deriv-var math-expr-contains vec throw math-deriv nil math-mul calcFunc-sum math-div math-derivative] 6] calcFunc-integ #[(expr) "G\304U\203 \3058 \232\203 A@\207\306\307\310A@!\3058E!\207G\311U\205s \312A@\3058\3048#\312A@\3058\3138#\314\315\316\n\310\3138!\"\316\310\3048!\"\"\3058 \232\203^ \317\202q \306\307\310A@!\3058\3048\3138\257!\"*\207" [expr math-deriv-var upper lower 3 2 math-normalize calcFunc-integ math-derivative 5 math-expr-subst 4 math-add math-sub math-mul 0] 9] calcFunc-if #[(expr) "G\301U\205 \302A@\303\3048!\303\3058!F\207" [expr 4 calcFunc-if math-derivative 2 3] 6] calcFunc-subscr #[(expr) "G\301U\205 \302A@\303\3048!E\207" [expr 3 calcFunc-subscr math-derivative 2] 5]] 4) (defvar math-integ-var '(var X ---)) (defvar math-integ-var-2 '(var Y ---)) (defvar math-integ-vars (list 'f math-integ-var math-integ-var-2)) (defvar math-integ-var-list (list math-integ-var)) (defvar math-integ-var-list-list (list math-integ-var-list)) (defalias 'math-tracing-integral '(macro . #[(&rest parts) "\301\302\303\302\304\305\306B\307BBBBBE\207" [parts and trace-buffer with-current-buffer (goto-char (point-max)) (and (bolp) (insert (make-string (- math-integral-limit math-integ-level) 32) (format "%2d " math-integ-depth) (make-string math-integ-level 32))) insert ((sit-for 0))] 8])) (defvar math-integral-cache nil) (defvar math-integral-cache-state nil) (defalias 'math-integral #[(expr &optional simplify same-as-above) "\306\n\"\fT\3074\203? r4q\210db\210n\2031 \31056Z\311\"\312\313\f\"\3106\311\"\261\210\314\315\n\316\"\317\261\210\320\321!\210)\203\267 4\203w r4q\210db\210n\203h \31056Z\311\"\312\313\f\"\3106\311\"\261\210\322\315A@\316\"\261\210\320\321!\210)A@:\203\202 \323!\2104\203\267 r4q\210db\210n\203\247 \31056Z\311\"\312\313\f\"\3106\311\"\261\210\324\315A@\316\"\325\261\210\320\321!\210)\203\323 A@\307=\204\323 A@\250\203,A@6Y\204,\326\n!\203\336 \327\202,\330\216\32778\331=\203\375 \332\333!\210\312\334\335\n\321\"\"7\336\3377\"\210\203A9\203\340 !\202\341\240\210\202'\n9\203 \340 !\202!\341D\211B:\342=\203\3164\203[r4q\210db\210n\203S\31056Z\311\"\312\313\f\"\3106\311\"\261\210\343c\210\320\321!\210)\344\n!\211\n\232\203\2304\203\222r4q\210db\210n\203\212\31056Z\311\"\312\313\f\"\3106\311\"\261\210\345c\210\320\321!\210)\346\n!\202\3124\203\305r4q\210db\210n\203\275\31056Z\311\"\312\313\f\"\3106\311\"\261\210\347c\210\320\321!\210)\350 \351\352#\202\346\n!\211\204:\351=\204\344\n!\211\n\232\2044\203r4q\210db\210n\203\f\31056Z\311\"\312\313\f\"\3106\311\"\261\210\353\354\261\210\320\321!\210)\350 \351\352#))8\331=\203+\336\3377\"\210)\355 A@!\203? A@\321H\202. A@\356>\203S A\357\240\210\360\361 E\202] A@:\205] A@4\203\226r4q\210db\210n\203\203\31056Z\311\"\312\313\f\"\3106\311\"\261\210\362\315\n\316\"\363\315 \316\"\325\261\210\320\321!\210) ,\207" [math-cur-record simp expr math-integral-cache math-integ-depth val assoc cancelled make-string 32 format "%2d " "Integrating " math-format-value 1000 "...\n" sit-for 0 "Found " math-replace-integral-parts " => " "\n" math-integral-contains-parts nil #[nil "A \206 \n\204 \204 \f\202 \305\240\207" [math-cur-record val math-enable-subst math-any-substs math-integ-level cancelled] 2] lots calc-set-command-flag clear-message "Working... Integrating %s" math-format-flat-expr message "%s" vector busy yes "Simplifying..." math-simplify " no change\n" math-do-integral " simplified\n" math-integral no t "Trying again after " "simplification...\n" vectorp (parts parts2) parts2 var PARTS "Integral of " " is " trace-buffer math-integral-limit math-integ-level math-integ-msg calc-display-working-message same-as-above simplify] 7]) (defalias 'math-integral-contains-parts #[(expr) "\211:?\206\f @\302>)\203$ \242\303=\2053 A@\304=\2053 \3058<\207A\211\2032 \306@!\203$ \207" [expr a (bigpos bigneg frac float cplx polar hms date mod var) var PARTS 2 math-integral-contains-parts] 3]) (defalias 'math-replace-integral-parts #[(expr) "\211:?\206\f @\303>)\206b A\211\205b @:\203 @@\304=\203Z @A@\305=\203 \306@8:\203 \306@8A@<\203R \306@8A@\240\210\307\310B!\210\202 \nA\311\240\210\202 \307@!\210\202 \207" [expr a math-cur-record (bigpos bigneg frac float cplx polar hms date mod var) var PARTS 2 math-replace-integral-parts foo cancelled] 4]) #@58 Non-nil means that a linear substitution has been tried. (defvar math-linear-subst-tried t (#$ . 19722)) (defalias 'math-do-integral #[(expr) "\306\211\211\307\f\"\204 \310\f\"\202 \f\232\203# \311\312!\313\"\202 @\314=\203E \315A@!\211\203#\315\3138!\211\203#\316 \"\202 @\317=\203g \315A@!\211\203#\315\3138!\211\203#\320 \"\202 @\321=\203~ \315A@!\211\203#\322 !\202 @\323=\203\307A@\f\"\204\241 \315\3138!\211\203#\310A@ \"\202 \307\3138\f\"\204\275 \315A@!\211\203#\310 \3138\"\202 A@\242\324>\203\346 \315A@@\310A@A@\3138\"\310\313A@8\3138\"E\325\326#\202 \3138\242\327>\203#\315\3138@\310\3138A@A@\"\310\313\21188A@\"E\325\326#\202 @\330=\2036\307A@\f\"\204>\331A@\332\"\204>\315\311\332\3138\"!\211\203#\310A@ \"\202 \307\3138\f\"\204Z\315A@!\211\203#\311 \3138\"\202 A@\242\323=\203\212\307A@A@\f\"\204\212\315\311\313A@8\3138\"!\211\203#\310 A@A@\"\202 A@\242\323=\203\272\307\313A@8\f\"\204\272\315\311A@A@\3138\"!\211\203#\310 \313A@8\"\202 \3138\242\323=\203\352\307\3138A@\f\"\204\352\315\311A@\313\21188\"!\211\203#\311 \3138A@\"\202 \3138\242\323=\203\307\313\21188\f\"\204\315\311A@\3138A@\"!\211\203#\311 \313\21188\"\202 \3138\242\333=\203#\315\310A@\333\322\3138A@!D\"!\202 @\334=\203#\307A@\f\"\204y\335\3138\f\332#\211\203d\311\310 A@\336\337A@D!\"\"\206\315\333\310\3138\336\337A@D!\"D\325\326#\202 \307\3138\f\"\204#\3138\250\203\244\3138\340W\203\244\315\330\332\341A@\3138[\"E\306\326#\202 \335A@\f\332#\211\203\314\316\3138\332\"\211\203\314\311\341A@\"\310 A@\"\"\206\3138\211:\203 @\342=\206 @\343=?\205 @\344>\203 A@\211:\203\373 @\342=\202\376 \340W)\202\345 !\202 \340W)\203#\315\311\332\341A@\322\3138!\"\"\306\326#\206\335\f\346#\211\203_\340\332@A \203Y\316A\311\310 @\341\f@\"\"@\"\"A A\211\2033@T@\2023A*\206G\313U\203\225@9\203\316@\315N\211\203\316 \203\213 @A@!\211\204\213 A\211\204y\203\316\336!\202\313G\347U\203\316@9\203\316@\350N\211\203\316 \203\304 @A@\3138\"\211\204\304 A\211\204\257\203\316\336!\206\351\f\"\203\352\352\f\"\211\203\352 \232\204\352\315 !\206B\203^\353K\354\fE\306\211CDEF\355\216\353\356M\210\357E\360\332#D\353FM\210DE\232?\205Z\361D\362\"\211C\203OCG\363>\205Z\364\365CA\"G\366G@\326\313G8\206F\367\fD\347G8%)\202Z\361D\370\"?\205ZD-\206\371\372\373@!\"\203\364\373@!\340\306\211HI@JK@T@JA\211J\203\261J@\f\232\203\242I\203\233\326H\202z@I\202z\307J@\f\"\203z\326H\202zI\205\360H?\205\360I\332U\203\307\372\202\314\374\375I\"L\371L\376PK\"\205\357\377K\340\211\224OK\340\224LG\\\306OP!AB)-\206M\340V\203\201N !\206\201O !\211D\205\315D!)+\207" [math-t2 math-t1 math-linear-subst-tried expr math-integ-var a nil math-expr-contains math-mul math-div math-sqr 2 + math-integral math-add - math-sub neg math-neg * (+ -) yes t (+ -) / math-equal-int 1 calcFunc-exp ^ math-is-polynomial math-normalize calcFunc-ln 0 math-pow bigneg bigpos (frac float) math-negp 20 3 math-integral-2 math-ratpoly-p calcFunc-apart calcFunc-integ calcFunc-integtry #[nil "\301M\207" [math-old-integ calcFunc-integ] 2] math-sub-integration math-rewrite (var IntegRules var-IntegRules) math-expr-calls (calcFunc-integsubst) (3 4 5) mapcar #[(x) "\303\304 8\n#\207" [x part math-integ-var math-expr-subst 2] 4] math-integrate-by-substitution calcFunc-integfailed (calcFunc-integtry calcFunc-integfailed) string-match "'" symbol-name format "'%d" "\\('['0-9]*\\|$\\)" intern n accum math-has-rules part res input math-old-integ parts bad which p name prime math-integ-level math-do-integral-methods math-expand-formula] 9]) (defalias 'math-sub-integration #[(expr &rest rest) "\203 \nW\203 @=\203 \306\f!\2020 \307 \f# \nU\204- \310\311\"?\205/ )\2066 \312\fD\207" [rest math-integ-level math-integral-limit math-integ-var expr math-old-integ math-integral apply math-expr-calls calcFunc-integ calcFunc-integfailed res] 4]) (defalias 'math-do-integral-methods #[(math-integ-expr) "\306\307!\206t\310!\206t\311!\211\211\2032 \f@@\312>\2032 \f@A@ \232\2032 \fA\211\204 \f)\204P \313!\203D \314\315\"\206t\316\317\320 \321\"D\"\206t \211\203n \f@@\322>\203n \f@A@ \232\203n \fA\211\204V \f)\204\214 \313!\203\200 \314\315\"\206t\316\323\320 \321\"D\"\206t \306\"\f\203\274 \f@ \232\204\265 \f@@\324=\203\274 \325\f@\211#A@ \321#\211\"\203\274 \fA\211\204\225 \f?\205\303 \")\203q\"AA\203i\326\321\"8!\203\327\330\321\"8!!$\320\"A@\331\332$\"\"%\327\333\"@\334%!\"!&\316\335\336\333\331$ \"%\"&\"D\"+\202n\327\321\"8!$\320\"A@\331\321$\"\"%\337\"@\334%!\"'\326'!\203Q\316\340\336\333\331$ \"%\"\327\330'!!\"D\"\202e\316\341\336\333\331$ \"%\"\327'!\"D\"+\202n\316#\"\206t\314!*\207" [math-integ-var-list-list rat-in math-so-far math-integ-expr p math-integ-var nil math-integ-try-linear-substitutions math-integ-try-substitutions math-expr-rational-in (calcFunc-sin calcFunc-cos calcFunc-tan calcFunc-sec calcFunc-csc calcFunc-cot) math-integ-parts-easy math-integ-try-parts t math-integrate-by-good-substitution calcFunc-tan math-div 2 (calcFunc-sinh calcFunc-cosh calcFunc-tanh calcFunc-sech calcFunc-csch calcFunc-coth calcFunc-exp) calcFunc-tanh calcFunc-sqrt math-is-polynomial math-guess-if-neg math-sqrt math-neg math-mul -2 math-add math-sqr calcFunc-arcsin math-div-thru math-sub calcFunc-arccosh calcFunc-arcsinh math-t1 math-t2 c d a aa] 9]) (defalias 'math-integ-parts-easy #[(expr) "\211:?\206\f @\302>)\203 \303\207@\304>\203' \305A@!\205_ \305\3068!\207@\307=\203<