<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<br>
<p>Hi,</p>
<p>For numerics.scm, these seem useful. Most of them I can evaluate, but the four polynomials (xxx) I cannot seem to figure what it wants. Wondering if anyone might have success or ideas about those guys?</p>
<p><br>
</p>
<p>Thank You,</p>
<p>Jim<br>
</p>
<p>(load "snd-16/numerics.scm")<br>
</p>
<div>(factorial 6) -> 720<br>
(binomial 4 2) -> 6<br>
(n-choose-k 10 2) ->45<br>
(plgndr 6 .2 -1) ->2.261952<br>
(legendre-polynomial 1 4);XXX -><span> argument 1, #f, is boolean but should be a number</span><br>
(legendre 3 4) ->154.0<br>
(gegenbauer 3 4) -> <span>0.5625693058216614</span><br>
(chebyshev-polynomial 2 4) ;XXX -><span> argument 1, #f, is boolean but should be a number</span><br>
(chebyshev 2 4) -> 31.0<br>
hermite-polynomial 1 3) ;XXX -><span> argument 1, #f, is boolean but should be a number</span><br>
(hermite 1 3) ->6.0<br>
(laguerre-polynomial 3 1) ;XXX -><span> argument 1, #f, is boolean but should be a number</span><br>
(laguerre 1 4 ) -> -3.0<br>
(Si 10)-><span>1.658347864640153</span><br>
(Ci 10)-><span>-0.04545628800337046</span><br>
(sin-m*pi/n 1 9) -><span>(let ((ex (sqrt 3/4))) (/ (- (expt (+ (sqrt (- 1 (* ex ex))) (* 0+1i ex)) (/ 1 3)) (expt (- (sqrt (- 1 (* ex ex))) (* 0+1i ex)) (/ 1 3))) 0+2i))</span><br>
(show-digits-of-pi-starting-at-digit 2.0)-><br>
<div> position = 2.000000e+00<br>
fraction = 1.247719318987069<br>
hex digits = "3F6A8885A3 "<br>
" position = 2.000000e+00<br>
fraction = 1.247719318987069<br>
hex digits = \"3F6A8885A3 \"<br>
"</div>
<br>
</div>
<br>
</div>
</body>
</html>