Anonymous user
Numerical integration/Gauss-Legendre Quadrature: Difference between revisions
Numerical integration/Gauss-Legendre Quadrature (view source)
Revision as of 00:03, 1 November 2013
, 10 years ago→version 2: streamlined the COS subroutine. -- ~~~~
m (→version 2: changed the uppercase E to lowercase e in exponentiated numbers for better readability. -- ~~~~) |
m (→version 2: streamlined the COS subroutine. -- ~~~~) |
||
Line 1,281:
/*──────────────────────────────────COS subroutine──────────────────────*/
cos: procedure; arg x; x=r2r(x); a=abs(x); numeric fuzz min(9,digits()-9)
return .sinCos(1,1,-1)
.sinCos: parse arg z 1 p,_,i; x=x*x
|