login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Edit detail for NumericalQuadrature revision 1 of 3

1 2 3
Editor: Bill Page
Time: 2015/06/02 20:48:25 GMT+0
Note:

changed:
-
\begin{axiom}
)sh NumericalQuadrature
\end{axiom}

\begin{axiom}
f(x) == sin(x)
aromberg(f, -%pi, %pi, 0.0001, 0.001, 2, 5, 20)
\end{axiom}


fricas
)sh NumericalQuadrature
NumericalQuadrature is a package constructor Abbreviation for NumericalQuadrature is NUMQUAD This constructor is exposed in this frame. ------------------------------- Operations -------------------------------- aromberg : ((Float -> Float),Float,Float,Float,Float,Integer,Integer,Integer) -> Record(value: Float,error: Float,totalpts: Integer,success: Boolean) asimpson : ((Float -> Float),Float,Float,Float,Float,Integer,Integer,Integer) -> Record(value: Float,error: Float,totalpts: Integer,success: Boolean) atrapezoidal : ((Float -> Float),Float,Float,Float,Float,Integer,Integer,Integer) -> Record(value: Float,error: Float,totalpts: Integer,success: Boolean) romberg : ((Float -> Float),Float,Float,Float,Float,Integer,Integer) -> Record(value: Float,error: Float,totalpts: Integer,success: Boolean) rombergo : ((Float -> Float),Float,Float,Float,Float,Integer,Integer) -> Record(value: Float,error: Float,totalpts: Integer,success: Boolean) simpson : ((Float -> Float),Float,Float,Float,Float,Integer,Integer) -> Record(value: Float,error: Float,totalpts: Integer,success: Boolean) simpsono : ((Float -> Float),Float,Float,Float,Float,Integer,Integer) -> Record(value: Float,error: Float,totalpts: Integer,success: Boolean) trapezoidal : ((Float -> Float),Float,Float,Float,Float,Integer,Integer) -> Record(value: Float,error: Float,totalpts: Integer,success: Boolean) trapezoidalo : ((Float -> Float),Float,Float,Float,Float,Integer,Integer) -> Record(value: Float,error: Float,totalpts: Integer,success: Boolean)

fricas
f(x) == sin(x)
Type: Void
fricas
aromberg(f, -%pi, %pi, 0.0001, 0.001, 2, 5, 20)
fricas
Compiling function f with type Float -> Float

\label{eq1}\begin{array}{@{}l}
\displaystyle
\left[{value = -{0.8 E - 20}}, \:{error ={0.1993526932 \_ 47 E - 8}}, \: \right.
\
\
\displaystyle
\left.{totalpts ={161}}, \:{success =  \mbox{\rm true} }\right] (1)
Type: Record(value: Float,error: Float,totalpts: Integer,success: Boolean)